| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
refactor: replace magic numbers with named constants Co-authored-by: XuebinYang<yangxuebin6@hisilicon.com> # message auto-generated for no-merge-commit merge: !5570 merge refactor/common-build-infrastructure into master refactor: replace magic numbers with named constants Created-by: XuebinYang Commit-by: XuebinYang Merged-by: cann-robot Description: ## 描述 使用函数内具名 constexpr 常量替代构建代码中的两个魔数:管道文件描述符数量和单字节十六进制显示宽度。 ## 关联的Issue 无。 ## 测试 - pre-commit run clang-format --files tools/build/common/process_executor.cpp tools/aclrtc/specialization/kernel_compilation_plan_builder.cpp - CCACHE_DISABLE=1 bash build.sh -j 8 - GitCode 远端 Git hooks。 ## 文档更新 无文档更新。 ## 类型标签 - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5570 | 8 天前 | |
fix: opbuild version wrapper null check Co-authored-by: Lyear-iu<liuyi424@huawei.com> # message auto-generated for no-merge-commit merge: !5509 merge opbuild_fix into master fix: opbuild version wrapper null check Created-by: liuyi424 Commit-by: Lyear-iu Merged-by: cann-robot Description: ## 描述 修复 opbuild 生成的版本包装函数在 GetWorkspaceSize 失败后仍继续调用 NnopbaseDisableOptionalInput 的问题。现在失败时直接返回,成功路径仅在 executor != nullptr 时执行后处理。 ## 关联的Issue [[Bug-Report|缺陷反馈]: opbuild 版本 wrapper 在 executor 为空时解引用崩溃 ](https://gitcode.com/cann/asc-devkit/issues/1620) ## 测试 已更新ut 已通过上板验证 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5509 | 7 天前 | |
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 | 20 天前 | |
再次扩展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 个月前 |