| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
docs: 按产品名称映射表统一产品名称(样例) Co-authored-by: munanhw<munan@huawei.com> # message auto-generated for no-merge-commit merge: !6571 merge docs/product-name-examples into master docs: 按产品名称映射表统一产品名称(样例) Created-by: munanhw Commit-by: munanhw Merged-by: cann-robot Description: ## 描述 从 #6524 拆分:examples/ 目录下全部样例文档(856 个文件,中英文 README 成对同步修改) 整改规则(依据产品名称映射表): - Ascend 950PR/Ascend 950DT 系列(含衍生/简写/带空格斜杠变体)统一为 Ascend 950PR&950DT系列产品(英文:Ascend 950PR&950DT products) - Atlas A2/A3 训练系列产品与推理系列产品合并为 Atlas A2系列产品 / Atlas A3系列产品(英文:Atlas A2/A3 products) - Atlas 200I/500 A2 推理产品、Atlas 推理/训练系列产品(含 AI Core / Vector Core 场景)去空格 - 同名并列对按合并语义收敛为单一规范名(如 Atlas A3 products/Atlas A3 products -> Atlas A3 products) ## 关联的Issue 无 ## 测试 - 全量改动已在 #6524 上通过完整 CI(compile 流水线 ci-pipeline-passed),本 PR 为其按目录拆分的等价子集 - 旧名称形式残留为 0、叠字残留为 0;图片路径与文件链接未做任何改动 ## 文档更新 本 PR 为文档产品名称整改 ## 类型标签 - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [x] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!6571 | 20 天前 | |
docs: 按产品名称映射表统一产品名称(样例) Co-authored-by: munanhw<munan@huawei.com> # message auto-generated for no-merge-commit merge: !6571 merge docs/product-name-examples into master docs: 按产品名称映射表统一产品名称(样例) Created-by: munanhw Commit-by: munanhw Merged-by: cann-robot Description: ## 描述 从 #6524 拆分:examples/ 目录下全部样例文档(856 个文件,中英文 README 成对同步修改) 整改规则(依据产品名称映射表): - Ascend 950PR/Ascend 950DT 系列(含衍生/简写/带空格斜杠变体)统一为 Ascend 950PR&950DT系列产品(英文:Ascend 950PR&950DT products) - Atlas A2/A3 训练系列产品与推理系列产品合并为 Atlas A2系列产品 / Atlas A3系列产品(英文:Atlas A2/A3 products) - Atlas 200I/500 A2 推理产品、Atlas 推理/训练系列产品(含 AI Core / Vector Core 场景)去空格 - 同名并列对按合并语义收敛为单一规范名(如 Atlas A3 products/Atlas A3 products -> Atlas A3 products) ## 关联的Issue 无 ## 测试 - 全量改动已在 #6524 上通过完整 CI(compile 流水线 ci-pipeline-passed),本 PR 为其按目录拆分的等价子集 - 旧名称形式残留为 0、叠字残留为 0;图片路径与文件链接未做任何改动 ## 文档更新 本 PR 为文档产品名称整改 ## 类型标签 - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [x] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!6571 | 20 天前 | |
docs: 按产品名称映射表统一产品名称(样例) Co-authored-by: munanhw<munan@huawei.com> # message auto-generated for no-merge-commit merge: !6571 merge docs/product-name-examples into master docs: 按产品名称映射表统一产品名称(样例) Created-by: munanhw Commit-by: munanhw Merged-by: cann-robot Description: ## 描述 从 #6524 拆分:examples/ 目录下全部样例文档(856 个文件,中英文 README 成对同步修改) 整改规则(依据产品名称映射表): - Ascend 950PR/Ascend 950DT 系列(含衍生/简写/带空格斜杠变体)统一为 Ascend 950PR&950DT系列产品(英文:Ascend 950PR&950DT products) - Atlas A2/A3 训练系列产品与推理系列产品合并为 Atlas A2系列产品 / Atlas A3系列产品(英文:Atlas A2/A3 products) - Atlas 200I/500 A2 推理产品、Atlas 推理/训练系列产品(含 AI Core / Vector Core 场景)去空格 - 同名并列对按合并语义收敛为单一规范名(如 Atlas A3 products/Atlas A3 products -> Atlas A3 products) ## 关联的Issue 无 ## 测试 - 全量改动已在 #6524 上通过完整 CI(compile 流水线 ci-pipeline-passed),本 PR 为其按目录拆分的等价子集 - 旧名称形式残留为 0、叠字残留为 0;图片路径与文件链接未做任何改动 ## 文档更新 本 PR 为文档产品名称整改 ## 类型标签 - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [x] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!6571 | 20 天前 | |
docs: 按产品名称映射表统一产品名称(样例) Co-authored-by: munanhw<munan@huawei.com> # message auto-generated for no-merge-commit merge: !6571 merge docs/product-name-examples into master docs: 按产品名称映射表统一产品名称(样例) Created-by: munanhw Commit-by: munanhw Merged-by: cann-robot Description: ## 描述 从 #6524 拆分:examples/ 目录下全部样例文档(856 个文件,中英文 README 成对同步修改) 整改规则(依据产品名称映射表): - Ascend 950PR/Ascend 950DT 系列(含衍生/简写/带空格斜杠变体)统一为 Ascend 950PR&950DT系列产品(英文:Ascend 950PR&950DT products) - Atlas A2/A3 训练系列产品与推理系列产品合并为 Atlas A2系列产品 / Atlas A3系列产品(英文:Atlas A2/A3 products) - Atlas 200I/500 A2 推理产品、Atlas 推理/训练系列产品(含 AI Core / Vector Core 场景)去空格 - 同名并列对按合并语义收敛为单一规范名(如 Atlas A3 products/Atlas A3 products -> Atlas A3 products) ## 关联的Issue 无 ## 测试 - 全量改动已在 #6524 上通过完整 CI(compile 流水线 ci-pipeline-passed),本 PR 为其按目录拆分的等价子集 - 旧名称形式残留为 0、叠字残留为 0;图片路径与文件链接未做任何改动 ## 文档更新 本 PR 为文档产品名称整改 ## 类型标签 - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [x] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!6571 | 20 天前 | |
docs: 按产品名称映射表统一产品名称(样例) Co-authored-by: munanhw<munan@huawei.com> # message auto-generated for no-merge-commit merge: !6571 merge docs/product-name-examples into master docs: 按产品名称映射表统一产品名称(样例) Created-by: munanhw Commit-by: munanhw Merged-by: cann-robot Description: ## 描述 从 #6524 拆分:examples/ 目录下全部样例文档(856 个文件,中英文 README 成对同步修改) 整改规则(依据产品名称映射表): - Ascend 950PR/Ascend 950DT 系列(含衍生/简写/带空格斜杠变体)统一为 Ascend 950PR&950DT系列产品(英文:Ascend 950PR&950DT products) - Atlas A2/A3 训练系列产品与推理系列产品合并为 Atlas A2系列产品 / Atlas A3系列产品(英文:Atlas A2/A3 products) - Atlas 200I/500 A2 推理产品、Atlas 推理/训练系列产品(含 AI Core / Vector Core 场景)去空格 - 同名并列对按合并语义收敛为单一规范名(如 Atlas A3 products/Atlas A3 products -> Atlas A3 products) ## 关联的Issue 无 ## 测试 - 全量改动已在 #6524 上通过完整 CI(compile 流水线 ci-pipeline-passed),本 PR 为其按目录拆分的等价子集 - 旧名称形式残留为 0、叠字残留为 0;图片路径与文件链接未做任何改动 ## 文档更新 本 PR 为文档产品名称整改 ## 类型标签 - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [x] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!6571 | 20 天前 | |
docs: 按产品名称映射表统一产品名称(样例) Co-authored-by: munanhw<munan@huawei.com> # message auto-generated for no-merge-commit merge: !6571 merge docs/product-name-examples into master docs: 按产品名称映射表统一产品名称(样例) Created-by: munanhw Commit-by: munanhw Merged-by: cann-robot Description: ## 描述 从 #6524 拆分:examples/ 目录下全部样例文档(856 个文件,中英文 README 成对同步修改) 整改规则(依据产品名称映射表): - Ascend 950PR/Ascend 950DT 系列(含衍生/简写/带空格斜杠变体)统一为 Ascend 950PR&950DT系列产品(英文:Ascend 950PR&950DT products) - Atlas A2/A3 训练系列产品与推理系列产品合并为 Atlas A2系列产品 / Atlas A3系列产品(英文:Atlas A2/A3 products) - Atlas 200I/500 A2 推理产品、Atlas 推理/训练系列产品(含 AI Core / Vector Core 场景)去空格 - 同名并列对按合并语义收敛为单一规范名(如 Atlas A3 products/Atlas A3 products -> Atlas A3 products) ## 关联的Issue 无 ## 测试 - 全量改动已在 #6524 上通过完整 CI(compile 流水线 ci-pipeline-passed),本 PR 为其按目录拆分的等价子集 - 旧名称形式残留为 0、叠字残留为 0;图片路径与文件链接未做任何改动 ## 文档更新 本 PR 为文档产品名称整改 ## 类型标签 - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [x] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!6571 | 20 天前 |
工具类API样例介绍
概述
本路径下包含了与工具相关API的样例。样例基于Ascend C的<<<>>>直调方法,支持main函数和kernel函数在同一个文件中实现。
样例列表
| 目录名称 | 功能描述 | 支持的产品 |
|---|---|---|
| ctrl_spr | 本样例基于SetCtrlSpr、GetCtrlSpr、ResetCtrlSpr接口实现对CTRL寄存器(控制寄存器)的特定比特位的设置、读取和重置,并验证非饱和模式是否正确。 | Ascend 950PR&950DT系列产品 |
| get_ub_size | 本样例展示GetUBSizeInBytes和GetRuntimeUBSize接口使用方法,用于获取用户最大可使用的UB大小。 | Ascend 950PR&950DT系列产品 |
| gm_by_dcache | 本样例介绍经过DCache(Data Cache)从GM地址读取和写入数据。 | Ascend 950PR&950DT系列产品 Atlas A3系列产品 Atlas A2系列产品 |
| gm_by_pass_dcache | 本样例基于ReadGmBypassDCache和WriteGmBypassDCache接口,实现不经过DCache从GM读取和写入数据。 | Ascend 950PR&950DT系列产品 Atlas A3系列产品 Atlas A2系列产品 |