| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
【fix】修复 ResourceRegistry 加载编译资源 manifest 时允许空 resource_id 的问题 Co-authored-by: huxj153<huxiujuan@huawei.com> # message auto-generated for no-merge-commit merge: !5319 merge f/issue1583 into master 【fix】修复 ResourceRegistry 加载编译资源 manifest 时允许空 resource_id 的问题 Created-by: huxj153 Commit-by: huxj153 Merged-by: cann-robot Description: ## 描述 修复 ResourceRegistry 加载编译资源 manifest 时允许空 resource_id 的问题。 同时在 tests/tools/aclrtc/test_resource_registry.cpp 中补充回归测试: - 覆盖 LoadManifest() 直接加载空 resource_id manifest 的场景,断言返回 InvalidResource 且 stage 中不包含空 key。 - 覆盖公开 Load() 加载 bundle 的场景,断言包含空 resource_id 的非法 bundle 不会提交任何资源,同时保留合法 bundle 可正常加载和查询的对照。 ## 关联的Issue 关联Issue:ResourceRegistry 加载 manifest 时缺少空 resource_id 校验 ## 测试 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [x] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5319 | 7 天前 | |
refactor(build): simplify process executor spawn setup Co-authored-by: sjtulxh<liaoxiaohui3@hisilicon.com> # message auto-generated for no-merge-commit merge: !5547 merge master into master refactor(build): simplify process executor spawn setup Created-by: sjtulxh Commit-by: sjtulxh Merged-by: cann-robot Description: ## 描述 refactor(build): simplify process executor spawn setup - document process lifecycle, output forwarding, and timeout handling - extract posix_spawn configuration into ConfigureSpawnResources - preserve existing process execution behavior ## 关联的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!5547 | 3 天前 | |
feat(aclrtc): 支持 ACLNN Kernel 常量化编译 Co-authored-by: XuebinYang<yangxuebin6@hisilicon.com> Co-authored-by: sjtulxh<liaoxiaohui3@hisilicon.com> # message auto-generated for no-merge-commit merge: !5103 merge feature/aclrtc-kernel-specialization into master feat(aclrtc): 支持 ACLNN Kernel 常量化编译 Created-by: XuebinYang Commit-by: XuebinYang;sjtulxh Merged-by: cann-robot Description: ## 变更说明 - 新增 aclrtcKernelSpecialization C API,支持 basic 以及 basic + SK 常量化编译请求。 - 新增 Manifest 选中子树解析、环境变量/占位符展开、常量 patch、串行命令执行、超时和进程组回收。 - 新增 worktree 生命周期、ELF 原子发布和可选 kernel meta 诊断文件。 - 使用 Boost.Filesystem;命令以 argv 直接执行,不经过 Shell,并限制输出改写、response file、控制字符和内嵌 NUL。 - 收敛 libacl_rtc.so 动态符号,仅导出冻结的 10 个 aclrtc* C API。 - 补充模块 README 和 ACLRTC UT;pack 代码及 Manifest ABI 文件保持不变。 ## 验证 - ascendc_ut_aclrtc: 88/88 通过。 - acl_rtc Release 生产目标构建通过(-Werror)。 - 公开头文件以 C11 + -Wall -Wextra -Werror 编译通过。 - nm -D --defined-only: 仅 10 个冻结 aclrtc* API。 - ldd -r libacl_rtc.so: 无未解析符号。 - git diff --check 通过;pack 目录零差异。 See merge request: cann/asc-devkit!5103 | 14 天前 | |
再次扩展ruff-pre-commit hooks (第二批目录) Co-authored-by: Water8L<15279328600@163.com> # message auto-generated for no-merge-commit merge: !4329 merge master into master 再次扩展ruff-pre-commit hooks (第二批目录) Created-by: Water8L Commit-by: Water8L Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 在.pre-commit-config.yaml中增加ruff-check ruff-format(tools目录下),并修改tools目录下对应不合规范的文件,除了暂时屏蔽的部分文件和错误类型,同时限制py版本为3.7 ## 关联的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!4329 | 1 个月前 | |
delete ascendc_parse_dumpinfo.py Co-authored-by: hehongan<hehongan@h-partners.com> # message auto-generated for no-merge-commit merge: !1394 merge master into master delete ascendc_parse_dumpinfo.py Created-by: hehongan Commit-by: hehongan Merged-by: cann-robot Description: ## 描述 delete ascendc_parse_dumpinfo.py ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> [#356](https://gitcode.com/cann/asc-devkit/issues/356) [#381](https://gitcode.com/cann/asc-devkit/issues/381) ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!1394 | 5 个月前 |