Pull Request已成功合入, 合并人@CANN-robot
(感谢 GRJ_XIDUO 的贡献)变更摘要
本 PR 为文档修正类改动,主要清理分支文档中已废弃或不存在的接口用法,并纠正原子操作分类与样例说明中的错误。文档侧删除了中英文 API 选型、C API 贡献指南和代码风格文档中关于 _sync 同步接口的失效说明与示例,将 Reg 矢量计算示例中的 MASK_PATTERN_ALL、asc_adds、asc_muls 替换为 PAT_ALL、asc_add_scalar、asc_mul_scalar,并修正 C API 贡献指南中的接口声明路径与调用模式描述。原子操作部分将 SetStoreAtomicConfig、GetStoreAtomicConfig 及其对应 C API 归入标量原子操作,补充标量原子操作与数据搬运随路原子操作的差异,并为 set_atomic_deterministic_computation 样例补充 Ascend 950PR/Ascend 950DT 支持说明。此外修正 data_copy_gm2l1 中英文样例文档,将 asc_set_l0c2gm_config 与 quant_pre 更正为样例实际使用的 asc_set_l0c_copy_config 与 quant_pre_addr。
主要改动
- 移除
_sync同步接口的失效说明与示例: 删除中英文 API 选型、C API 贡献指南和代码风格文档中关于_sync同步接口的描述及示例,避免文档继续引用已废弃接口。 - 替换 Reg 矢量计算示例中的接口名: 将示例中的
MASK_PATTERN_ALL、asc_adds、asc_muls分别更正为当前有效的PAT_ALL、asc_add_scalar、asc_mul_scalar。 - 修正原子操作分类与差异说明: 把
SetStoreAtomicConfig、GetStoreAtomicConfig及对应 C API 归入标量原子操作,并补充标量原子操作与数据搬运随路原子操作之间的差异说明。 - 补充样例支持范围: 为
set_atomic_deterministic_computation样例增加对 Ascend 950PR/Ascend 950DT 的支持说明。 - 更正
data_copy_gm2l1样例文档中的接口与变量名: 将asc_set_l0c2gm_config和quant_pre更正为样例实际使用的asc_set_l0c_copy_config和quant_pre_addr;同时修正 C API 贡献指南中的接口声明路径与调用模式描述。


🤖 本次改动均为数据 / 生成 / 二进制文件(如测试用例、锁文件、媒体资源),没有可审查的代码逻辑,已跳过 AI 代码审查。


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 |
|---|---|---|
| docs | ✅ munanhw, wuyang_hw (2/2) | ✅ munanhw (1/1) |
| examples | ✅ munanhw, wuyang_hw (2/2) | ✅ munanhw (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
GRJ_XIDUO, thanks for your pull request. All authors of the commits have signed the CLA. 👍


compile


| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


The following users do not have permission to comment /lgtm or /approve on any module in this PR:
/approve: wuyang_hw


描述
分支文档中已废弃或不存在接口的错误使用:
_sync同步接口的失效说明及示例。MASK_PATTERN_ALL、asc_adds和asc_muls替换为当前有效的PAT_ALL、asc_add_scalar和asc_mul_scalar。修复原子操作分类和样例支持范围:
SetStoreAtomicConfig、GetStoreAtomicConfig及对应C API归入标量原子操作,并补充标量原子操作与数据搬运随路原子操作的差异。set_atomic_deterministic_computation样例对Ascend 950PR/Ascend 950DT的支持说明。修复
data_copy_gm2l1中英文样例文档,将错误的asc_set_l0c2gm_config和quant_pre更正为样例实际使用的asc_set_l0c_copy_config和quant_pre_addr。关联的Issue
https://gitcode.com/cann/asc-devkit/issues/1812
测试
文档更新
类型标签