已合并
[PROF]fix profiler report npu mem err in multi thread #14621
mei-feiyao创建于 2024年9月14日
[PROF]fix profiler report npu mem err in multi thread #14621
已合并
mei-feiyao创建于 2024年9月14日
refs/pull/14621/head合入到master
mei-feiyao
mei-feiyao成员
2024年9月14日

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/kind bug
/kind task
/kind feature
bug

What does this PR do / why do we need it:
修复多线程申请/释放内存池内存时,因为线程竞争导致进程异常退出的问题。修改方案:
report接口移回free和malloc接口,由锁做线程管理;
free和malloc接口增加入参,区分内外置alloctor

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewers:

likedislike
Pull Request已成功合入, 合并人@
(感谢 mei-feiyao 的贡献)
AAtomGit-Bot
2024年9月14日 添加了 &nbsp; ascend-cla/yes 标签
mei-feiyao
mei-feiyao成员
2024年9月14日 评论:

compile

likedislike
atlasaccount1
atlasaccount1
2024年9月14日 评论:

流水线任务触发成功,正在执行,请稍候。 任务链接[d59482c61c76465dbbe36813193fea5f]

likedislike
atlasaccount1atlasaccount1
2024年9月14日 添加了 &nbsp; ci-pipeline-running 标签
atlasaccount1
atlasaccount1
2024年9月14日 评论:


SCA扫描: success

# check type result report
1 sca success >>>

likedislike
此处折叠了57条消息 查看更多
atlasaccount1
atlasaccount1
2024年9月14日 评论:


SCA扫描: success

# check type result report
1 sca success >>>

likedislike
atlasaccount1
atlasaccount1
2024年9月14日 评论:


防投毒扫描: pass

# check type result report
1 anti poison pass >>>

likedislike
atlasaccount1
atlasaccount1
2024年9月14日 评论:


静态检查: pass

# check type result report
1 codecheck pass >>>

likedislike
atlasaccount1
atlasaccount1
2024年9月14日 评论:
任务名称 状态 详情 日志 出包
codecheck SUCCESS >>> N/A
codecheck_scan SUCCESS >>> N/A
checkerro SUCCESS >>> N/A
codecheck_ftd SUCCESS >>> N/A
jump_url SUCCESS >>> N/A
Build_X86 SUCCESS >>> >>>
Build_ARM SUCCESS >>> >>>
Build_libtorch SUCCESS >>> >>>
dist_test_or_not 未执行分布式用例 N/A N/A
UT_X86_01 SUCCESS >>> N/A
UT_X86_02 SUCCESS >>> N/A
跳过测试用例  
UT失败过  
流水线链接   点此跳转
likedislike
chenhao_1209成员
2024年9月14日 评论:

/approve

likedislike