| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
【fix】constexpr函数内部调用函数加__callee__支撑编译器修改 Co-authored-by: huxj153<huxiujuan@huawei.com> # message auto-generated for no-merge-commit merge: !4977 merge f/error3 into master 【fix】constexpr函数内部调用函数加__callee__支撑编译器修改 Created-by: huxj153 Commit-by: huxj153 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 此 PR 主要针对编译器Werror更新后对 constexpr 函数的约束变化进行适配:在 constexpr 函数内部调用的内联函数需添加constexpr,使用 __callee__替代部分场景下的 __aicore__ 属性 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4977 | 1 个月前 | |
【UBX】CcuSchedReduceScatterConcurMeshNHRMultiLink 迁移 Co-authored-by: yuanjun_li<yuanjun.li@huawei.com> # message auto-generated for no-merge-commit merge: !5802 merge feature/ccu_rs_concur_nhr into master 【UBX】CcuSchedReduceScatterConcurMeshNHRMultiLink 迁移 Created-by: yuanjun_li Commit-by: yuanjun_li Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ## 关联的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!5802 | 24 天前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
add kirin v516 basic api Co-authored-by: zengjuan<zengjuan2@huawei.com> # message auto-generated for no-merge-commit merge: !4913 merge master into master add kirin v516 basic api Created-by: zengjuan Commit-by: zengjuan Merged-by: cann-robot Description: ## 描述 add kirin v516 basic api ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 1)完成算子冒烟测试:  2)完成turing黄区门禁测试: https://turing-ci.huawei.com/#/buildInfo/main_chart?change_id=I09a52f7f3b9ec35bb38dbc34d1f0749556e7be57&trigger_timestamp=20260825_101751362&branch=br_hisi_trunk_ai&task_class=release&sort_field=status_priority&sort_order=ascend ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4913 | 1 个月前 | |
add kirin v516 basic api Co-authored-by: zengjuan<zengjuan2@huawei.com> # message auto-generated for no-merge-commit merge: !4913 merge master into master add kirin v516 basic api Created-by: zengjuan Commit-by: zengjuan Merged-by: cann-robot Description: ## 描述 add kirin v516 basic api ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 1)完成算子冒烟测试:  2)完成turing黄区门禁测试: https://turing-ci.huawei.com/#/buildInfo/main_chart?change_id=I09a52f7f3b9ec35bb38dbc34d1f0749556e7be57&trigger_timestamp=20260825_101751362&branch=br_hisi_trunk_ai&task_class=release&sort_field=status_priority&sort_order=ascend ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4913 | 1 个月前 | |
docs: document early-start FORCE parameter Co-authored-by: yrz1027<yangruizhi5@huawei.com> # message auto-generated for no-merge-commit merge: !3600 merge docs/force-early-start-param into master docs: document early-start FORCE parameter Created-by: yrz1027 Commit-by: yrz1027 Merged-by: cann-robot Description: ## 描述 补充SetNextTaskStart和WaitPreTaskEnd接口的FORCE模板参数说明: - 在函数原型中展示FORCE模板参数及默认值。 - 说明FORCE仅影响离线编译时是否强制使能Early-Start能力,不影响在线编译。 - 补充GE图模式默认使能、npugraph_ex后端通过early_start选项控制使能的说明。 - 在头文件检查用例中补充默认调用和FORCE=true显式实例化覆盖。 ## 关联的Issue 无。 ## 测试 - git diff --check。 - g++ -x c++ -std=c++17 -w ... -DVERIFY_SINGLE_HEADER -D__NPU_ARCH__=3510 ... -fsyntax-only tests/api/basic_api/ascendc_header_checker/kernel_operator_common_intf.cpp。 - bisheng ... -DVERIFY_SINGLE_HEADER -D__DAV_C310__ ... --cce-aicore-arch=dav-c310-vec。 - bisheng ... -DVERIFY_SINGLE_HEADER -D__DAV_C100__ ... --cce-aicore-arch=dav-c100。 - python3 -m pytest tests/python/asc_op_compiler/test_compile_op.py -k 'get_sync_task_start_end_instr_from_i_file_with_template_args or infer_info_from_ifile_uses_shared_scan_for_aclgraph_early_start'。 - python3 -m pytest tests/python/adapter/test_compile_op.py -k 'get_sync_task_start_end_instr_from_i_file_with_template_args or infer_info_from_ifile_uses_shared_scan_for_aclgraph_early_start'。 ## 文档更新 - 更新docs/api/SIMD-API/基础API/同步控制/任务间同步/SetNextTaskStart.md。 - 更新docs/api/SIMD-API/基础API/同步控制/任务间同步/WaitPreTaskEnd.md。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [x] 🧪 test: 新增或修改测试 - [x] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3600 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
修复m510 fixpipe参数不匹配问题 Co-authored-by: qwerwjy<wangjunyi23@huawei.com> # message auto-generated for no-merge-commit merge: !5668 merge master into master 修复m510 fixpipe参数不匹配问题 Created-by: qwerwjy Commit-by: qwerwjy Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 修复m510 fixpipe 搬运到cbuf分支参数不匹配问题 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> 二级冒烟 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5668 | 29 天前 | |
fix docs Co-authored-by: yhkz9211<huyulin4@huawei.com> # message auto-generated for no-merge-commit merge: !4040 merge docs into master fix docs Created-by: yhkz9211 Commit-by: yhkz9211 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 修复文档错误 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> 关联Issue [#1148](https://gitcode.com/cann/asc-devkit/issues/1148) ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> NA ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> NA ## 类型标签 <!-- [x] 表示选中 --> - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4040 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
WriteGmByPassDCache和ReadGmByPassDCache接口名称问题修改 Co-authored-by: chenmyk<chenmingyu16@huawei.com> # message auto-generated for no-merge-commit merge: !5327 merge master_0825_Bypass into master WriteGmByPassDCache和ReadGmByPassDCache接口名称问题修改 Created-by: chenmyk Commit-by: chenmyk Merged-by: cann-robot Description: ## 描述 WriteGmByPassDCache和ReadGmByPassDCache接口名称问题修改 提供新接口并提示原接口废弃 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [x] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5327 | 1 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
fix: 公开 Basic API 宏定义(#1369) Co-authored-by: UFOunder<zhangxiru1@huawei.com> # message auto-generated for no-merge-commit merge: !5166 merge fix/issue-1369-public-macros into master fix: 公开 Basic API 宏定义(#1369) Created-by: m0_56712298 Commit-by: UFOunder Merged-by: cann-robot Description: ## 描述 解决 Issue #1369 中部分用户可用宏仅定义于 impl 内部头文件、用户可能直接依赖内部头而形成不稳定接口依赖的问题。 本次修改: - 在 include/utils/base/sys_macros.h 公开 likely、unlikely、PRELOAD、KERNEL_TASK_TYPE、KERNEL_TASK_TYPE_DEFAULT、REGISTER_TILING_DEFAULT、REGISTER_TILING_FOR_TILINGKEY、REGISTER_NONE_TILING、TILING_KEY_IS、TILING_KEY_LIST; - 将公共包装宏依赖的实现层保留在 impl/utils/sys_macros_impl.h,避免公开内部辅助宏; - 保持 TILING_KEY_VAR 后定义覆盖优先级,以及各架构、CPU Debug、Plugin 条件分支的既有行为; - 移除原 impl 头文件中的重复公共定义,公共宏仍通过既有 Basic API 包含链可用。 ## 关联的Issue - Fixes #1369 - https://gitcode.com/cann/asc-devkit/issues/1369 ## 测试 - 使用 g++ -E -P 对比基线与 PR 的宏调用展开结果; - 使用 g++ -dM -E 检查公共头导出的宏集合及内部辅助宏隔离; - 分别使用基线与 PR DevKit 包编译三个样例算子,对比生成 .i 文件中原始算子源码对应的宏展开片段; - Header Checker 覆盖新增公共宏的独立包含检查。 ## 文档更新 - 增加 PRELOAD 文档及导航; - 更新 Kernel Tiling、Kernel Task Type 相关宏文档和 API 列表。 ## 类型标签 - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [x] 🧪 test: 新增或修改测试 - [x] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5166 | 30 天前 | |
Restrict clang-format hook to tests Co-authored-by: xun_zhuge<zhugexun@hisilicon.com> Co-authored-by: zhangyujia77<zhangyujia37@huawei.com> # message auto-generated for no-merge-commit merge: !3238 merge update_tests_clang_format into master Restrict clang-format hook to tests Created-by: xun_zhuge Commit-by: zhangyujia77;xun_zhuge Merged-by: cann-robot Description: ## 描述 本 PR 调整 clang-format 的 pre-commit 检查范围,并对当前纳入范围的测试代码执行了一次全量格式化。 主要改动: - 将 .pre-commit-config.yaml 中 clang-format hook 的 files 范围从所有 C/C++/Ascend C 源文件收敛到 tests/ 目录:^tests/.*\.(c|h|cpp|hpp|cc|hh|cxx|hxx|asc)$。 - 移除该 hook 原有的 exclude: ^build/|tests/third_party/,避免和新的 files 范围重复维护。 - 执行 pre-commit run clang-format --all-files,按当前 .clang-format 规则格式化 tests/ 下匹配的 1521 个文件。 - 修复 tests/api/tensor_api/stub/cce_stub.h 中一处宏续行格式不稳定的问题,避免 clang-format 每次运行都继续改同一段宏。 ## 关联的Issue 无 ## 测试 已完成以下验证: - pre-commit validate-config 通过。 - pre-commit run clang-format --files tests/api/tensor_api/stub/cce_stub.h 通过。 - pre-commit run clang-format --all-files 通过。 - 提交时 pre-commit hook 通过:clang-format Passed,OAT Compliance Check Passed。 - OAT 提交检查为增量模式,最终覆盖 1521 个暂存文件,日志显示 All checks passed。 - 推送到 zhugexun/update_tests_clang_format 时远端 Git hooks 检查通过。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [x] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [x] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!3238 | 3 个月前 | |
[simd_vf debug] fix debug api cpu debug compile error Co-authored-by: ChenZhoujie<chenzhoujie@huawei.com> # message auto-generated for no-merge-commit merge: !4749 merge simd_vf_cpu_debug into master [simd_vf debug] fix debug api cpu debug compile error Created-by: ChenZhoujie Commit-by: ChenZhoujie Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 修复simd_vf调测接口printf/asc_dump在cpu模式下存在的编译问题 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> 无 ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> // printf走std下的实现,能够正常打印 printf("[simd_vf] ------------1\n"); __asc_simd_vf::printf("[simd_vf] ------------2\n"); // asc_dump正确触发不支持 asc_dump<float>(yAddr, 5, 32); __asc_simd_vf::asc_dump<float>(yAddr, 6, 32); asc_dump_ubuf<float>(yAddr, 5, 32); __asc_simd_vf::asc_dump_ubuf<float>(yAddr, 6, 32); // asc_dump_reg正确触发不支持 asc_dump_reg<float>(yReg, 8, 32); __asc_simd_vf::asc_dump_reg<float>(yReg, 7, 32); asc_dump<float>(yReg, 8, 32); __asc_simd_vf::asc_dump<float>(yReg, 7, 32); ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> 无 ## 类型标签 <!-- [x] 表示选中 --> - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4749 | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 | ||
| 24 天前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 29 天前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 1 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 30 天前 | ||
| 3 个月前 | ||
| 2 个月前 |