| update printf/assert/dump example Co-authored-by: changxianyu<changxianyu@hisilicon.com> # message auto-generated for no-merge-commit merge: !2419 merge asc_example into master update printf/assert/dump example Created-by: changxianyu Commit-by: changxianyu Merged-by: cann-robot Description: ## 描述 更新01_utilities路径下的样例,简化样例实现,直观展示调测接口的使用方法 ## 关联的Issue [#720](https://gitcode.com/cann/asc-devkit/issues/720) ## 测试 本地验证功能精度正常 ## 文档更新 更新printf/assert/dump路径下的README文档 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!2419 | 3 个月前 |
| update printf/assert/dump example Co-authored-by: changxianyu<changxianyu@hisilicon.com> # message auto-generated for no-merge-commit merge: !2419 merge asc_example into master update printf/assert/dump example Created-by: changxianyu Commit-by: changxianyu Merged-by: cann-robot Description: ## 描述 更新01_utilities路径下的样例,简化样例实现,直观展示调测接口的使用方法 ## 关联的Issue [#720](https://gitcode.com/cann/asc-devkit/issues/720) ## 测试 本地验证功能精度正常 ## 文档更新 更新printf/assert/dump路径下的README文档 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!2419 | 3 个月前 |
| fix example readme warning Co-authored-by: changxianyu<changxianyu@hisilicon.com> # message auto-generated for no-merge-commit merge: !3333 merge asc_example into master fix example readme warning Created-by: changxianyu Commit-by: changxianyu Merged-by: cann-robot Description: ## 描述 修正样例 README 中的接口名称、核函数名、参数说明、编译选项、术语表述和链接指向。 清理样例源码中的未使用变量和不可达代码,补齐异常路径资源释放。 修正数据搬运、矩阵计算、Reg 编程、工具能力等样例中与源码不一致的描述。 对部分场景参数、shape、padding、量化模式、仿真/调试说明进行一致性校准。 确保仅处理表格中已接受的待处理项,未修改未接受条目。 ## 关联的Issue ## 测试 本地验证功能/精度正常 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3333 | 3 个月前 |
| 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 个月前 |
| 修改核函数调用 <<<..., nullptr, ...>>> 时,nullptr参数改为0 Co-authored-by: ruanyy<ruanyingyang@h-partners.com> # message auto-generated for no-merge-commit merge: !3845 merge master into master 修改核函数调用 <<<..., nullptr, ...>>> 时,nullptr参数改为0 Created-by: ruanyy Commit-by: ruanyy Merged-by: cann-robot Description: ## 描述 修改核函数调用 <<<..., nullptr, ...>>> 时,nullptr参数改为0 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [x] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3845 | 2 个月前 |
| Format according to clang-format rules Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3282 merge update_clang_format into master Format according to clang-format rules Created-by: zhangyujia77 Commit-by: zhangyujia77 Merged-by: cann-robot Description: ## 描述 本 PR 更新 clang-format 的 pre-commit 检查范围,并对新增纳入范围的样例代码执行一次全量格式化。 主要改动: - 调整 .pre-commit-config.yaml 中 clang-format 的文件匹配范围。 - 对 examples/ 下当前纳入 clang-format 范围的 C/C++/ASC 代码执行全量格式化。 - 对 .agent/tests/skills/asc-api-ut-gen/golden 下的 C++ golden 文件执行格式化。 - 同步调整 asc-api-ut-gen 的生成模板,使 AIV/AIC 生成结果直接匹配格式化后的 golden,避免只改 golden 导致生成器测试 diff 失败。 - 修正 asc-api-ut-gen 生成模板中的 copyright 头格式和参数化 gtest 生成格式。 ## 关联的Issue 无 ## 测试 已执行: - pre-commit run clang-format --all-files:通过 ## 文档更新 无 ## 类型标签 - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 代码格式化 See merge request: cann/asc-devkit!3282 | 3 个月前 |