| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
style(examples):: format ASC source files Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3456 merge update_examples_clang_format into master style(examples):: format ASC source files Created-by: zhangyujia77 Commit-by: zhangyujia77 Merged-by: cann-robot Description: ## 描述 本次修改包含两部分: 1. 更新 clang-format 的 pre-commit 配置,将 types_or 覆盖为 [file],避免 .asc 文件被 hook 默认类型过滤跳过,同时继续通过 files 正则限制只处理 C/C++/ASC 后缀。 2. 使用 clang-format 18.1.8 对仓库内 tracked .asc 文件执行统一格式化,覆盖 examples 下的 ASC 示例源码以及 tests/api/simt_api 下的 ASC 测试源码。 ## 关联的Issue 无 ## 测试 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹chore: 代码格式 See merge request: cann/asc-devkit!3456 | 2 个月前 | |
docs: add English translations for examples README files Co-authored-by: DragonBornHD84<huangduo4@hisilicon.com> # message auto-generated for no-merge-commit merge: !3384 merge dev5 into master docs: add English translations for examples README files Created-by: DragonBornHD84 Commit-by: DragonBornHD84 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> docs: add English translations for examples README files - Add 257 new README_en.md translations across examples/ - Update 2 existing translations with latest Chinese changes - Covers 01_simd_cpp_api, 02_simd_c_api, 03_simt_api, 04_aicpu - Excludes 00_introduction directories - Follows Google Developer Style Guide ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3384 | 2 个月前 | |
style(examples):: format ASC source files Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3456 merge update_examples_clang_format into master style(examples):: format ASC source files Created-by: zhangyujia77 Commit-by: zhangyujia77 Merged-by: cann-robot Description: ## 描述 本次修改包含两部分: 1. 更新 clang-format 的 pre-commit 配置,将 types_or 覆盖为 [file],避免 .asc 文件被 hook 默认类型过滤跳过,同时继续通过 files 正则限制只处理 C/C++/ASC 后缀。 2. 使用 clang-format 18.1.8 对仓库内 tracked .asc 文件执行统一格式化,覆盖 examples 下的 ASC 示例源码以及 tests/api/simt_api 下的 ASC 测试源码。 ## 关联的Issue 无 ## 测试 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹chore: 代码格式 See merge request: cann/asc-devkit!3456 | 2 个月前 | |
style(examples):: format ASC source files Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3456 merge update_examples_clang_format into master style(examples):: format ASC source files Created-by: zhangyujia77 Commit-by: zhangyujia77 Merged-by: cann-robot Description: ## 描述 本次修改包含两部分: 1. 更新 clang-format 的 pre-commit 配置,将 types_or 覆盖为 [file],避免 .asc 文件被 hook 默认类型过滤跳过,同时继续通过 files 正则限制只处理 C/C++/ASC 后缀。 2. 使用 clang-format 18.1.8 对仓库内 tracked .asc 文件执行统一格式化,覆盖 examples 下的 ASC 示例源码以及 tests/api/simt_api 下的 ASC 测试源码。 ## 关联的Issue 无 ## 测试 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹chore: 代码格式 See merge request: cann/asc-devkit!3456 | 2 个月前 | |
style(examples):: format ASC source files Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3456 merge update_examples_clang_format into master style(examples):: format ASC source files Created-by: zhangyujia77 Commit-by: zhangyujia77 Merged-by: cann-robot Description: ## 描述 本次修改包含两部分: 1. 更新 clang-format 的 pre-commit 配置,将 types_or 覆盖为 [file],避免 .asc 文件被 hook 默认类型过滤跳过,同时继续通过 files 正则限制只处理 C/C++/ASC 后缀。 2. 使用 clang-format 18.1.8 对仓库内 tracked .asc 文件执行统一格式化,覆盖 examples 下的 ASC 示例源码以及 tests/api/simt_api 下的 ASC 测试源码。 ## 关联的Issue 无 ## 测试 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹chore: 代码格式 See merge request: cann/asc-devkit!3456 | 2 个月前 | |
style(examples):: format ASC source files Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3456 merge update_examples_clang_format into master style(examples):: format ASC source files Created-by: zhangyujia77 Commit-by: zhangyujia77 Merged-by: cann-robot Description: ## 描述 本次修改包含两部分: 1. 更新 clang-format 的 pre-commit 配置,将 types_or 覆盖为 [file],避免 .asc 文件被 hook 默认类型过滤跳过,同时继续通过 files 正则限制只处理 C/C++/ASC 后缀。 2. 使用 clang-format 18.1.8 对仓库内 tracked .asc 文件执行统一格式化,覆盖 examples 下的 ASC 示例源码以及 tests/api/simt_api 下的 ASC 测试源码。 ## 关联的Issue 无 ## 测试 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹chore: 代码格式 See merge request: cann/asc-devkit!3456 | 2 个月前 | |
style(examples):: format ASC source files Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3456 merge update_examples_clang_format into master style(examples):: format ASC source files Created-by: zhangyujia77 Commit-by: zhangyujia77 Merged-by: cann-robot Description: ## 描述 本次修改包含两部分: 1. 更新 clang-format 的 pre-commit 配置,将 types_or 覆盖为 [file],避免 .asc 文件被 hook 默认类型过滤跳过,同时继续通过 files 正则限制只处理 C/C++/ASC 后缀。 2. 使用 clang-format 18.1.8 对仓库内 tracked .asc 文件执行统一格式化,覆盖 examples 下的 ASC 示例源码以及 tests/api/simt_api 下的 ASC 测试源码。 ## 关联的Issue 无 ## 测试 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹chore: 代码格式 See merge request: cann/asc-devkit!3456 | 2 个月前 | |
style(examples):: format ASC source files Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3456 merge update_examples_clang_format into master style(examples):: format ASC source files Created-by: zhangyujia77 Commit-by: zhangyujia77 Merged-by: cann-robot Description: ## 描述 本次修改包含两部分: 1. 更新 clang-format 的 pre-commit 配置,将 types_or 覆盖为 [file],避免 .asc 文件被 hook 默认类型过滤跳过,同时继续通过 files 正则限制只处理 C/C++/ASC 后缀。 2. 使用 clang-format 18.1.8 对仓库内 tracked .asc 文件执行统一格式化,覆盖 examples 下的 ASC 示例源码以及 tests/api/simt_api 下的 ASC 测试源码。 ## 关联的Issue 无 ## 测试 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹chore: 代码格式 See merge request: cann/asc-devkit!3456 | 2 个月前 | |
新增simd log样例 Co-authored-by: DragonBornHD84<huangduo4@hisilicon.com> # message auto-generated for no-merge-commit merge: !2916 merge dev3 into master 新增simd log样例 Created-by: DragonBornHD84 Commit-by: DragonBornHD84 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 新增simd log样例 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [x] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!2916 | 2 个月前 | |
新增simd log样例 Co-authored-by: DragonBornHD84<huangduo4@hisilicon.com> # message auto-generated for no-merge-commit merge: !2916 merge dev3 into master 新增simd log样例 Created-by: DragonBornHD84 Commit-by: DragonBornHD84 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 新增simd log样例 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [x] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!2916 | 2 个月前 | |
新增simd log样例 Co-authored-by: DragonBornHD84<huangduo4@hisilicon.com> # message auto-generated for no-merge-commit merge: !2916 merge dev3 into master 新增simd log样例 Created-by: DragonBornHD84 Commit-by: DragonBornHD84 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 新增simd log样例 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [x] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!2916 | 2 个月前 |
Utilities功能
概述
介绍Ascend C常用调试接口和工具
样例列表
| 目录名称 | 功能描述 | 支持的产品 |
|---|---|---|
| 00_printf | Printf接口打印功能 | Ascend 950PR/Ascend 950DT Atlas A3 训练系列产品/Atlas A3 推理系列产品 Atlas A2 训练系列产品/Atlas A2 推理系列产品 |
| 01_assert | Assert接口异常检测功能 | Ascend 950PR/Ascend 950DT Atlas A3 训练系列产品/Atlas A3 推理系列产品 Atlas A2 训练系列产品/Atlas A2 推理系列产品 |
| 02_dump | Dump数据调测功能 | Ascend 950PR/Ascend 950DT Atlas A3 训练系列产品/Atlas A3 推理系列产品 Atlas A2 训练系列产品/Atlas A2 推理系列产品 |
| 03_clock | Kernel函数执行耗时打印 | Ascend 950PR/Ascend 950DT |
| 04_profiling | 使用Profiling工具采集性能数据 | Ascend 950PR/Ascend 950DT Atlas A3 训练系列产品/Atlas A3 推理系列产品 Atlas A2 训练系列产品/Atlas A2 推理系列产品 |
| 05_sanitizer | Sanitizer调测工具的使用方法 | Atlas A3 训练系列产品/Atlas A3 推理系列产品 Atlas A2 训练系列产品/Atlas A2 推理系列产品 |
| 06_cpu_debug | CPU调测模式 | Ascend 950PR/Ascend 950DT Atlas A2 训练系列产品/Atlas A2 推理系列产品 Atlas A3 训练系列产品/Atlas A3 推理系列产品 |
| 08_simulator | CAmodel仿真与问题分析 | Ascend 950PR/Ascend 950DT Atlas A3 训练系列产品/Atlas A3 推理系列产品 Atlas A2 训练系列产品/Atlas A2 推理系列产品 |
| 09_log | Kernel日志功能(日志打屏/落盘/级别控制) | Ascend 950PR/Ascend 950DT Atlas A3 训练系列产品/Atlas A3 推理系列产品 Atlas A2 训练系列产品/Atlas A2 推理系列产品 |