| Files | Last commit | Last update |
|---|---|---|
Kirin9020 api迁移 Co-authored-by: wangrulong<wanglong229@h-partners.com> Co-authored-by: li_fangyuan<lifangyuan16@h-partners.com> Co-authored-by: yurui4717<yurui29@h-partners.com> Co-authored-by: Dukexin004<dukexin@h-partners.com> Co-authored-by: Zhezhezhezhe0414<zhangzhe180@h-partners.com> # message auto-generated for no-merge-commit merge: !5813 merge master into master Kirin9020 api迁移 Created-by: Dukexin004 Commit-by: Dukexin004;Zhezhezhezhe0414;wangrulong;yurui4717;li_fangyuan Merged-by: cann-robot Description: ## 描述 基础API和微指令API的迁移见此pr 设计版本:3103   ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1974 ## 测试 1、kirin验证:使用测试给的社区cann kirin算子用例,进行3103和5101平台的自定义算子用例回归,通过自定义算子调用本次迁移的API,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5813 | 23 days ago | |
refactor: include下基础api的格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4401 merge br_codestyle_include into master refactor: include下基础api的格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 重构include下基础api的代码,使其满足clang-format格式要求。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> - compile - UT ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> NA ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4401 | 4 months ago | |
Kirin9020 api迁移 Co-authored-by: wangrulong<wanglong229@h-partners.com> Co-authored-by: li_fangyuan<lifangyuan16@h-partners.com> Co-authored-by: yurui4717<yurui29@h-partners.com> Co-authored-by: Dukexin004<dukexin@h-partners.com> Co-authored-by: Zhezhezhezhe0414<zhangzhe180@h-partners.com> # message auto-generated for no-merge-commit merge: !5813 merge master into master Kirin9020 api迁移 Created-by: Dukexin004 Commit-by: Dukexin004;Zhezhezhezhe0414;wangrulong;yurui4717;li_fangyuan Merged-by: cann-robot Description: ## 描述 基础API和微指令API的迁移见此pr 设计版本:3103   ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1974 ## 测试 1、kirin验证:使用测试给的社区cann kirin算子用例,进行3103和5101平台的自定义算子用例回归,通过自定义算子调用本次迁移的API,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5813 | 23 days ago | |
feat: 新增Unalign命名的非对齐搬运接口并兼容旧接口 Co-authored-by: lihuaichao<lihuaichao1@huawei.com> # message auto-generated for no-merge-commit merge: !7250 merge feat-basic-api-unalign into master feat: 新增Unalign命名的非对齐搬运接口并兼容旧接口 Created-by: lihuaichao Commit-by: lihuaichao Merged-by: cann-robot Description: ## 描述 新增 LoadUnalignPre、LoadUnalign、StoreUnalign、StoreUnalignPost,共覆盖 12 个重载,修正非对齐搬运接口的命名。保留原有 UnAlign 接口及实现,新接口直接调用已有 DataCopyUnAlign*Impl,不增加 deprecated、message 或其他告警。 examples 调用统一使用新名称;三个兼容文档保留新旧接口说明和原型。 ## 关联的Issue 无。 ## 测试 在衍合到 CANN master(c152a7fd7)后重新验证: - 9 项头文件编译检查全部通过:dav-c310-vec、dav-c310-cube、dav-510r2 的总头文件和单头文件检查,以及 dav-3510、dav-2201、dav-2002 的 host 检查。 - 使用 CANN 9.3.0,在 dav-3510 仿真模式下验证 move 场景 1/2、非对齐搬运场景 1/2、squeeze,共 5 个样例,编译、运行及精度全部通过;输出与 golden 逐字节一致,最大绝对误差为 0。设备端依赖检查确认使用本分支的 include 和 impl。 - 检查 12 个新旧重载的模板参数、默认值、函数参数和实现调用一致;检查文档旧名称残留及重命名链接;git diff --check 通过。 - 未进行真机验证。 ## 文档更新 更新 API 文档、索引、编程指南和样例 README。三个兼容文档文件名改为 Unalign,并同步更新文档链接;保留原始 @ref 资源引用内容。 ## 类型标签 - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [x] 🧪 test: 新增或修改测试 - [x] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7250 | 14 days ago | |
同步ascend960相关代码 Co-authored-by: Ekoxier<husizhe@huawei.com> Co-authored-by: hyolee<lihongbo14@huawei.com> Co-authored-by: maohaodi<maohaodi@huawei.com> Co-authored-by: xumengxuan<xumengxuan2@huawei.com> Co-authored-by: zhangfeifan0709<zhangfeifan7@huawei.com> Co-authored-by: zhangjiru<zhangjiru1@huawei.com> # message auto-generated for no-merge-commit merge: !6755 merge adapt_121 into master 同步ascend960相关代码 Created-by: maohaodi Commit-by: maohaodi;Ekoxier;zhangjiru;xumengxuan;hyolee;zhangfeifan0709 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 同步ascend960相关代码,包括basic_api, c_api, tensor_api等,不含adv_api ## 关联的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!6755 | 1 month ago | |
kirin9050 微指令api Co-authored-by: wangrulong<wanglong229@h-partners.com> Co-authored-by: li_fangyuan<lifangyuan16@h-partners.com> Co-authored-by: yurui4717<yurui29@h-partners.com> Co-authored-by: Dukexin004<dukexin@h-partners.com> Co-authored-by: Zhezhezhezhe0414<zhangzhe180@h-partners.com> # message auto-generated for no-merge-commit merge: !6914 merge master into master kirin9050 微指令api Created-by: Dukexin004 Commit-by: Dukexin004;li_fangyuan;Zhezhezhezhe0414;yurui4717;wangrulong Merged-by: cann-robot Description: ## 描述 部分微指令API的迁移见此pr 设计版本:5101 微指令API:   ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1974 ## 测试 1、kirin验证:使用测试给的社区cann kirin算子用例,进行3103和5101平台的自定义算子用例回归,通过自定义算子调用本次迁移的API,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!6914 | 18 days ago | |
refactor: include下基础api的格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4401 merge br_codestyle_include into master refactor: include下基础api的格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 重构include下基础api的代码,使其满足clang-format格式要求。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> - compile - UT ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> NA ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4401 | 4 months ago | |
Kirin9020 api迁移 Co-authored-by: wangrulong<wanglong229@h-partners.com> Co-authored-by: li_fangyuan<lifangyuan16@h-partners.com> Co-authored-by: yurui4717<yurui29@h-partners.com> Co-authored-by: Dukexin004<dukexin@h-partners.com> Co-authored-by: Zhezhezhezhe0414<zhangzhe180@h-partners.com> # message auto-generated for no-merge-commit merge: !5813 merge master into master Kirin9020 api迁移 Created-by: Dukexin004 Commit-by: Dukexin004;Zhezhezhezhe0414;wangrulong;yurui4717;li_fangyuan Merged-by: cann-robot Description: ## 描述 基础API和微指令API的迁移见此pr 设计版本:3103   ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1974 ## 测试 1、kirin验证:使用测试给的社区cann kirin算子用例,进行3103和5101平台的自定义算子用例回归,通过自定义算子调用本次迁移的API,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5813 | 23 days ago | |
Kirin9020 api迁移 Co-authored-by: wangrulong<wanglong229@h-partners.com> Co-authored-by: li_fangyuan<lifangyuan16@h-partners.com> Co-authored-by: yurui4717<yurui29@h-partners.com> Co-authored-by: Dukexin004<dukexin@h-partners.com> Co-authored-by: Zhezhezhezhe0414<zhangzhe180@h-partners.com> # message auto-generated for no-merge-commit merge: !5813 merge master into master Kirin9020 api迁移 Created-by: Dukexin004 Commit-by: Dukexin004;Zhezhezhezhe0414;wangrulong;yurui4717;li_fangyuan Merged-by: cann-robot Description: ## 描述 基础API和微指令API的迁移见此pr 设计版本:3103   ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1974 ## 测试 1、kirin验证:使用测试给的社区cann kirin算子用例,进行3103和5101平台的自定义算子用例回归,通过自定义算子调用本次迁移的API,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5813 | 23 days ago | |
Kirin9020 api迁移 Co-authored-by: wangrulong<wanglong229@h-partners.com> Co-authored-by: li_fangyuan<lifangyuan16@h-partners.com> Co-authored-by: yurui4717<yurui29@h-partners.com> Co-authored-by: Dukexin004<dukexin@h-partners.com> Co-authored-by: Zhezhezhezhe0414<zhangzhe180@h-partners.com> # message auto-generated for no-merge-commit merge: !5813 merge master into master Kirin9020 api迁移 Created-by: Dukexin004 Commit-by: Dukexin004;Zhezhezhezhe0414;wangrulong;yurui4717;li_fangyuan Merged-by: cann-robot Description: ## 描述 基础API和微指令API的迁移见此pr 设计版本:3103   ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1974 ## 测试 1、kirin验证:使用测试给的社区cann kirin算子用例,进行3103和5101平台的自定义算子用例回归,通过自定义算子调用本次迁移的API,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5813 | 23 days ago | |
Kirin9020 api迁移 Co-authored-by: wangrulong<wanglong229@h-partners.com> Co-authored-by: li_fangyuan<lifangyuan16@h-partners.com> Co-authored-by: yurui4717<yurui29@h-partners.com> Co-authored-by: Dukexin004<dukexin@h-partners.com> Co-authored-by: Zhezhezhezhe0414<zhangzhe180@h-partners.com> # message auto-generated for no-merge-commit merge: !5813 merge master into master Kirin9020 api迁移 Created-by: Dukexin004 Commit-by: Dukexin004;Zhezhezhezhe0414;wangrulong;yurui4717;li_fangyuan Merged-by: cann-robot Description: ## 描述 基础API和微指令API的迁移见此pr 设计版本:3103   ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1974 ## 测试 1、kirin验证:使用测试给的社区cann kirin算子用例,进行3103和5101平台的自定义算子用例回归,通过自定义算子调用本次迁移的API,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5813 | 23 days ago | |
sort/topk: 直方图BIN数按VL参数化,适配5162中VL=32场景 Co-authored-by: yanjiang-treasure<yanjiangbao@hisilicon.com> # message auto-generated for no-merge-commit merge: !6894 merge fix_hist_api into master sort/topk: 直方图BIN数按VL参数化,适配5162中VL=32场景 Created-by: yanjiang-treasure Commit-by: yanjiang-treasure Merged-by: cann-robot Description: ## 描述 sort/topk: 直方图BIN数按VL参数化,适配5162中VL=32场景,不影响VL=256的场景 本 PR 针对 5162 架构(VL=32)的 sort/topk 算子,将直方图(histogram)的 BIN 数量由固定值改为按向量长度参数化(partNum = 512 / GetVecLen()),并新增 5162 专用实现文件,使窄 VL 场景下只需要维持较小的累计表寄存器,而 VL=256 的场景继续走原有实现分支。同时把 HistogramsBinType 枚举从 8 个 bin 扩展到 16 个,以支持新的分区数量。 主要改动 - 新增 5162 专用 sort 实现文件: 新增 sort_5162_impl.h,提供按 sizeof(T) 重载的 ConvertRegToWithShift(u8/u16/u32/u64 拆分寄存器并右移指定位偏移)、按 partNum 数组展开的 HistZeroCumAll/HistAccumAll/HistStoreAll/HistWindowFoldAll、以及适配窄 VL 的 LocalSort 与 GetExclusiveSum。 直方图 bin 数与寄存器布局参数化: 各实现中以 constexpr uint32_t partNum = 512 / GetVecLen()(及 u16PerVL、binShift = Log2Pow2(u16PerVL))替代固定 bin 数,使 BIN 数量随 VL 变化,VL=32 时只保留单个较小的累计表以避免寄存器溢出。 - sort_impl.h 按架构切换实现: 增加 #if defined(__NPU_ARCH__) && (__NPU_ARCH__ == 5162) 条件包含 sort_5162_impl.h,并将原有的 ConvertRegToWithShift、GetExclusiveSum、LocalSort 用 #if !(... == 5162) 包裹,避免 5162 下重复定义,其余架构行为不变。 - topk 的累计数据生成适配 5162: 在 topk_3510_impl.h 中为 GenerateAccumulateData 增加 5162 分支,改用 internal::HistZeroCumAll/HistAccumAll/HistStoreAll 与 partNum 大小的 acumHist 数组完成统计与落盘,非 5162 保持原实现。 - 扩展直方图 bin 类型枚举: kernel_reg_compute_utils.h 中 HistogramsBinType 由 BIN0~BIN7 扩展到 BIN8~BIN15,为参数化后的更多 bin 分区提供枚举支持。 ## 关联的Issue NA ## 测试 5162 sort/topk相关算子验证,冒烟测试(其他项目走原来分支,不受影响) ## 文档更新 NA ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!6894 | 14 days ago | |
Kirin9020 api迁移 Co-authored-by: wangrulong<wanglong229@h-partners.com> Co-authored-by: li_fangyuan<lifangyuan16@h-partners.com> Co-authored-by: yurui4717<yurui29@h-partners.com> Co-authored-by: Dukexin004<dukexin@h-partners.com> Co-authored-by: Zhezhezhezhe0414<zhangzhe180@h-partners.com> # message auto-generated for no-merge-commit merge: !5813 merge master into master Kirin9020 api迁移 Created-by: Dukexin004 Commit-by: Dukexin004;Zhezhezhezhe0414;wangrulong;yurui4717;li_fangyuan Merged-by: cann-robot Description: ## 描述 基础API和微指令API的迁移见此pr 设计版本:3103   ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1974 ## 测试 1、kirin验证:使用测试给的社区cann kirin算子用例,进行3103和5101平台的自定义算子用例回归,通过自定义算子调用本次迁移的API,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5813 | 23 days ago | |
Kirin9020 api迁移 Co-authored-by: wangrulong<wanglong229@h-partners.com> Co-authored-by: li_fangyuan<lifangyuan16@h-partners.com> Co-authored-by: yurui4717<yurui29@h-partners.com> Co-authored-by: Dukexin004<dukexin@h-partners.com> Co-authored-by: Zhezhezhezhe0414<zhangzhe180@h-partners.com> # message auto-generated for no-merge-commit merge: !5813 merge master into master Kirin9020 api迁移 Created-by: Dukexin004 Commit-by: Dukexin004;Zhezhezhezhe0414;wangrulong;yurui4717;li_fangyuan Merged-by: cann-robot Description: ## 描述 基础API和微指令API的迁移见此pr 设计版本:3103   ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1974 ## 测试 1、kirin验证:使用测试给的社区cann kirin算子用例,进行3103和5101平台的自定义算子用例回归,通过自定义算子调用本次迁移的API,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5813 | 23 days ago | |
Kirin9020 api迁移 Co-authored-by: wangrulong<wanglong229@h-partners.com> Co-authored-by: li_fangyuan<lifangyuan16@h-partners.com> Co-authored-by: yurui4717<yurui29@h-partners.com> Co-authored-by: Dukexin004<dukexin@h-partners.com> Co-authored-by: Zhezhezhezhe0414<zhangzhe180@h-partners.com> # message auto-generated for no-merge-commit merge: !5813 merge master into master Kirin9020 api迁移 Created-by: Dukexin004 Commit-by: Dukexin004;Zhezhezhezhe0414;wangrulong;yurui4717;li_fangyuan Merged-by: cann-robot Description: ## 描述 基础API和微指令API的迁移见此pr 设计版本:3103   ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1974 ## 测试 1、kirin验证:使用测试给的社区cann kirin算子用例,进行3103和5101平台的自定义算子用例回归,通过自定义算子调用本次迁移的API,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5813 | 23 days ago | |
Kirin9020 api迁移 Co-authored-by: wangrulong<wanglong229@h-partners.com> Co-authored-by: li_fangyuan<lifangyuan16@h-partners.com> Co-authored-by: yurui4717<yurui29@h-partners.com> Co-authored-by: Dukexin004<dukexin@h-partners.com> Co-authored-by: Zhezhezhezhe0414<zhangzhe180@h-partners.com> # message auto-generated for no-merge-commit merge: !5813 merge master into master Kirin9020 api迁移 Created-by: Dukexin004 Commit-by: Dukexin004;Zhezhezhezhe0414;wangrulong;yurui4717;li_fangyuan Merged-by: cann-robot Description: ## 描述 基础API和微指令API的迁移见此pr 设计版本:3103   ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1974 ## 测试 1、kirin验证:使用测试给的社区cann kirin算子用例,进行3103和5101平台的自定义算子用例回归,通过自定义算子调用本次迁移的API,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5813 | 23 days ago | |
Kirin9020 api迁移 Co-authored-by: wangrulong<wanglong229@h-partners.com> Co-authored-by: li_fangyuan<lifangyuan16@h-partners.com> Co-authored-by: yurui4717<yurui29@h-partners.com> Co-authored-by: Dukexin004<dukexin@h-partners.com> Co-authored-by: Zhezhezhezhe0414<zhangzhe180@h-partners.com> # message auto-generated for no-merge-commit merge: !5813 merge master into master Kirin9020 api迁移 Created-by: Dukexin004 Commit-by: Dukexin004;Zhezhezhezhe0414;wangrulong;yurui4717;li_fangyuan Merged-by: cann-robot Description: ## 描述 基础API和微指令API的迁移见此pr 设计版本:3103   ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1974 ## 测试 1、kirin验证:使用测试给的社区cann kirin算子用例,进行3103和5101平台的自定义算子用例回归,通过自定义算子调用本次迁移的API,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5813 | 23 days ago | |
Kirin9020 api迁移 Co-authored-by: wangrulong<wanglong229@h-partners.com> Co-authored-by: li_fangyuan<lifangyuan16@h-partners.com> Co-authored-by: yurui4717<yurui29@h-partners.com> Co-authored-by: Dukexin004<dukexin@h-partners.com> Co-authored-by: Zhezhezhezhe0414<zhangzhe180@h-partners.com> # message auto-generated for no-merge-commit merge: !5813 merge master into master Kirin9020 api迁移 Created-by: Dukexin004 Commit-by: Dukexin004;Zhezhezhezhe0414;wangrulong;yurui4717;li_fangyuan Merged-by: cann-robot Description: ## 描述 基础API和微指令API的迁移见此pr 设计版本:3103   ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1974 ## 测试 1、kirin验证:使用测试给的社区cann kirin算子用例,进行3103和5101平台的自定义算子用例回归,通过自定义算子调用本次迁移的API,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5813 | 23 days ago | |
refactor: 将带 enablePreReadIgnoreSync 的搬运声明移出架构宏 Co-authored-by: Ekoxier<husizhe@huawei.com> # message auto-generated for no-merge-commit merge: !7396 merge refactor/data-copy-preread-declarations into master refactor: 将带 enablePreReadIgnoreSync 的搬运声明移出架构宏 Created-by: Ekoxier Commit-by: Ekoxier Merged-by: cann-robot Description: # Pull Request ## 描述 将 kernel_operator_data_copy_intf.h 中带 enablePreReadIgnoreSync 参数的 ND2NZ DataCopy 和 DataCopyPad 声明移出架构条件宏,与其他同类重载保持一致。 仅调整声明位置;函数签名、默认模板参数和实现保持不变。末尾 bool 参数无默认值,可区分原有重载;不扩大各架构的实现支持范围。 ## 变更类型 - [x] ♻️ 重构 ## 关联的Issue 无。 ## 如何测试 - 从实际头文件提取完整声明区,用占位类型进行 C++17 隔离编译:15 个架构宏值及未定义宏的情况均通过,普通类型和 TensorTrait 相关调用未出现歧义,各配置均可见全部 9 个声明。 - 变基后确认头文件与已验证版本完全一致。 - git diff --check origin/master...HEAD 通过。 - 提交检查通过,包括 clang-format、codespell 和 OAT。 - 未执行完整设备编译或 NPU 测试。 ## 核对清单 - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 无需更新文档:仅调整已有声明位置 - [x] 标题使用了合适的类型标签 - [x] 已阅读 CONTRIBUTING.md See merge request: cann/asc-devkit!7396 | 10 days ago | |
Kirin9020 api迁移 Co-authored-by: wangrulong<wanglong229@h-partners.com> Co-authored-by: li_fangyuan<lifangyuan16@h-partners.com> Co-authored-by: yurui4717<yurui29@h-partners.com> Co-authored-by: Dukexin004<dukexin@h-partners.com> Co-authored-by: Zhezhezhezhe0414<zhangzhe180@h-partners.com> # message auto-generated for no-merge-commit merge: !5813 merge master into master Kirin9020 api迁移 Created-by: Dukexin004 Commit-by: Dukexin004;Zhezhezhezhe0414;wangrulong;yurui4717;li_fangyuan Merged-by: cann-robot Description: ## 描述 基础API和微指令API的迁移见此pr 设计版本:3103   ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1974 ## 测试 1、kirin验证:使用测试给的社区cann kirin算子用例,进行3103和5101平台的自定义算子用例回归,通过自定义算子调用本次迁移的API,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5813 | 23 days ago | |
kirin9050 微指令api Co-authored-by: wangrulong<wanglong229@h-partners.com> Co-authored-by: li_fangyuan<lifangyuan16@h-partners.com> Co-authored-by: yurui4717<yurui29@h-partners.com> Co-authored-by: Dukexin004<dukexin@h-partners.com> Co-authored-by: Zhezhezhezhe0414<zhangzhe180@h-partners.com> # message auto-generated for no-merge-commit merge: !6914 merge master into master kirin9050 微指令api Created-by: Dukexin004 Commit-by: Dukexin004;li_fangyuan;Zhezhezhezhe0414;yurui4717;wangrulong Merged-by: cann-robot Description: ## 描述 部分微指令API的迁移见此pr 设计版本:5101 微指令API:   ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1974 ## 测试 1、kirin验证:使用测试给的社区cann kirin算子用例,进行3103和5101平台的自定义算子用例回归,通过自定义算子调用本次迁移的API,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!6914 | 18 days ago | |
Kirin9020 api迁移 Co-authored-by: wangrulong<wanglong229@h-partners.com> Co-authored-by: li_fangyuan<lifangyuan16@h-partners.com> Co-authored-by: yurui4717<yurui29@h-partners.com> Co-authored-by: Dukexin004<dukexin@h-partners.com> Co-authored-by: Zhezhezhezhe0414<zhangzhe180@h-partners.com> # message auto-generated for no-merge-commit merge: !5813 merge master into master Kirin9020 api迁移 Created-by: Dukexin004 Commit-by: Dukexin004;Zhezhezhezhe0414;wangrulong;yurui4717;li_fangyuan Merged-by: cann-robot Description: ## 描述 基础API和微指令API的迁移见此pr 设计版本:3103   ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1974 ## 测试 1、kirin验证:使用测试给的社区cann kirin算子用例,进行3103和5101平台的自定义算子用例回归,通过自定义算子调用本次迁移的API,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5813 | 23 days ago | |
Kirin9020 api迁移 Co-authored-by: wangrulong<wanglong229@h-partners.com> Co-authored-by: li_fangyuan<lifangyuan16@h-partners.com> Co-authored-by: yurui4717<yurui29@h-partners.com> Co-authored-by: Dukexin004<dukexin@h-partners.com> Co-authored-by: Zhezhezhezhe0414<zhangzhe180@h-partners.com> # message auto-generated for no-merge-commit merge: !5813 merge master into master Kirin9020 api迁移 Created-by: Dukexin004 Commit-by: Dukexin004;Zhezhezhezhe0414;wangrulong;yurui4717;li_fangyuan Merged-by: cann-robot Description: ## 描述 基础API和微指令API的迁移见此pr 设计版本:3103   ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1974 ## 测试 1、kirin验证:使用测试给的社区cann kirin算子用例,进行3103和5101平台的自定义算子用例回归,通过自定义算子调用本次迁移的API,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5813 | 23 days ago |
| Files | Last commit | Last update |
|---|---|---|
| 23 days ago | ||
| 4 months ago | ||
| 23 days ago | ||
| 14 days ago | ||
| 1 month ago | ||
| 18 days ago | ||
| 4 months ago | ||
| 23 days ago | ||
| 23 days ago | ||
| 23 days ago | ||
| 23 days ago | ||
| 14 days ago | ||
| 23 days ago | ||
| 23 days ago | ||
| 23 days ago | ||
| 23 days ago | ||
| 23 days ago | ||
| 23 days ago | ||
| 10 days ago | ||
| 23 days ago | ||
| 18 days ago | ||
| 23 days ago | ||
| 23 days ago |