Pull Request已成功合入, 合并人@CANN-robot
(感谢 陈思 的贡献)变更摘要
本次 PR 主要将 ops-nn 与 ops-cv 仓库的文档更新同步到 ops-math 仓库,并根据 ops-math 实际实现进行仓别适配,避免照搬不适用于 math 仓的命令、目标和示例。改动覆盖贡献指南、快速入门示例、编译参数、Spack 配置以及跨平台开发方案等 9 个文件,同时修复了多处文档中的代码错误和格式问题。
主要改动
- 同步贡献指南流程说明:更新
How_to_contribute.md、ISSUE.md和README.md,修订 Issue 提交流程、SIG 评审机制、交付件要求及 PR/CI 流程描述,使其与当前开发流程一致。 - 按 ops-math 实际源码修正 QUICKSTART:根据
AddExample的实际实现同步QuickStart.md中的示例代码、输入数据 shape、变量名及输出格式,并移除 ops-nn 特有的aclnnAddExampleTest和 ops-cv 特有的lcann_cv_static,保留 math 仓 Simulator 场景所需参数。 - 修复 TilingFunc 返回值与编译命令格式:修复
TilingFunc非 void 函数缺少成功状态返回的问题,以及编译命令中可选参数方括号导致命令无法直接执行的问题。 - 修正 AddExample 调用示例与 Ascend 950 说明:将示例中误用的 mean 算子输出修正为 Add 算子输出,并更新 Ascend 950 相关编译参数及产品支持说明。
- 修复 Spack 配置与跨平台迁移文档:在
Spack_conf.md中修复 root 管理员配置误用 user scope 的问题,在跨平台开发方案.md中补齐 Gather 示例的变量来源、作用域及数据搬运接口说明。


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 |
|---|---|---|
| */*/README.md | ✅ 陈娇, wangrui_ (2/2) | ✅ 陈娇 (1/1) |
| repo-cann/ops-math | ✅ 宋恺, wangrui_ (2/2) | ✅ 宋恺 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
chensi79, thanks for your pull request. All authors of the commits have signed the CLA. 👍


compile


流水线任务触发成功
任务链接 [63b24f0f05c84c01b6de2abea783e962][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| pre_comment | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86_experimental_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_experimental_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_single_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor_910b | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor_910c | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor_950 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_A5_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_A5_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_single | ✅ SUCCESS | >>>>> | >>>>> |
[2026-07-30 21:08:53] CI执行结束


流水线任务触发成功
任务链接 [d2cbf716b7924c77aa06322ac8c0290e][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| SCA | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ SUCCESS | >>>>> | |
| codecheck_Pr | ✅ SUCCESS | ||
| StaticCheck_codespell | ✅ SUCCESS | ||
| StaticCheck_link_validity | ✅ SUCCESS | ||
| StaticCheck_resource_existence | ✅ SUCCESS | ||
| StaticCheck_tag_closed | ✅ SUCCESS | ||
| StaticCheck_markdownlint | ✅ SUCCESS | ||
| codecheck_precommit | ✅ SUCCESS | >>>>> |
[2026-07-30 21:07:36] CI执行结束


compile


流水线任务触发成功
任务链接 [d87d65f4cb1947249220308f418ad5d5][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| pre_comment | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_mobile_station_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_experimental_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_experimental_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_single_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor_910b | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor_910c | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor_950 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_A5_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_A5_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_mobile_station_9030_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_single | ✅ SUCCESS | >>>>> | >>>>> |
| UT_Test | ✅ SUCCESS | ||
| UT_Test_experimental | ✅ SUCCESS | ||
| UT_Test_kernel | ✅ SUCCESS | ||
| PreSmoke_A900 | ✅ SUCCESS | >>>>> | |
| API_Check | ✅ SUCCESS | >>>>> | |
| PreSmoke_ATK_Test_A2 | ✅ SUCCESS | >>>>> | |
| UT_Test_harmony-infer-chs-math | ✅ SUCCESS | ||
| UT_Test_harmony-infer-cpro-math | ✅ SUCCESS |
[2026-07-30 21:19:57] CI执行结束


流水线任务触发成功
任务链接 [e2a79f435b7e40d2854578292279b50b][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| SCA | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ SUCCESS | >>>>> | |
| codecheck_Pr | ✅ SUCCESS | ||
| StaticCheck_codespell | ✅ SUCCESS | ||
| StaticCheck_link_validity | ✅ SUCCESS | ||
| StaticCheck_resource_existence | ✅ SUCCESS | ||
| StaticCheck_tag_closed | ✅ SUCCESS | ||
| StaticCheck_markdownlint | ✅ SUCCESS | ||
| codecheck_precommit | ✅ SUCCESS | >>>>> |
[2026-07-30 21:11:09] CI执行结束


/approve


描述
同步 ops-nn 与 ops-cv 相关文档更新,并根据 ops-math 仓现有实现做仓别适配,避免直接照抄其他算子仓中不适用于 math 仓的命令、目标和示例。
主要修改:
适配说明:
aclnnAddExampleTest。lcann_cv_static。参考修改:
关联的Issue
无。
文档检测问题:1274、1275、1702、1707、1834、1924。
测试
git diff --check,检查通过。docs/zh/debug/op_debug_prof.md及其他无关工作区改动。文档更新
更新以下文档:
CONTRIBUTING.mddocs/QUICKSTART.mddocs/zh/debug/cann_sim.mddocs/zh/develop/aicore_develop_guide.mddocs/zh/develop/cross_platform_migration_guide.mddocs/zh/install/spack_quick_install.mddocs/zh/invocation/quick_op_invocation.mdexamples/add_example/README.md类型标签