| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
修复输入张量大小计算问题 Co-authored-by: zhangyike<zhangyike5@huawei.com> # message auto-generated for no-merge-commit merge: !1146 merge 324-ctx into master 修复输入张量大小计算问题 Created-by: zhangyike Commit-by: zhangyike Merged-by: cann-robot Description: ## 描述 修复了 ContextBuilder 在构建 Tiling Context 时的输入张量大小计算问题。 1. context_builder_impl.cpp 修改 问题: BuildTilingContext() 函数中,tensorValueVec 和 tensorVec 的大小被错误地设置为 inputNum_ + outputNum_,导致:数组索引计算越界;后续GetPlatFormInfo接口获取地址偏移。 修改后输出张量已由 tensorValueVecOut 单独处理。 ## 关联的Issue 关联Issue [#324](https://gitcode.com/cann/asc-devkit/issues/324) ## 测试 单元测试、二级冒烟 ## 文档更新 不涉及 ## 类型标签 <!-- [x] 表示选中 --> - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!1146 | 6 个月前 | |
printf adapt pure simt Co-authored-by: louyuxuan<louyuxuan@huawei.com> # message auto-generated for no-merge-commit merge: !1247 merge bugfix into master printf adapt pure simt Created-by: louyuxuan Commit-by: louyuxuan Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> printf 适配 simt ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!1247 | 6 个月前 | |
repaire alarms Co-authored-by: qq_39172959<caibinbin3@huawei.com> # message auto-generated for no-merge-commit merge: !1149 merge br_common_method into master repaire alarms Created-by: qq_39172959 Commit-by: qq_39172959 Merged-by: cann-robot Description: ## 描述 ceil_division公共函数的告警修复,删除空行 ## 关联的Issue [#274](https://gitcode.com/cann/asc-devkit/issues/274) ## 测试 线上UT ## 文档更新 NA ## 类型标签 <!-- [x] 表示选中 --> - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!1149 | 6 个月前 | |
单词拼写检查 Co-authored-by: chenmyk<chenmingyu16@huawei.com> # message auto-generated for no-merge-commit merge: !249 merge spelling_check_p1 into master 单词拼写检查 Created-by: chenmyk Commit-by: chenmyk Merged-by: cann-robot Description: ## 描述 拼写检查,修改单词拼写错误 ## 关联的Issue 关联Issue [#76](https://gitcode.com/cann/asc-devkit/issues/76) ## 测试 二级冒烟 ## 文档更新 docs/api/context/Copy.md examples/03_libraries/03_normalization/normalize/README.md examples/03_libraries/09_transpose/broadcast/README.md ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:开源拼写检查 See merge request: cann/asc-devkit!249 | 7 个月前 | |
修复platform_ascendc ERROR日志 Co-authored-by: zhangyike<zhangyike5@huawei.com> # message auto-generated for no-merge-commit merge: !1251 merge 327-plat into master 修复platform_ascendc ERROR日志 Created-by: zhangyike Commit-by: zhangyike Merged-by: cann-robot Description: ## 描述 在部分板端环境下,通过 aclrtGetDevice 获取设备 ID 可能会失败,导致报错,不影响算子 Tiling 功能。 修改方式: 简化设备 ID 获取逻辑,移除通过 dlopen 动态加载 aclrtGetDevice 的方式,直接使用默认设备 ID 0。 修改 platform_ascendc.cpp 中的设备 ID 获取逻辑: 删除 dlopen/dlsym 动态加载 aclrtGetDevice 的代码 直接使用默认值 deviceId = 0 保留 GetRuntimePlatformInfosByDevice 调用 ## 关联的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!1251 | 6 个月前 | |
basic_api、c_api、tensor_api中公共组件的解耦 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !468 merge master into master basic_api、c_api、tensor_api中公共组件的解耦 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 共新建三个公共文件,具体路径及用途如下: - ./impl/utils/common_types.h:用于存放公共的结构体、类等数据结构定义; - ./impl/utils/sys_constants.h:用于存放系统级公共常量定义; - ./impl/utils/macros.h:用于存放公共宏定义。 同时,从 basic_api、c_api、tensor_api 等模块中抽离出共用代码,形成可被所有 API 复用的公共部分。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> 关联Issue [#146](https://gitcode.com/cann/asc-devkit/issues/146) ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> 本地自验证、UT、二级冒烟 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> NA ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:公共组件解耦 See merge request: cann/asc-devkit!468 | 7 个月前 | |
归一Hardware定义 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !895 merge master into master 归一Hardware定义 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 当前basic_api/tensor_api/debug中定义了多个完全重复的Hardware,需要将其归一。 修改后运行UT时会出现重复定义问题,这是因为tensor_api UT中引入了基础API的内容,本单代码的作用就是 - 将这些重复定义的Hardware全部删除,仅在impl/utils/common_types.h中保留一份,其余文件均引用该处定义。 - 修复tensor_api错误包含的问题。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> 关联的Issue: [#284](https://gitcode.com/cann/asc-devkit/issues/284) ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> UT测试,二级冒烟。 **UT测试结果(部分)** [2026/03/17 16:22:59.965 GMT+08:00] [----------] 7 tests from Tensor_Api_Layout [2026/03/17 16:22:59.965 GMT+08:00] [ RUN ] Tensor_Api_Layout.ShapeAndStrideOperation [2026/03/17 16:22:59.965 GMT+08:00] [ OK ] Tensor_Api_Layout.ShapeAndStrideOperation (0 ms) [2026/03/17 16:22:59.965 GMT+08:00] [ RUN ] Tensor_Api_Layout.IsTupleOperation [2026/03/17 16:22:59.965 GMT+08:00] [ OK ] Tensor_Api_Layout.IsTupleOperation (0 ms) [2026/03/17 16:22:59.965 GMT+08:00] [ RUN ] Tensor_Api_Layout.LayoutOperation [2026/03/17 16:22:59.966 GMT+08:00] [ OK ] Tensor_Api_Layout.LayoutOperation (0 ms) [2026/03/17 16:22:59.966 GMT+08:00] [ RUN ] Tensor_Api_Layout.IsLayoutOperation [2026/03/17 16:22:59.966 GMT+08:00] [ OK ] Tensor_Api_Layout.IsLayoutOperation (0 ms) [2026/03/17 16:22:59.966 GMT+08:00] [ RUN ] Tensor_Api_Layout.MakeLayoutByShapeOperation [2026/03/17 16:22:59.966 GMT+08:00] [ OK ] Tensor_Api_Layout.MakeLayoutByShapeOperation (0 ms) [2026/03/17 16:22:59.966 GMT+08:00] [ RUN ] Tensor_Api_Layout.LayoutSizeOperation [2026/03/17 16:22:59.966 GMT+08:00] [ OK ] Tensor_Api_Layout.LayoutSizeOperation (0 ms) [2026/03/17 16:22:59.966 GMT+08:00] [ RUN ] Tensor_Api_Layout.StaticLayoutOperation [2026/03/17 16:22:59.966 GMT+08:00] [ OK ] Tensor_Api_Layout.StaticLayoutOperation (0 ms) [2026/03/17 16:22:59.966 GMT+08:00] [----------] 7 tests from Tensor_Api_Layout (0 ms total) [2026/03/17 16:22:59.966 GMT+08:00] [2026/03/17 16:22:59.966 GMT+08:00] [----------] 3 tests from Tensor_Api_Atom [2026/03/17 16:22:59.966 GMT+08:00] [ RUN ] Tensor_Api_Atom.CopyGM2L1Operation [2026/03/17 16:22:59.966 GMT+08:00] [ OK ] Tensor_Api_Atom.CopyGM2L1Operation (0 ms) [2026/03/17 16:22:59.966 GMT+08:00] [ RUN ] Tensor_Api_Atom.CopyL12L0Operation [2026/03/17 16:22:59.966 GMT+08:00] [ OK ] Tensor_Api_Atom.CopyL12L0Operation (0 ms) [2026/03/17 16:22:59.966 GMT+08:00] [ RUN ] Tensor_Api_Atom.CopyL0C2GMOperation [2026/03/17 16:22:59.966 GMT+08:00] [ OK ] Tensor_Api_Atom.CopyL0C2GMOperation (0 ms) [2026/03/17 16:22:59.966 GMT+08:00] [----------] 3 tests from Tensor_Api_Atom (0 ms total) **样例测试结果(部分)** [test_case.py:558]: [SUCCESS] testcase: kernel_power_operator_half_12288_0_1 [SUCCESS] All 45 testcases succeeded. ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> NA ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!895 | 6 个月前 | |
basic_api、c_api、tensor_api中公共组件的解耦 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !468 merge master into master basic_api、c_api、tensor_api中公共组件的解耦 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 共新建三个公共文件,具体路径及用途如下: - ./impl/utils/common_types.h:用于存放公共的结构体、类等数据结构定义; - ./impl/utils/sys_constants.h:用于存放系统级公共常量定义; - ./impl/utils/macros.h:用于存放公共宏定义。 同时,从 basic_api、c_api、tensor_api 等模块中抽离出共用代码,形成可被所有 API 复用的公共部分。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> 关联Issue [#146](https://gitcode.com/cann/asc-devkit/issues/146) ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> 本地自验证、UT、二级冒烟 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> NA ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:公共组件解耦 See merge request: cann/asc-devkit!468 | 7 个月前 | |
decouple debug apis Co-authored-by: haipingmao<maohaiping@huawei.com> Co-authored-by: yhkz9211<huyulin4@huawei.com> # message auto-generated for no-merge-commit merge: !644 merge pr_564 into master decouple debug apis Created-by: yhkz9211 Commit-by: yhkz9211;haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> printf,assert,dump,timestamp等维测接口解耦,替换原有基础api里相应维测接口的实现,并且删除capi里冗余维测接口部分的代码 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> 关联Issue [#230](https://gitcode.com/cann/asc-devkit/issues/230) ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> 本地样例及测试用例验证 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> 不涉及 ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/asc-devkit!644 | 6 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 6 个月前 | ||
| 6 个月前 | ||
| 6 个月前 | ||
| 7 个月前 | ||
| 6 个月前 | ||
| 7 个月前 | ||
| 6 个月前 | ||
| 7 个月前 | ||
| 6 个月前 |