已合并
llt 适配MC62短名改为mc62 #33
qixingkai创建于 6月24日
llt 适配MC62短名改为mc62 #33
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 qixingkai 的贡献)6月24日 添加了label:cann-cla/yes
CANN-robot
6月24日 评论:
6月24日 评论:
Thanks for your pull-request.
The full list of commands accepted by me can be found at here。
You can get sig-info at here
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-cann/atvc | ✅ wangxiaozhi, wulinyu (2/2) | ✅ wangxiaozhi (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
qixingkai, thanks for your pull request. All authors of the commits have signed the CLA. 👍


qixingkai
6月24日 评论:
6月24日 评论:
/compile


qixingkai
6月24日 评论:
6月24日 评论:
/compile


CANN-robot
6月24日 评论:
6月24日 评论:
流水线 PR-pipeline_cann_atvc#64 [ commitID:82b997cb ] 已终止运行


CANN-robot
6月24日 评论:
6月24日 评论:
流水线 PR-pipeline_cann_atvc#65 [ commitID:fc69469e ] 运行失败


qixingkai
6月24日 评论:
6月24日 评论:
/compile


CANN-robot
6月24日 评论:
6月24日 评论:
流水线 PR-pipeline_cann_atvc#66 [ commitID:fc69469e ] 运行失败


songxiujing
6月24日 评论:
6月24日 评论:
compile


qixingkai
6月24日 评论:
6月24日 评论:
/compile


CANN-robot
6月24日 评论:
6月24日 评论:
流水线 PR-pipeline_cann_atvc#67 [ commitID:fc69469e ] 已终止运行


songxiujing
6月24日 评论:
6月24日 评论:
compile


CANN-robot
6月24日 评论:
6月24日 评论:
流水线 PR-pipeline_cann_atvc#68 [ commitID:fc69469e ] 已终止运行


atomgit-bot
6月24日 评论:
6月24日 评论:
变更摘要
本次 PR 将 platform_stub.cpp 中 SocVersion 映射表里硬编码的芯片短名字符串由 "MC62CM12A" 修改为 "MC62",以适配 MC62 芯片的短名规范。该修改位于 PlatformAscendC::SocVersionMap 函数的 convertMap 静态映射表中,改动仅涉及字符串键值,不影响枚举值 SocVersion::MC62CM12A 及上层调用逻辑。
主要改动
- 芯片短名字符串修正: 在
test/ut/common/platform_stub.cpp第 387 行的convertMap中,将映射键从"MC62CM12A"改为"MC62",使短名与 MC62 芯片的实际命名保持一致。 - 影响范围: 仅影响
PlatformAscendC::SocVersionMap函数中通过字符串查找SocVersion的逻辑,单元测试或其他代码中若以"MC62"作为输入查询 SoC 版本,将能正确匹配到SocVersion::MC62CM12A。


不准确?
atomgit-bot
6月24日 评论:
6月24日 评论:
CANN-robot
6月24日 评论:
6月24日 评论:
流水线 PR-pipeline_cann_atvc#69 [ commitID:fc69469e ] 运行失败


songxiujing
6月24日 评论:
6月24日 评论:
compile


6月24日 添加了label:ci-pipeline-running
CANN-robot
6月24日 评论:
6月24日 评论:
流水线任务触发成功
任务链接 [ed0d56f73a2f4bd4b4917bb010891312][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| codecheck | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ SUCCESS | >>>>> | |
| Check_Pr | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| codecheck_codestyle | ✅ SUCCESS | >>>>> | |
| precommit | ✅ SUCCESS | >>>>> | |
| pre_comment | ✅ SUCCESS | >>>>> | |
| UT_Test | ✅ SUCCESS |
[2026-06-24 17:44:33] CI执行结束


6月24日 删除了label:ci-pipeline-running
6月24日 添加了label:ci-pipeline-passed
CANN-robot
6月24日 评论:
6月24日 评论:
流水线 PR-pipeline_cann_atvc#70 [ commitID:fc69469e ] 已完成


6月24日 关联了issue:[Question|问题咨询]: 项目测试代码存在 bug:test/ut/common/platform_stub.cpp 中硬编码的 `MC62CM12A` 在当前 CANN 版本中不存在,导致测试编译失败,项目代码与最新 CANN 版本不兼容
6月24日 关联了issue:[Question|问题咨询]: 项目测试代码存在 bug:test/ut/common/platform_stub.cpp 中硬编码的 `MC62CM12A` 在当前 CANN 版本中不存在,导致测试编译失败,项目代码与最新 CANN 版本不兼容
6月24日 修改标题为 “llt 适配MC62短名改为mc62”,原标题为“llt 适配MC62芯片短名改为mc62”
6月24日 修改了pull request 的描述
wangxiaozhi
6月25日 评论:
6月25日 评论:
/approve


6月25日 添加了label:lgtmapproved
6月25日 合入了pull request
将 platform_stub.cpp 中硬编码的短名 MC62CM12A 改为 MC62。