Pull Request已成功合入, 合并人@CANN-robot
(感谢 zhang-wenbo-beat 的贡献)变更摘要
本 PR 为 dav_9201 / arch35 家族的 ascend960dt(Ascend960DT_968B7)芯片新增编译支持。改动集中在构建脚本与单测桩:build.sh 的 SUPPORT_COMPUTE_UNIT_SHORT 补充 ascend960dt,build_env.sh 的 SOC_MAP 增加对应 SoC 映射,tests/ut/op_api/stub/opdev/platform.h 的 SocVersion 枚举增加 ASCEND960DT,使该芯片可被 --soc=ascend960dt 识别并纳入编译与单测路径。
主要改动
- 编译目标支持
ascend960dt:build.sh在SUPPORT_COMPUTE_UNIT_SHORT数组中新增ascend960dt,使--soc=ascend960dt能被识别并纳入编译单元。 - SoC 映射新增
Ascend960DT:scripts/kernel/binary_script/build_env.sh的SOC_MAP增加[Ascend960DT]="Ascend960DT_968B7",建立该芯片名到具体型号的映射。 - 单测桩枚举扩展:
tests/ut/op_api/stub/opdev/platform.h的SocVersion枚举新增ASCEND960DT,供单测侧识别该 SoC 版本。
🧩 本次 Review 已使用自定义 Skill:


Hi @zhang-wenbo-beat, welcome to submitting your first PR to ops-ras!
PR Merge Steps
1. CLA Signing
If the current PR label includes cann-cla/yes, it means you have signed the CLA and can proceed to the next step. If the label includes cann-cla/no, please sign the CLA first. If you have any questions, please refer to the FAQ.
2. CI Check
Please comment /compile to trigger the CI pipeline check. If the CI run is successful, the PR will be tagged with ci-pipeline-passed and you can proceed to the next step. If the CI run fails, the PR will be tagged with ci-pipeline-failed, please check the CI logs to fix the issues in the PR. If you have any questions, please refer to the FAQ.
3. Code Review
After CI passes, please refer to the PR Approval Progress and proactively @ the committers in the table to review the code. After approval, committers will comment /lgtm and /approve. Once the lgtm and approved labels are successfully added, the PR will be merged automatically.




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.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-cann/ops-ras | ✅ 柳宗谷, yue-ma (2/2) | ✅ 柳宗谷 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
zhang-wenbo-beat, thanks for your pull request. All authors of the commits have signed the CLA. 👍


compile


流水线任务触发成功
任务链接 [6ff2237ad75b49bb8a057121f9827451][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| PreSmoke_ATK_Test_A2 | ✅ SUCCESS | >>>>> |
[2026-10-15 15:52:54] CI执行结束


流水线任务触发成功
任务链接 [aa5b56f554c94674be276820f759ba38][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_mobile_station | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_single | ✅ SUCCESS | >>>>> | >>>>> |
| pre_comment | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_mobile_station_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_single_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| UT_Test_ophost | ✅ SUCCESS | ||
| UT_Test_opapi | ✅ SUCCESS | ||
| API_Check | ✅ SUCCESS | >>>>> |
[2026-10-15 16:03:46] CI执行结束


描述
新增支持 ascend960 芯片编译,共修改 4 处:
关联的Issue
关联Issue #106
测试
文档更新
无
类型标签