已合并
Add mstx dotting to obtain PTA memory pool data #18242
czy6创建于 2025年2月23日
Add mstx dotting to obtain PTA memory pool data #18242
已合并
czy6创建于 2025年2月23日
refs/pull/18242/head合入到master
czy6
czy6
2025年2月23日
  1. Add mstx dotting to obtain PTA memory pool data

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

What does this PR do / why do we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewers:

**性能测试
测试环境 cann8.0.RC1 ascend910B
测试脚本 MindSpeed-LLM/pretrain_llama2_7b
测试3到7个Step训练总耗时,测试5次,单位(ns)

改动前 906441300 893689450 921763440 907073660 893668990
改动后 893643760 906807580 893651780 917079230 906839350

在正常浮动范围内,基本没影响

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

compile

likedislike
atlasaccount1atlasaccount1
2025年2月23日 添加了 &nbsp; ci-pipeline-running 标签
atlasaccount1
atlasaccount1
2025年2月23日 评论:

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

likedislike
atlasaccount1atlasaccount1
2025年2月23日 移除了 &nbsp; ci-pipeline-running 标签
此处折叠了57条消息 查看更多
WangJie
WangJie成员
2025年2月27日 评论:

/lgtm

likedislike
chenhao_1209成员
2025年2月27日 评论:

/approve

likedislike
czy6
czy62025年2月28日进行代码检视1
third_party/mstx/ms_tools_ext.h
@@ -29,2 +82,3 @@
82+ACL_FUNC_VISIBILITY void mstxDomainMarkA(mstxDomainHandle_t handle, const char* message, aclrtStream stream);
2983 
30-ACL_FUNC_VISIBILITY mstxRangeId mstxDomainRangeStartA(mstxDomainhandle_t handle, const char* message,
84+ACL_FUNC_VISIBILITY mstxRangeId mstxDomainRangeStartA(mstxDomainHandle_t handle, const char* message,
czy6
czy62025年2月28日评论:

同版本修改,不存在兼容性问题

likedislike
AAtomGit-Bot
2025年2月28日 添加了 &nbsp; approved 标签
AAtomGit-Bot
2025年2月28日 合并了Pull Request(通过 API 合并)