| Files | Last commit | Last update |
|---|---|---|
fix: isolate MC2 task cache symbols Co-authored-by: jiangxinyu3<jiangxinyu3@hisilicon.com> # message auto-generated for no-merge-commit merge: !5061 merge fix/mc2-task-cache-symbol-isolation into master fix: isolate MC2 task cache symbols Created-by: jiangxinyu3 Commit-by: jiangxinyu3 Merged-by: cann-robot Description: ## 描述 修复 MC2 AICPU Task Cache 动态符号被 HCCL 同名初始化、能力探测和 wrapper 抢占的问题。 - 为 MC2 建立私有 Task Cache 函数表,仍通过原始 HCOMM 接口名执行一次性 dlsym。 - 使用 Mc2HcommDeviceDlInit 和 Mc2HcommAicpuTaskCacheDlInit 保证 device 侧初始化进入 asc-devkit 实现。 - capability check 与五个 wrapper 统一读取同一张本地函数表。 - 更新 MC2 Cache 调用点及 UT 注入接口,不修改 tag、digest、span、replay、清理协议或跨仓 ABI。 ## 关联的Issue 无。 ## 测试 - clang-format 18.1.8 --style=file --dry-run --Werror 通过。 - git diff --check 通过。 - 旧冲突 support/wrapper/device-init 符号源码引用检查通过。 - 按要求未执行本地或 SSH 编译,Linux/AArch64 构建及板上用例由后续流水线和服务器验证。 ## 文档更新 无。 ## 类型标签 - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [x] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5061 | 3 months ago | |
扩展pre-commit hooks (第二批目录) Co-authored-by: Water8L<15279328600@163.com> # message auto-generated for no-merge-commit merge: !4183 merge master into master 扩展pre-commit hooks (第二批目录) Created-by: Water8L Commit-by: Water8L Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 在.pre-commit-config.yaml中根据trailing-whitespace和end-of-file-fixer hook,修改tests/api/other impl/matmul + impl/hccl + tests/other tests/api/basic_api + examples/basic_api目录下对应不合规范的文件 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4183 | 4 months ago | |
refactor: move docs content into docs/zh/ subdirectory and update all references Co-authored-by: ai_xin<aixin2@hisilicon.com> # message auto-generated for no-merge-commit merge: !4331 merge master into master refactor: move docs content into docs/zh/ subdirectory and update all references Created-by: ai_xin Commit-by: ai_xin Merged-by: cann-robot Description: ## 描述 docs目录下区分中英文目录 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 docs目录下区分zh/en目录,并修改引用到这些文件的路径。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [x] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4331 | 4 months ago | |
fix: 修复无 Tiling 注册场景下 SK 合并缺失元数据 Co-authored-by: yrz1027<yangruizhi5@huawei.com> # message auto-generated for no-merge-commit merge: !4782 merge fix/sk-no-register-meta-link into master fix: 修复无 Tiling 注册场景下 SK 合并缺失元数据 Created-by: yrz1027 Commit-by: yrz1027 Merged-by: cann-robot Description: ## 描述 启用 super_kernel_sub_combine 且子算子未注册 TilingKey 时,norm 编译流程生成的 Tiling/DFX 元数据对象未传入 SK 合并链接,导致最终 SK 产物缺少对应元数据。 本次修改: - 为 link_sk_norm_combine 增加可选元数据对象路径,并在可重定位链接阶段将其与 SK、norm 和 sk_bind 对象一并合并。 - 在 AscOpCompiler 和 adapter 两套实现中,将 compile_info_origin.tiling_and_dfx_utils_bin_path 传入 SK 合并流程。 - 元数据路径为空时保持原有链接行为。 - 增加两套镜像 UT,覆盖链接命令输入以及无 Tiling 注册场景下元数据路径的传递。 最终表现:无 Tiling 注册的 SK 子算子在 combine 后,生成的 Tiling/DFX 元数据会保留在最终 .o 产物中。 ## 关联的Issue 无。 ## 测试 - python3 -m pytest tests/python/asc_op_compiler/test_ascendc_compile_base.py tests/python/asc_op_compiler/test_compile_op.py::TestCompileOp::test_sk_sub_combine_links_no_register_meta_file -q:16 passed。 - python3 -m pytest tests/python/adapter/test_ascendc_compile_base.py tests/python/adapter/test_compile_op.py::TestCompileOp::test_sk_sub_combine_links_no_register_meta_file -q:16 passed。 - git diff --cached --check:通过。 ## 文档更新 无文档更新。 ## 类型标签 - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [x] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4782 | 3 months ago | |
acl_rt_compile.h头文件目录结构与run包中对齐 Co-authored-by: Feiteng Zheng<zhengfeiteng1@h-partners.com> # message auto-generated for no-merge-commit merge: !4637 merge 20260727-support-gaf-superbuild into master acl_rt_compile.h头文件目录结构与run包中对齐 Created-by: zhengfeiteng Commit-by: Feiteng Zheng Merged-by: cann-robot Description: ## 描述 acl_rt_compile.h头文件目录结构与run包中对齐。 - acl_rtc导出头文件搜索路径,支持多仓联编时上层组件引用 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4637 | 3 months ago | |
refactor tests Co-authored-by: wuyang_hw<wuyang74@hisilicon.com> # message auto-generated for no-merge-commit merge: !197 merge refactor_tests into master refactor tests Created-by: wuyang_hw Commit-by: wuyang_hw Merged-by: cann-robot Description: ## 描述 重构 tests 目录 增加 950 版本用例 ## 关联的Issue ## 测试 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/asc-devkit!197 | 9 months ago | |
bugfix for tiling_utils UT core dump Co-authored-by: pengcheng1024<pengcheng40@hisilicon.com> # message auto-generated for no-merge-commit merge: !3936 merge master into master bugfix for tiling_utils UT core dump Created-by: pengcheng1024 Commit-by: pengcheng1024 Merged-by: cann-robot Description: ## 描述 修复tiling_utils UT任务出现的静态析构顺序灾难问题导致的core dump问题 1.用例多次调用单例创建platforminfo等,进程退出时,libc按LIFO顺序调用通过__cxa_atexit注册析构函数。由于链接的共享库(register、graph、graph_base、opp_register、platform、metadef等)也有自己的static对象和atexit处理器,其析构顺序不可控,当某个库的析构函数试图访问已被其他析构函数销毁的对象时,触发SIGSEGV,导致core dump 2.当前用例错误mock污染进程单例状态导致乱序执行时,错误的mock调用导致野指针被使用,可能会导致coredump 3.当前修改在test main cpp 通过 std::quick_exit() 跳过了 atexit流程,需要注册的 gcov 刷新钩子,解决 .gcda 不生成;修复以及 lcov 脚本缺少错误忽略参数导致覆盖率生成失败的问题 ## 关联的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!3936 | 4 months ago | |
扩展pre-commit hooks (第二批目录) Co-authored-by: Water8L<15279328600@163.com> # message auto-generated for no-merge-commit merge: !4183 merge master into master 扩展pre-commit hooks (第二批目录) Created-by: Water8L Commit-by: Water8L Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 在.pre-commit-config.yaml中根据trailing-whitespace和end-of-file-fixer hook,修改tests/api/other impl/matmul + impl/hccl + tests/other tests/api/basic_api + examples/basic_api目录下对应不合规范的文件 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4183 | 4 months ago | |
x90 9030 ut Co-authored-by: Dukexin004<dukexin@h-partners.com> Co-authored-by: INFINITY<zhangzhe180@h-partners.com> # message auto-generated for no-merge-commit merge: !1931 merge master into master x90 9030 ut Created-by: Zhezhezhezhe0414 Commit-by: INFINITY;Zhezhezhezhe0414;Dukexin004 Merged-by: cann-robot Description: ## 描述 补充x90 9030的UT用例 对于不支持的bf16数据类型用例,以及shape过大的用例,使用宏进行隔离 ## 关联的Issue 关联issue [#630](https://gitcode.com/cann/asc-devkit/issues/630) ## 测试 本地自测试kirinx90 9030UT正常执行通过 测试其他版本ascend301p,ascend610,ascend910B1 UT全量通过 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [x] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!1931 | 3 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 3 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 9 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 3 months ago |