文件最后提交记录最后更新时间
refactor: restructure UT stub files to enable standalone execution without CANN runtime Co-authored-by: XuebinYang<yangxuebin6@hisilicon.com> # message auto-generated for no-merge-commit merge: !117 merge master into master refactor: restructure UT stub files to enable standalone execution without CANN runtime Created-by: XuebinYang Commit-by: XuebinYang Merged-by: cann-robot Description: # Pull Request ## 描述 refactor: restructure UT stub files to enable standalone execution without CANN runtime Main changes: - Create stub directory for stub files including acl/acl.h, acl/acl_rt.h, etc. - Define aclrtTask as void* type to align with real CANN headers - Update source code to use acl/acl.h instead of rt_sk_intf.h - Add stub files for securec.h, err_mgr.h, dlog_pub.h, etc. - Update CMakeLists.txt to adapt to new directory structure - Fix sk_node.cpp to access aclrtTask members via kernelParams instead of direct access Enable UT to run independently without depending on CANN runtime libraries ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [ ] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [x] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 --> ## 如何测试 描述测试此变更的步骤和前提条件: 1. 2. ## 核对清单 <!-- [x] 表示选中 --> - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 See merge request: cann/graph-autofusion!1172 个月前
feat(aot): add PrecomputeSyncRelationsByMixGroups for mix kernel sync Co-authored-by: sjtulxh<liaoxiaohui3@hisilicon.com> # message auto-generated for no-merge-commit merge: !348 merge master into master feat(aot): add PrecomputeSyncRelationsByMixGroups for mix kernel sync Created-by: sjtulxh Commit-by: sjtulxh Merged-by: cann-robot Description: # Pull Request ## 描述 新增 PrecomputeSyncRelationsByMixGroups 方法,按 Mix Kernel(AIC_1_1/AIC_1_2) 分组拆分任务并分别计算同步关系,替代原有的全局图拓扑同步计算方式。 主要变更: - 新增 PrecomputeSyncRelationsByMixGroups 函数,将任务按 mix/non-mix 交替分组,每组独立执行 InitTaskSyncInfos 和同步关系计算,最后合并结果 - Build 函数中增加 enableMixKernelSplit 开关(当前默认关闭), 启用后走 MixGroups 路径,关闭时保持原有逻辑不变 ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [ ] 🐛 Bug 修复 - [x] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 --> ## 如何测试 描述测试此变更的步骤和前提条件: 1. 2. ## 核对清单 <!-- [x] 表示选中 --> - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 See merge request: cann/graph-autofusion!34824 天前
feat(constant-codegen): add constant array generation for TaskQue optimization Co-authored-by: XuebinYang<yangxuebin6@hisilicon.com> # message auto-generated for no-merge-commit merge: !206 merge master into master feat(constant-codegen): add constant array generation for TaskQue optimization Created-by: XuebinYang Commit-by: XuebinYang Merged-by: cann-robot Description: # Pull Request ## 描述 feat(constant-codegen): add constant array generation for TaskQue optimization Implement a new constant code generation module that converts runtime TaskQue dispatch into compile-time constant arrays for performance optimization. Key changes: - Add sk_constant_codegen.cpp/h: ConstantCodeGenerator class - Generate compile-time constant TaskInfo structures from runtime data - Produce specialized entry functions with unrolled task execution - JIT compile via aclrtc and resolve funcHandle at build time - Dump generated source (.asc) and binary (.bin) to sk_meta directory - Add detailed logging for debugging and troubleshooting - Register CONSTANT_CODEGEN option (default: enabled) Integration: - Modify GenEntryInfo() to try constant codegen first, fallback to original logic if disabled or failed - Replace runtime funcHandle with compile-time specialized funcHandle ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [ ] 🐛 Bug 修复 - [x] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 --> ## 如何测试 描述测试此变更的步骤和前提条件: 1. 2. ## 核对清单 <!-- [x] 表示选中 --> - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:feat:, fix:) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 See merge request: cann/graph-autofusion!2062 个月前