| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat:aicpu日志整改 Co-authored-by: liu-lu<www.liulu824910939@qq.com> # message auto-generated for no-merge-commit merge: !4513 merge master into master feat:aicpu日志整改 Created-by: liu-lu Commit-by: liu-lu Merged-by: cann-robot Description: ## 描述 本次 PR 对 runtime 源码中的日志文本进行规范化,并补充 UT 测试用例确保覆盖率达标: 1. **日志文本规范化**(56 个源文件):修正语法错误(如 has exist → already exists)、添加参数单位(如 us、ms)、展开缩写(如 f2nf → full-to-notfull event)、补充空日志内容(如 TSD_ERROR("") → TSD_ERROR("insert package config to map failed")) 2. **clang-format 格式修复**(6 个源文件):修复超过 ColumnLimit:120 的超长日志行换行 3. **UT 测试用例补充**(12 个测试文件,新增约 20 个测试用例):覆盖修改的日志行所在的条件分支和异常路径,使 TSD UT 和 AICPU SD UT 增量覆盖率均达到 80%+ ## 变更类型 请选择本次代码的变更类型: - [x] ✨ 新功能(日志描述规范化) - [ ] 🐛 Bug 修复 - [ ] ♻️ 性能优化(正式格式、命名规范、代码整理等不影响功能也不会添加功能的代码变动) - [ ] ♻️ 重构等不涉及修改对外接口的代码变动 - [x] 🧪 测试(引入测试流程或工具的变动) - [ ] 📦 文档内容更新 ## 关联的Issue #891 ## 如何测试 请描述你打算如何测试此次变更: 1. **编译验证**:执行 bash tests/build_ut.sh --ut=aicpusd --target=aicpu_sched_ut 和 TSD UT 编译,确认无编译错误 2. **UT 覆盖率验证**:执行 UT 并检查增量覆盖率 ≥ 80%(覆盖路径包括:路径超长、设备非空闲、参数超限、线程创建失败、文件过大、SO 名称非法、环境变量开关、Buffer 初始化失败、Profiling 响应失败、内存分配失败) 3. **clang-format 验证**:clang-format --dry-run --Werror 确认所有修改文件格式合规 4. **功能验证**:UT 测试全部通过,无回归问题 ## 确认清单 - [x] 我的代码已遵循项目的代码规范 - [x] 已完成对所有代码的测试 - [x] 已更新所有相关的文档 - [x] 我已确保使用了合适的类型和标签,如:feat:,fix: - [x] 我已经仔细阅读了贡献指南(CONTRIBUTING.md),并理解了其中的所有规定,包括对提交commit message的格式和有效commit的合并) ## 附加信息 - 源文件修改仅涉及日志文本(aicpusd_info/aicpusd_err/TSD_RUN_INFO/TSD_ERROR 等日志宏的格式字符串),不改变任何代码逻辑 - UT 测试用例通过 MOCKER(pthread_create) mock 线程创建失败、MOCKER(halBuffInit) mock buffer 初始化失败等方式覆盖异常路径 See merge request: cann/runtime!4513 | 11 天前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
修复 GCC 15 单元测试兼容性 Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !4488 merge test/gcc15-ut-compatibility into master 修复 GCC 15 单元测试兼容性 Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: # Pull Request ## 描述 修复 GCC 15 环境下三个单元测试的兼容性问题: - 删除依赖空 HOME 环境变量行为、在新版本 libstdc++ 中触发异常的无效 TSD 用例。 - 在 Queue Schedule 用例中补齐 HCCL testsome 工作 vector 的有效元素,避免仅 reserve 后通过下标访问触发断言。 - 修正 realpath 成功桩,按接口约定写入输出缓冲区,避免空字符串下标越界。 本次仅修改 UT,不涉及生产代码。 ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [x] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue https://gitcode.com/cann/runtime/issues/895 ## 如何测试 1. 编译并运行 tsd_client_utest:39/39 通过。 2. 编译并运行 QueueScheduleUTest:103/103 通过。 3. 编译并运行 aicpu_aicpuschedule_utest:1471/1471 通过。 4. 执行 pre-commit run --from-ref ups/master --to-ref HEAD:clang-format 和 OAT 检查通过。 ## 核对清单 <!-- [x] 表示选中 --> - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档(本次不涉及文档变更) - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 该问题由 GCC 15/libstdc++ 更严格的运行时断言暴露;修改集中在测试数据和 mock 行为,不改变运行时代码语义。 See merge request: cann/runtime!4488 | 11 天前 | |
feat:aicpu日志整改 Co-authored-by: liu-lu<www.liulu824910939@qq.com> # message auto-generated for no-merge-commit merge: !4513 merge master into master feat:aicpu日志整改 Created-by: liu-lu Commit-by: liu-lu Merged-by: cann-robot Description: ## 描述 本次 PR 对 runtime 源码中的日志文本进行规范化,并补充 UT 测试用例确保覆盖率达标: 1. **日志文本规范化**(56 个源文件):修正语法错误(如 has exist → already exists)、添加参数单位(如 us、ms)、展开缩写(如 f2nf → full-to-notfull event)、补充空日志内容(如 TSD_ERROR("") → TSD_ERROR("insert package config to map failed")) 2. **clang-format 格式修复**(6 个源文件):修复超过 ColumnLimit:120 的超长日志行换行 3. **UT 测试用例补充**(12 个测试文件,新增约 20 个测试用例):覆盖修改的日志行所在的条件分支和异常路径,使 TSD UT 和 AICPU SD UT 增量覆盖率均达到 80%+ ## 变更类型 请选择本次代码的变更类型: - [x] ✨ 新功能(日志描述规范化) - [ ] 🐛 Bug 修复 - [ ] ♻️ 性能优化(正式格式、命名规范、代码整理等不影响功能也不会添加功能的代码变动) - [ ] ♻️ 重构等不涉及修改对外接口的代码变动 - [x] 🧪 测试(引入测试流程或工具的变动) - [ ] 📦 文档内容更新 ## 关联的Issue #891 ## 如何测试 请描述你打算如何测试此次变更: 1. **编译验证**:执行 bash tests/build_ut.sh --ut=aicpusd --target=aicpu_sched_ut 和 TSD UT 编译,确认无编译错误 2. **UT 覆盖率验证**:执行 UT 并检查增量覆盖率 ≥ 80%(覆盖路径包括:路径超长、设备非空闲、参数超限、线程创建失败、文件过大、SO 名称非法、环境变量开关、Buffer 初始化失败、Profiling 响应失败、内存分配失败) 3. **clang-format 验证**:clang-format --dry-run --Werror 确认所有修改文件格式合规 4. **功能验证**:UT 测试全部通过,无回归问题 ## 确认清单 - [x] 我的代码已遵循项目的代码规范 - [x] 已完成对所有代码的测试 - [x] 已更新所有相关的文档 - [x] 我已确保使用了合适的类型和标签,如:feat:,fix: - [x] 我已经仔细阅读了贡献指南(CONTRIBUTING.md),并理解了其中的所有规定,包括对提交commit message的格式和有效commit的合并) ## 附加信息 - 源文件修改仅涉及日志文本(aicpusd_info/aicpusd_err/TSD_RUN_INFO/TSD_ERROR 等日志宏的格式字符串),不改变任何代码逻辑 - UT 测试用例通过 MOCKER(pthread_create) mock 线程创建失败、MOCKER(halBuffInit) mock buffer 初始化失败等方式覆盖异常路径 See merge request: cann/runtime!4513 | 11 天前 | |
feat:aicpu日志整改 Co-authored-by: liu-lu<www.liulu824910939@qq.com> # message auto-generated for no-merge-commit merge: !4513 merge master into master feat:aicpu日志整改 Created-by: liu-lu Commit-by: liu-lu Merged-by: cann-robot Description: ## 描述 本次 PR 对 runtime 源码中的日志文本进行规范化,并补充 UT 测试用例确保覆盖率达标: 1. **日志文本规范化**(56 个源文件):修正语法错误(如 has exist → already exists)、添加参数单位(如 us、ms)、展开缩写(如 f2nf → full-to-notfull event)、补充空日志内容(如 TSD_ERROR("") → TSD_ERROR("insert package config to map failed")) 2. **clang-format 格式修复**(6 个源文件):修复超过 ColumnLimit:120 的超长日志行换行 3. **UT 测试用例补充**(12 个测试文件,新增约 20 个测试用例):覆盖修改的日志行所在的条件分支和异常路径,使 TSD UT 和 AICPU SD UT 增量覆盖率均达到 80%+ ## 变更类型 请选择本次代码的变更类型: - [x] ✨ 新功能(日志描述规范化) - [ ] 🐛 Bug 修复 - [ ] ♻️ 性能优化(正式格式、命名规范、代码整理等不影响功能也不会添加功能的代码变动) - [ ] ♻️ 重构等不涉及修改对外接口的代码变动 - [x] 🧪 测试(引入测试流程或工具的变动) - [ ] 📦 文档内容更新 ## 关联的Issue #891 ## 如何测试 请描述你打算如何测试此次变更: 1. **编译验证**:执行 bash tests/build_ut.sh --ut=aicpusd --target=aicpu_sched_ut 和 TSD UT 编译,确认无编译错误 2. **UT 覆盖率验证**:执行 UT 并检查增量覆盖率 ≥ 80%(覆盖路径包括:路径超长、设备非空闲、参数超限、线程创建失败、文件过大、SO 名称非法、环境变量开关、Buffer 初始化失败、Profiling 响应失败、内存分配失败) 3. **clang-format 验证**:clang-format --dry-run --Werror 确认所有修改文件格式合规 4. **功能验证**:UT 测试全部通过,无回归问题 ## 确认清单 - [x] 我的代码已遵循项目的代码规范 - [x] 已完成对所有代码的测试 - [x] 已更新所有相关的文档 - [x] 我已确保使用了合适的类型和标签,如:feat:,fix: - [x] 我已经仔细阅读了贡献指南(CONTRIBUTING.md),并理解了其中的所有规定,包括对提交commit message的格式和有效commit的合并) ## 附加信息 - 源文件修改仅涉及日志文本(aicpusd_info/aicpusd_err/TSD_RUN_INFO/TSD_ERROR 等日志宏的格式字符串),不改变任何代码逻辑 - UT 测试用例通过 MOCKER(pthread_create) mock 线程创建失败、MOCKER(halBuffInit) mock buffer 初始化失败等方式覆盖异常路径 See merge request: cann/runtime!4513 | 11 天前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
feat:aicpu日志整改 Co-authored-by: liu-lu<www.liulu824910939@qq.com> # message auto-generated for no-merge-commit merge: !4513 merge master into master feat:aicpu日志整改 Created-by: liu-lu Commit-by: liu-lu Merged-by: cann-robot Description: ## 描述 本次 PR 对 runtime 源码中的日志文本进行规范化,并补充 UT 测试用例确保覆盖率达标: 1. **日志文本规范化**(56 个源文件):修正语法错误(如 has exist → already exists)、添加参数单位(如 us、ms)、展开缩写(如 f2nf → full-to-notfull event)、补充空日志内容(如 TSD_ERROR("") → TSD_ERROR("insert package config to map failed")) 2. **clang-format 格式修复**(6 个源文件):修复超过 ColumnLimit:120 的超长日志行换行 3. **UT 测试用例补充**(12 个测试文件,新增约 20 个测试用例):覆盖修改的日志行所在的条件分支和异常路径,使 TSD UT 和 AICPU SD UT 增量覆盖率均达到 80%+ ## 变更类型 请选择本次代码的变更类型: - [x] ✨ 新功能(日志描述规范化) - [ ] 🐛 Bug 修复 - [ ] ♻️ 性能优化(正式格式、命名规范、代码整理等不影响功能也不会添加功能的代码变动) - [ ] ♻️ 重构等不涉及修改对外接口的代码变动 - [x] 🧪 测试(引入测试流程或工具的变动) - [ ] 📦 文档内容更新 ## 关联的Issue #891 ## 如何测试 请描述你打算如何测试此次变更: 1. **编译验证**:执行 bash tests/build_ut.sh --ut=aicpusd --target=aicpu_sched_ut 和 TSD UT 编译,确认无编译错误 2. **UT 覆盖率验证**:执行 UT 并检查增量覆盖率 ≥ 80%(覆盖路径包括:路径超长、设备非空闲、参数超限、线程创建失败、文件过大、SO 名称非法、环境变量开关、Buffer 初始化失败、Profiling 响应失败、内存分配失败) 3. **clang-format 验证**:clang-format --dry-run --Werror 确认所有修改文件格式合规 4. **功能验证**:UT 测试全部通过,无回归问题 ## 确认清单 - [x] 我的代码已遵循项目的代码规范 - [x] 已完成对所有代码的测试 - [x] 已更新所有相关的文档 - [x] 我已确保使用了合适的类型和标签,如:feat:,fix: - [x] 我已经仔细阅读了贡献指南(CONTRIBUTING.md),并理解了其中的所有规定,包括对提交commit message的格式和有效commit的合并) ## 附加信息 - 源文件修改仅涉及日志文本(aicpusd_info/aicpusd_err/TSD_RUN_INFO/TSD_ERROR 等日志宏的格式字符串),不改变任何代码逻辑 - UT 测试用例通过 MOCKER(pthread_create) mock 线程创建失败、MOCKER(halBuffInit) mock buffer 初始化失败等方式覆盖异常路径 See merge request: cann/runtime!4513 | 11 天前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
feat:aicpu日志整改 Co-authored-by: liu-lu<www.liulu824910939@qq.com> # message auto-generated for no-merge-commit merge: !4513 merge master into master feat:aicpu日志整改 Created-by: liu-lu Commit-by: liu-lu Merged-by: cann-robot Description: ## 描述 本次 PR 对 runtime 源码中的日志文本进行规范化,并补充 UT 测试用例确保覆盖率达标: 1. **日志文本规范化**(56 个源文件):修正语法错误(如 has exist → already exists)、添加参数单位(如 us、ms)、展开缩写(如 f2nf → full-to-notfull event)、补充空日志内容(如 TSD_ERROR("") → TSD_ERROR("insert package config to map failed")) 2. **clang-format 格式修复**(6 个源文件):修复超过 ColumnLimit:120 的超长日志行换行 3. **UT 测试用例补充**(12 个测试文件,新增约 20 个测试用例):覆盖修改的日志行所在的条件分支和异常路径,使 TSD UT 和 AICPU SD UT 增量覆盖率均达到 80%+ ## 变更类型 请选择本次代码的变更类型: - [x] ✨ 新功能(日志描述规范化) - [ ] 🐛 Bug 修复 - [ ] ♻️ 性能优化(正式格式、命名规范、代码整理等不影响功能也不会添加功能的代码变动) - [ ] ♻️ 重构等不涉及修改对外接口的代码变动 - [x] 🧪 测试(引入测试流程或工具的变动) - [ ] 📦 文档内容更新 ## 关联的Issue #891 ## 如何测试 请描述你打算如何测试此次变更: 1. **编译验证**:执行 bash tests/build_ut.sh --ut=aicpusd --target=aicpu_sched_ut 和 TSD UT 编译,确认无编译错误 2. **UT 覆盖率验证**:执行 UT 并检查增量覆盖率 ≥ 80%(覆盖路径包括:路径超长、设备非空闲、参数超限、线程创建失败、文件过大、SO 名称非法、环境变量开关、Buffer 初始化失败、Profiling 响应失败、内存分配失败) 3. **clang-format 验证**:clang-format --dry-run --Werror 确认所有修改文件格式合规 4. **功能验证**:UT 测试全部通过,无回归问题 ## 确认清单 - [x] 我的代码已遵循项目的代码规范 - [x] 已完成对所有代码的测试 - [x] 已更新所有相关的文档 - [x] 我已确保使用了合适的类型和标签,如:feat:,fix: - [x] 我已经仔细阅读了贡献指南(CONTRIBUTING.md),并理解了其中的所有规定,包括对提交commit message的格式和有效commit的合并) ## 附加信息 - 源文件修改仅涉及日志文本(aicpusd_info/aicpusd_err/TSD_RUN_INFO/TSD_ERROR 等日志宏的格式字符串),不改变任何代码逻辑 - UT 测试用例通过 MOCKER(pthread_create) mock 线程创建失败、MOCKER(halBuffInit) mock buffer 初始化失败等方式覆盖异常路径 See merge request: cann/runtime!4513 | 11 天前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
修复 GCC 15 单元测试兼容性 Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !4488 merge test/gcc15-ut-compatibility into master 修复 GCC 15 单元测试兼容性 Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: # Pull Request ## 描述 修复 GCC 15 环境下三个单元测试的兼容性问题: - 删除依赖空 HOME 环境变量行为、在新版本 libstdc++ 中触发异常的无效 TSD 用例。 - 在 Queue Schedule 用例中补齐 HCCL testsome 工作 vector 的有效元素,避免仅 reserve 后通过下标访问触发断言。 - 修正 realpath 成功桩,按接口约定写入输出缓冲区,避免空字符串下标越界。 本次仅修改 UT,不涉及生产代码。 ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [x] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue https://gitcode.com/cann/runtime/issues/895 ## 如何测试 1. 编译并运行 tsd_client_utest:39/39 通过。 2. 编译并运行 QueueScheduleUTest:103/103 通过。 3. 编译并运行 aicpu_aicpuschedule_utest:1471/1471 通过。 4. 执行 pre-commit run --from-ref ups/master --to-ref HEAD:clang-format 和 OAT 检查通过。 ## 核对清单 <!-- [x] 表示选中 --> - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档(本次不涉及文档变更) - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 该问题由 GCC 15/libstdc++ 更严格的运行时断言暴露;修改集中在测试数据和 mock 行为,不改变运行时代码语义。 See merge request: cann/runtime!4488 | 11 天前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
[Profiling]【feat】:profiling支持冗余头文件整改 Co-authored-by: z296249221<zhengkai40@huawei.com> # message auto-generated for no-merge-commit merge: !4505 merge profiling-feat-delete-headers into master [Profiling]【feat】:profiling支持冗余头文件整改 Created-by: z296249221 Commit-by: z296249221 Merged-by: cann-robot Description: # Pull Request ## 描述 请清晰准确地描述本次 Pull Request 的意图和变更内容。 profiling支持冗余头文件整改 ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [ ] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [x] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 --> NA ## 如何测试 描述测试此变更的步骤和前提条件: 1. 验证全量变异构建。 2. 验证冒烟用例。 ## 核对清单 <!-- [x] 表示选中 --> - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如: feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 See merge request: cann/runtime!4505 | 9 天前 | |
feat:aicpu日志整改 Co-authored-by: liu-lu<www.liulu824910939@qq.com> # message auto-generated for no-merge-commit merge: !4513 merge master into master feat:aicpu日志整改 Created-by: liu-lu Commit-by: liu-lu Merged-by: cann-robot Description: ## 描述 本次 PR 对 runtime 源码中的日志文本进行规范化,并补充 UT 测试用例确保覆盖率达标: 1. **日志文本规范化**(56 个源文件):修正语法错误(如 has exist → already exists)、添加参数单位(如 us、ms)、展开缩写(如 f2nf → full-to-notfull event)、补充空日志内容(如 TSD_ERROR("") → TSD_ERROR("insert package config to map failed")) 2. **clang-format 格式修复**(6 个源文件):修复超过 ColumnLimit:120 的超长日志行换行 3. **UT 测试用例补充**(12 个测试文件,新增约 20 个测试用例):覆盖修改的日志行所在的条件分支和异常路径,使 TSD UT 和 AICPU SD UT 增量覆盖率均达到 80%+ ## 变更类型 请选择本次代码的变更类型: - [x] ✨ 新功能(日志描述规范化) - [ ] 🐛 Bug 修复 - [ ] ♻️ 性能优化(正式格式、命名规范、代码整理等不影响功能也不会添加功能的代码变动) - [ ] ♻️ 重构等不涉及修改对外接口的代码变动 - [x] 🧪 测试(引入测试流程或工具的变动) - [ ] 📦 文档内容更新 ## 关联的Issue #891 ## 如何测试 请描述你打算如何测试此次变更: 1. **编译验证**:执行 bash tests/build_ut.sh --ut=aicpusd --target=aicpu_sched_ut 和 TSD UT 编译,确认无编译错误 2. **UT 覆盖率验证**:执行 UT 并检查增量覆盖率 ≥ 80%(覆盖路径包括:路径超长、设备非空闲、参数超限、线程创建失败、文件过大、SO 名称非法、环境变量开关、Buffer 初始化失败、Profiling 响应失败、内存分配失败) 3. **clang-format 验证**:clang-format --dry-run --Werror 确认所有修改文件格式合规 4. **功能验证**:UT 测试全部通过,无回归问题 ## 确认清单 - [x] 我的代码已遵循项目的代码规范 - [x] 已完成对所有代码的测试 - [x] 已更新所有相关的文档 - [x] 我已确保使用了合适的类型和标签,如:feat:,fix: - [x] 我已经仔细阅读了贡献指南(CONTRIBUTING.md),并理解了其中的所有规定,包括对提交commit message的格式和有效commit的合并) ## 附加信息 - 源文件修改仅涉及日志文本(aicpusd_info/aicpusd_err/TSD_RUN_INFO/TSD_ERROR 等日志宏的格式字符串),不改变任何代码逻辑 - UT 测试用例通过 MOCKER(pthread_create) mock 线程创建失败、MOCKER(halBuffInit) mock buffer 初始化失败等方式覆盖异常路径 See merge request: cann/runtime!4513 | 11 天前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
feat:aicpu日志整改 Co-authored-by: liu-lu<www.liulu824910939@qq.com> # message auto-generated for no-merge-commit merge: !4513 merge master into master feat:aicpu日志整改 Created-by: liu-lu Commit-by: liu-lu Merged-by: cann-robot Description: ## 描述 本次 PR 对 runtime 源码中的日志文本进行规范化,并补充 UT 测试用例确保覆盖率达标: 1. **日志文本规范化**(56 个源文件):修正语法错误(如 has exist → already exists)、添加参数单位(如 us、ms)、展开缩写(如 f2nf → full-to-notfull event)、补充空日志内容(如 TSD_ERROR("") → TSD_ERROR("insert package config to map failed")) 2. **clang-format 格式修复**(6 个源文件):修复超过 ColumnLimit:120 的超长日志行换行 3. **UT 测试用例补充**(12 个测试文件,新增约 20 个测试用例):覆盖修改的日志行所在的条件分支和异常路径,使 TSD UT 和 AICPU SD UT 增量覆盖率均达到 80%+ ## 变更类型 请选择本次代码的变更类型: - [x] ✨ 新功能(日志描述规范化) - [ ] 🐛 Bug 修复 - [ ] ♻️ 性能优化(正式格式、命名规范、代码整理等不影响功能也不会添加功能的代码变动) - [ ] ♻️ 重构等不涉及修改对外接口的代码变动 - [x] 🧪 测试(引入测试流程或工具的变动) - [ ] 📦 文档内容更新 ## 关联的Issue #891 ## 如何测试 请描述你打算如何测试此次变更: 1. **编译验证**:执行 bash tests/build_ut.sh --ut=aicpusd --target=aicpu_sched_ut 和 TSD UT 编译,确认无编译错误 2. **UT 覆盖率验证**:执行 UT 并检查增量覆盖率 ≥ 80%(覆盖路径包括:路径超长、设备非空闲、参数超限、线程创建失败、文件过大、SO 名称非法、环境变量开关、Buffer 初始化失败、Profiling 响应失败、内存分配失败) 3. **clang-format 验证**:clang-format --dry-run --Werror 确认所有修改文件格式合规 4. **功能验证**:UT 测试全部通过,无回归问题 ## 确认清单 - [x] 我的代码已遵循项目的代码规范 - [x] 已完成对所有代码的测试 - [x] 已更新所有相关的文档 - [x] 我已确保使用了合适的类型和标签,如:feat:,fix: - [x] 我已经仔细阅读了贡献指南(CONTRIBUTING.md),并理解了其中的所有规定,包括对提交commit message的格式和有效commit的合并) ## 附加信息 - 源文件修改仅涉及日志文本(aicpusd_info/aicpusd_err/TSD_RUN_INFO/TSD_ERROR 等日志宏的格式字符串),不改变任何代码逻辑 - UT 测试用例通过 MOCKER(pthread_create) mock 线程创建失败、MOCKER(halBuffInit) mock buffer 初始化失败等方式覆盖异常路径 See merge request: cann/runtime!4513 | 11 天前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
feat:aicpu日志整改 Co-authored-by: liu-lu<www.liulu824910939@qq.com> # message auto-generated for no-merge-commit merge: !4513 merge master into master feat:aicpu日志整改 Created-by: liu-lu Commit-by: liu-lu Merged-by: cann-robot Description: ## 描述 本次 PR 对 runtime 源码中的日志文本进行规范化,并补充 UT 测试用例确保覆盖率达标: 1. **日志文本规范化**(56 个源文件):修正语法错误(如 has exist → already exists)、添加参数单位(如 us、ms)、展开缩写(如 f2nf → full-to-notfull event)、补充空日志内容(如 TSD_ERROR("") → TSD_ERROR("insert package config to map failed")) 2. **clang-format 格式修复**(6 个源文件):修复超过 ColumnLimit:120 的超长日志行换行 3. **UT 测试用例补充**(12 个测试文件,新增约 20 个测试用例):覆盖修改的日志行所在的条件分支和异常路径,使 TSD UT 和 AICPU SD UT 增量覆盖率均达到 80%+ ## 变更类型 请选择本次代码的变更类型: - [x] ✨ 新功能(日志描述规范化) - [ ] 🐛 Bug 修复 - [ ] ♻️ 性能优化(正式格式、命名规范、代码整理等不影响功能也不会添加功能的代码变动) - [ ] ♻️ 重构等不涉及修改对外接口的代码变动 - [x] 🧪 测试(引入测试流程或工具的变动) - [ ] 📦 文档内容更新 ## 关联的Issue #891 ## 如何测试 请描述你打算如何测试此次变更: 1. **编译验证**:执行 bash tests/build_ut.sh --ut=aicpusd --target=aicpu_sched_ut 和 TSD UT 编译,确认无编译错误 2. **UT 覆盖率验证**:执行 UT 并检查增量覆盖率 ≥ 80%(覆盖路径包括:路径超长、设备非空闲、参数超限、线程创建失败、文件过大、SO 名称非法、环境变量开关、Buffer 初始化失败、Profiling 响应失败、内存分配失败) 3. **clang-format 验证**:clang-format --dry-run --Werror 确认所有修改文件格式合规 4. **功能验证**:UT 测试全部通过,无回归问题 ## 确认清单 - [x] 我的代码已遵循项目的代码规范 - [x] 已完成对所有代码的测试 - [x] 已更新所有相关的文档 - [x] 我已确保使用了合适的类型和标签,如:feat:,fix: - [x] 我已经仔细阅读了贡献指南(CONTRIBUTING.md),并理解了其中的所有规定,包括对提交commit message的格式和有效commit的合并) ## 附加信息 - 源文件修改仅涉及日志文本(aicpusd_info/aicpusd_err/TSD_RUN_INFO/TSD_ERROR 等日志宏的格式字符串),不改变任何代码逻辑 - UT 测试用例通过 MOCKER(pthread_create) mock 线程创建失败、MOCKER(halBuffInit) mock buffer 初始化失败等方式覆盖异常路径 See merge request: cann/runtime!4513 | 11 天前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
feat:aicpu日志整改 Co-authored-by: liu-lu<www.liulu824910939@qq.com> # message auto-generated for no-merge-commit merge: !4513 merge master into master feat:aicpu日志整改 Created-by: liu-lu Commit-by: liu-lu Merged-by: cann-robot Description: ## 描述 本次 PR 对 runtime 源码中的日志文本进行规范化,并补充 UT 测试用例确保覆盖率达标: 1. **日志文本规范化**(56 个源文件):修正语法错误(如 has exist → already exists)、添加参数单位(如 us、ms)、展开缩写(如 f2nf → full-to-notfull event)、补充空日志内容(如 TSD_ERROR("") → TSD_ERROR("insert package config to map failed")) 2. **clang-format 格式修复**(6 个源文件):修复超过 ColumnLimit:120 的超长日志行换行 3. **UT 测试用例补充**(12 个测试文件,新增约 20 个测试用例):覆盖修改的日志行所在的条件分支和异常路径,使 TSD UT 和 AICPU SD UT 增量覆盖率均达到 80%+ ## 变更类型 请选择本次代码的变更类型: - [x] ✨ 新功能(日志描述规范化) - [ ] 🐛 Bug 修复 - [ ] ♻️ 性能优化(正式格式、命名规范、代码整理等不影响功能也不会添加功能的代码变动) - [ ] ♻️ 重构等不涉及修改对外接口的代码变动 - [x] 🧪 测试(引入测试流程或工具的变动) - [ ] 📦 文档内容更新 ## 关联的Issue #891 ## 如何测试 请描述你打算如何测试此次变更: 1. **编译验证**:执行 bash tests/build_ut.sh --ut=aicpusd --target=aicpu_sched_ut 和 TSD UT 编译,确认无编译错误 2. **UT 覆盖率验证**:执行 UT 并检查增量覆盖率 ≥ 80%(覆盖路径包括:路径超长、设备非空闲、参数超限、线程创建失败、文件过大、SO 名称非法、环境变量开关、Buffer 初始化失败、Profiling 响应失败、内存分配失败) 3. **clang-format 验证**:clang-format --dry-run --Werror 确认所有修改文件格式合规 4. **功能验证**:UT 测试全部通过,无回归问题 ## 确认清单 - [x] 我的代码已遵循项目的代码规范 - [x] 已完成对所有代码的测试 - [x] 已更新所有相关的文档 - [x] 我已确保使用了合适的类型和标签,如:feat:,fix: - [x] 我已经仔细阅读了贡献指南(CONTRIBUTING.md),并理解了其中的所有规定,包括对提交commit message的格式和有效commit的合并) ## 附加信息 - 源文件修改仅涉及日志文本(aicpusd_info/aicpusd_err/TSD_RUN_INFO/TSD_ERROR 等日志宏的格式字符串),不改变任何代码逻辑 - UT 测试用例通过 MOCKER(pthread_create) mock 线程创建失败、MOCKER(halBuffInit) mock buffer 初始化失败等方式覆盖异常路径 See merge request: cann/runtime!4513 | 11 天前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
【fix】: 修复 aync 拼写错误为 async Co-authored-by: qq_64748107<2592856994@qq.com> # message auto-generated for no-merge-commit merge: !4311 merge fix/typo-fix into master 【fix】: 修复 aync 拼写错误为 async Created-by: qq_64748107 Commit-by: qq_64748107 Merged-by: cann-robot Description: # Pull Request ## 描述 ## 修改背景 queue_manager 中 asyncMemEnqueueBuffQId_ 等同类变量拼写正确,但 ayncMemBuffEventQInitialized_ 拼写错误(漏掉 s),风格不一致。 ## 修改内容 修复 4 个文件中 7 处 aync 拼写错误为 async: - queue_manager.h:变量声明 1 处 - queue_manager.cpp:变量使用 4 处(构造函数初始化、赋值、判断) - ide_daemon_hdc.cpp:注释 1 处 - client_entity.cpp:日志字符串 1 处 ## 验证 - 编译通过(host + device + 打包) - LLT 精准验收 53 个用例全部通过 - pre-commit(clang-format + OAT)通过 ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [x] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 --> ## 如何测试 描述测试此变更的步骤和前提条件: 1. 2. ## 核对清单 <!-- [x] 表示选中 --> - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [ ] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 See merge request: cann/runtime!4311 | 14 天前 | |
【fix】: 修复 aync 拼写错误为 async Co-authored-by: qq_64748107<2592856994@qq.com> # message auto-generated for no-merge-commit merge: !4311 merge fix/typo-fix into master 【fix】: 修复 aync 拼写错误为 async Created-by: qq_64748107 Commit-by: qq_64748107 Merged-by: cann-robot Description: # Pull Request ## 描述 ## 修改背景 queue_manager 中 asyncMemEnqueueBuffQId_ 等同类变量拼写正确,但 ayncMemBuffEventQInitialized_ 拼写错误(漏掉 s),风格不一致。 ## 修改内容 修复 4 个文件中 7 处 aync 拼写错误为 async: - queue_manager.h:变量声明 1 处 - queue_manager.cpp:变量使用 4 处(构造函数初始化、赋值、判断) - ide_daemon_hdc.cpp:注释 1 处 - client_entity.cpp:日志字符串 1 处 ## 验证 - 编译通过(host + device + 打包) - LLT 精准验收 53 个用例全部通过 - pre-commit(clang-format + OAT)通过 ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [x] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 --> ## 如何测试 描述测试此变更的步骤和前提条件: 1. 2. ## 核对清单 <!-- [x] 表示选中 --> - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [ ] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 See merge request: cann/runtime!4311 | 14 天前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
add opensource code Co-authored-by: duanpengliang<duanpengliang@huawei.com> | 7 个月前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
feat:aicpu日志整改 Co-authored-by: liu-lu<www.liulu824910939@qq.com> # message auto-generated for no-merge-commit merge: !4513 merge master into master feat:aicpu日志整改 Created-by: liu-lu Commit-by: liu-lu Merged-by: cann-robot Description: ## 描述 本次 PR 对 runtime 源码中的日志文本进行规范化,并补充 UT 测试用例确保覆盖率达标: 1. **日志文本规范化**(56 个源文件):修正语法错误(如 has exist → already exists)、添加参数单位(如 us、ms)、展开缩写(如 f2nf → full-to-notfull event)、补充空日志内容(如 TSD_ERROR("") → TSD_ERROR("insert package config to map failed")) 2. **clang-format 格式修复**(6 个源文件):修复超过 ColumnLimit:120 的超长日志行换行 3. **UT 测试用例补充**(12 个测试文件,新增约 20 个测试用例):覆盖修改的日志行所在的条件分支和异常路径,使 TSD UT 和 AICPU SD UT 增量覆盖率均达到 80%+ ## 变更类型 请选择本次代码的变更类型: - [x] ✨ 新功能(日志描述规范化) - [ ] 🐛 Bug 修复 - [ ] ♻️ 性能优化(正式格式、命名规范、代码整理等不影响功能也不会添加功能的代码变动) - [ ] ♻️ 重构等不涉及修改对外接口的代码变动 - [x] 🧪 测试(引入测试流程或工具的变动) - [ ] 📦 文档内容更新 ## 关联的Issue #891 ## 如何测试 请描述你打算如何测试此次变更: 1. **编译验证**:执行 bash tests/build_ut.sh --ut=aicpusd --target=aicpu_sched_ut 和 TSD UT 编译,确认无编译错误 2. **UT 覆盖率验证**:执行 UT 并检查增量覆盖率 ≥ 80%(覆盖路径包括:路径超长、设备非空闲、参数超限、线程创建失败、文件过大、SO 名称非法、环境变量开关、Buffer 初始化失败、Profiling 响应失败、内存分配失败) 3. **clang-format 验证**:clang-format --dry-run --Werror 确认所有修改文件格式合规 4. **功能验证**:UT 测试全部通过,无回归问题 ## 确认清单 - [x] 我的代码已遵循项目的代码规范 - [x] 已完成对所有代码的测试 - [x] 已更新所有相关的文档 - [x] 我已确保使用了合适的类型和标签,如:feat:,fix: - [x] 我已经仔细阅读了贡献指南(CONTRIBUTING.md),并理解了其中的所有规定,包括对提交commit message的格式和有效commit的合并) ## 附加信息 - 源文件修改仅涉及日志文本(aicpusd_info/aicpusd_err/TSD_RUN_INFO/TSD_ERROR 等日志宏的格式字符串),不改变任何代码逻辑 - UT 测试用例通过 MOCKER(pthread_create) mock 线程创建失败、MOCKER(halBuffInit) mock buffer 初始化失败等方式覆盖异常路径 See merge request: cann/runtime!4513 | 11 天前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 | |
Enable clang-format for queue_schedule Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge: !3789 merge precommit-queue_schedule-ut into master Enable clang-format for queue_schedule Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: ## 变更说明 - 取消 .pre-commit-config.yaml 中 clang-format 对 src/queue_schedule 的排除。 - 对 src/queue_schedule 执行 clang-format 格式整改。 - 不修改 queue_schedule 业务逻辑。 ## 验证 - find src/queue_schedule -type f | xargs pre-commit run --files:通过,clang-format Passed,OAT Passed。 - pre-commit run --files .pre-commit-config.yaml:无适用 hook,Skipped。 - 变更范围确认:仅包含 .pre-commit-config.yaml 和 src/queue_schedule。 ## 过程记录 中文过程文档已留存:task/runtime_precommit_format_rectification/queue_schedule_precommit_pr_process.md 说明:git diff --check 对 queue_schedule 报 trailing whitespace,定位为目录文件保留 CRLF 行尾导致 diff 中显示 \r。本次未额外做 LF 行尾转换,避免扩大格式整改范围。 See merge request: cann/runtime!3789 | 1 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 11 天前 | ||
| 1 个月前 | ||
| 11 天前 | ||
| 11 天前 | ||
| 11 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 11 天前 | ||
| 1 个月前 | ||
| 11 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 11 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 9 天前 | ||
| 11 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 11 天前 | ||
| 1 个月前 | ||
| 11 天前 | ||
| 1 个月前 | ||
| 11 天前 | ||
| 1 个月前 | ||
| 14 天前 | ||
| 14 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 7 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 11 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 |