| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
修改3510版本的重复代码 Co-authored-by: JC1126<jiangchao69@h-partners.com> # message auto-generated for no-merge-commit merge: !7381 merge jc_1111 into master 修改3510版本的重复代码 Created-by: JC1126 Commit-by: JC1126 Merged-by: cann-robot Description: ## 描述 修改3510版本的重复代码 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7381 | 12 天前 | |
matmul基础API_3003_3103_3113_5101 Co-authored-by: Barry_Li<libinrui2@hisilicon.com> # message auto-generated for no-merge-commit merge: !7053 merge matmul_3103 into master matmul基础API_3003_3103_3113_5101 Created-by: caipw Commit-by: Barry_Li Merged-by: cann-robot Description: ## 描述 本次PR包含的文件改动是x90/9020/9030/9050版本的matmul算子相关接口的所有修改内容,有公共文件和各版本自用的文件。修改的目的是对外开源matmul算子计算所用的API。                    ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1988 ## 测试 1、kirin侧验证:使用matmul算子用例,对3003/3103/3113/5101这4个平台的所有基础API进行全覆盖回归测试,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7053 | 12 天前 | |
修复5162相关arch实现 Co-authored-by: yanjiang-treasure<yanjiangbao@hisilicon.com> # message auto-generated for no-merge-commit merge: !7388 merge fix_api_arch_impl into master 修复5162相关arch实现 Created-by: yanjiang-treasure Commit-by: yanjiang-treasure Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ## 关联的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!7388 | 12 天前 | |
fix:修复Add Min Max在b64 complex32数据类型下MERGING模式不生效的问题 Co-authored-by: maohaodi<maohaodi@huawei.com> # message auto-generated for no-merge-commit merge: !7400 merge fix_b64_merging_error into master fix:修复Add Min Max在b64 complex32数据类型下MERGING模式不生效的问题 Created-by: maohaodi Commit-by: maohaodi Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 修复 dav_9201 架构下 Add、Max、Min 三个二元向量算子在 b64 /complex32数据类型上使用 MaskMergeMode::MERGING 模式时结果不正确的问题。对 b64/complex32 数据类型的 MERGING 模式改为先以 ZEROING 模式计算到临时寄存器,再通过 CopyMergingImpl 完成掩码合并,从而以软仿方式实现该模式;其余场景仍走原有的 AddOperator/MaxOperator/MinOperator 路径。 ## 关联的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!7400 | 9 天前 | |
Ascend960DT 前置回退 Co-authored-by: Ekoxier<husizhe@huawei.com> # message auto-generated for no-merge-commit merge: !6678 merge reset_v121_modify into master Ascend960DT 前置回退 Created-by: Ekoxier Commit-by: Ekoxier Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> Ascend960DT 前置回退: asc-toolkit关联包新增桩指令需要asc-devkit镜像更新, 当前回避 ## 关联的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!6678 | 1 个月前 | |
adapt the 1:1 compile which 1:2 excutes mode in ops . Co-authored-by: gcw_UQE6G7Ro<zhoudaijin@huawei.com> # message auto-generated for no-merge-commit merge: !7120 merge master into master adapt the 1:1 compile which 1:2 excutes mode in ops . Created-by: gcw_UQE6G7Ro Commit-by: gcw_UQE6G7Ro Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 在KFC对消需求内容兼容 算子1:1编译, 1:2 运行模式 ## 类型标签 <!-- [x] 表示选中 --> - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7120 | 23 天前 | |
matmul基础API_3003_3103_3113_5101 Co-authored-by: Barry_Li<libinrui2@hisilicon.com> # message auto-generated for no-merge-commit merge: !7053 merge matmul_3103 into master matmul基础API_3003_3103_3113_5101 Created-by: caipw Commit-by: Barry_Li Merged-by: cann-robot Description: ## 描述 本次PR包含的文件改动是x90/9020/9030/9050版本的matmul算子相关接口的所有修改内容,有公共文件和各版本自用的文件。修改的目的是对外开源matmul算子计算所用的API。                    ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1988 ## 测试 1、kirin侧验证:使用matmul算子用例,对3003/3103/3113/5101这4个平台的所有基础API进行全覆盖回归测试,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7053 | 12 天前 | |
matmul基础API_3003_3103_3113_5101 Co-authored-by: Barry_Li<libinrui2@hisilicon.com> # message auto-generated for no-merge-commit merge: !7053 merge matmul_3103 into master matmul基础API_3003_3103_3113_5101 Created-by: caipw Commit-by: Barry_Li Merged-by: cann-robot Description: ## 描述 本次PR包含的文件改动是x90/9020/9030/9050版本的matmul算子相关接口的所有修改内容,有公共文件和各版本自用的文件。修改的目的是对外开源matmul算子计算所用的API。                    ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1988 ## 测试 1、kirin侧验证:使用matmul算子用例,对3003/3103/3113/5101这4个平台的所有基础API进行全覆盖回归测试,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7053 | 12 天前 | |
matmul基础API_3003_3103_3113_5101 Co-authored-by: Barry_Li<libinrui2@hisilicon.com> # message auto-generated for no-merge-commit merge: !7053 merge matmul_3103 into master matmul基础API_3003_3103_3113_5101 Created-by: caipw Commit-by: Barry_Li Merged-by: cann-robot Description: ## 描述 本次PR包含的文件改动是x90/9020/9030/9050版本的matmul算子相关接口的所有修改内容,有公共文件和各版本自用的文件。修改的目的是对外开源matmul算子计算所用的API。                    ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1988 ## 测试 1、kirin侧验证:使用matmul算子用例,对3003/3103/3113/5101这4个平台的所有基础API进行全覆盖回归测试,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7053 | 12 天前 | |
Ascend960DT 前置回退 Co-authored-by: Ekoxier<husizhe@huawei.com> # message auto-generated for no-merge-commit merge: !6678 merge reset_v121_modify into master Ascend960DT 前置回退 Created-by: Ekoxier Commit-by: Ekoxier Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> Ascend960DT 前置回退: asc-toolkit关联包新增桩指令需要asc-devkit镜像更新, 当前回避 ## 关联的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!6678 | 1 个月前 | |
修改m310版本的重复代码 Co-authored-by: JC1126<jiangchao69@h-partners.com> # message auto-generated for no-merge-commit merge: !7382 merge jc_1111_m300 into master 修改m310版本的重复代码 Created-by: JC1126 Commit-by: JC1126 Merged-by: cann-robot Description: ## 描述 修改m310版本的重复代码 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7382 | 12 天前 | |
修改m310版本的重复代码 Co-authored-by: JC1126<jiangchao69@h-partners.com> # message auto-generated for no-merge-commit merge: !7384 merge jc_1111_m310 into master 修改m310版本的重复代码 Created-by: JC1126 Commit-by: JC1126 Merged-by: cann-robot Description: ## 描述 修改m310版本的重复代码 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7384 | 12 天前 | |
DES: fix repeat code 3 Co-authored-by: p30079636<panjiacheng1@h-partners.com> # message auto-generated for no-merge-commit merge: !6983 merge r_co_3 into master DES: fix repeat code 3 Created-by: pan-jiacheng1 Commit-by: p30079636 Merged-by: cann-robot Description: ## 描述 把多处重复实现抽成公共函数、模板基类或参数化入口来消除重复代码 ## 关联的Issue NONE ## 测试 COMPILE ## 文档更新 不涉及 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!6983 | 23 天前 | |
fix:修复Add Min Max在b64 complex32数据类型下MERGING模式不生效的问题 Co-authored-by: maohaodi<maohaodi@huawei.com> # message auto-generated for no-merge-commit merge: !7400 merge fix_b64_merging_error into master fix:修复Add Min Max在b64 complex32数据类型下MERGING模式不生效的问题 Created-by: maohaodi Commit-by: maohaodi Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 修复 dav_9201 架构下 Add、Max、Min 三个二元向量算子在 b64 /complex32数据类型上使用 MaskMergeMode::MERGING 模式时结果不正确的问题。对 b64/complex32 数据类型的 MERGING 模式改为先以 ZEROING 模式计算到临时寄存器,再通过 CopyMergingImpl 完成掩码合并,从而以软仿方式实现该模式;其余场景仍走原有的 AddOperator/MaxOperator/MinOperator 路径。 ## 关联的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!7400 | 9 天前 | |
adapt api to 3510 arch Co-authored-by: chenkunjie0506<chenkunjie1@huawei.com> # message auto-generated for no-merge-commit merge: !7360 merge adapter12 into master adapt api to 3510 arch Created-by: chenkunjie0506 Commit-by: chenkunjie0506 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 对兼容性相关API进行适配修改 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> 冒烟测试 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> NA ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7360 | 12 天前 | |
fix: 补齐 tikcfw 兼容目录中的 C API 头文件安装链接 Co-authored-by: lihuaichao<lihuaichao1@huawei.com> # message auto-generated for no-merge-commit merge: !6985 merge fix/c-api-in-tikcfw into master fix: 补齐 tikcfw 兼容目录中的 C API 头文件安装链接 Created-by: lihuaichao Commit-by: lihuaichao Merged-by: cann-robot Description: ## 描述 基础 API 在 kernel_utils_base.h 中复用 C API 初始化接口后,通过旧版 tikcpp/tikcfw 头文件入口编译的工程报错: fatal error: 'c_api/utils/sys_init.h' file not found。C API 文件已安装到 asc/include/c_api 和 asc/impl/c_api,但旧版兼容目录缺少对应映射。 本修改在安装规则中补齐两条相对软链接: - tikcpp/tikcfw/c_api 指向 asc/include/c_api,支持 c_api/utils/sys_init.h 及 c_api/defs/macro.h。 - 在 ascendc/include/basic_api/impl 下增加 c_api 链接,指向 asc/impl/c_api。tikcpp/tikcfw/impl 已链接到该目录,因此可继续解析 impl/c_api/... 实现头。 第二条链接按实际存放目录计算相对路径,避免通过已有 impl 目录软链接写入时产生错误的相对目标。保持初始化代码行为不变。 ## 关联的Issue 无。关联变更:https://gitcode.com/cann/asc-devkit/pull/6620 ## 测试 - git diff --check 通过。 - CMake 配置与生成通过,生成的安装脚本包含两条新增链接。 - 单独执行 basic_api 和 c_api 安装脚本至临时目录;验证 sys_init.h、macro.h、memory-base/reg-base 初始化接口及 3510/9201/9202 初始化实现共 7 个头文件通过 tikcpp/tikcfw 路径可访问,且解析至预期真实文件。 - 尚未完成线上编包、二级冒烟及算子泛化测试。完整安装验证受本地未构建的 libtiling_api.a 缺失阻塞;CMake 另提示本地 runtime/metadef 9.2 与项目要求 9.3 不匹配。 ## 文档更新 无。本次仅补齐安装兼容路径,无 API 使用方式变更。 ## 类型标签 - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!6985 | 30 天前 | |
feat: 新增 dav_v516 架构编译构建工具与调试, ut适配等 Co-authored-by: yanjiang-treasure<yanjiangbao@hisilicon.com> # message auto-generated for no-merge-commit merge: !6514 merge master_main into master feat: 新增 dav_v516 架构编译构建工具与调试, ut适配等 Created-by: yanjiang-treasure Commit-by: yanjiang-treasure Merged-by: cann-robot Description: ## 描述 为 asc-devkit 新增 dav_v516(NPU_ARCH == 5162)架构的构建与调试支持: 构建工具:新增 ascend5162a.py 平台配置,适配 cmake 与 compile_op/ascendc_compile_v220 等编译脚本、ccec/platform_info 等基础设施,使 5162 架构可参与编译。 调试工具:新增 impl/utils/debug/npu_arch_5162/ 下的 dump/printf/类型转换工具头文件。 运行时:适配 asc_platform、ascendc_runtime、opbuild 等。 改动原因:支持 dav_v516(5162)架构的构建与调试能力。 改动方法:新增 5162 平台配置与调试头文件,并在构建脚本中并入 5162 架构分支。 改动影响: Device 行为变更 — Reduce 系列(影响 3510、9201、5102、3003、3113) reduce_common_ar_reuse_align_3510_impl.h:38 与 ...less_than_vl3510_impl.h:64:新增无架构 guard 的 if constexpr (vlSize > ONE_BLK_SIZE) 分支,vlSize ≤ ONE_BLK_SIZE 时由 LoadAlign 改为 LoadUnAlignPre+LoadUnAlign,只影响VL_size≤32B的架构,即只影响5162 Host tiling 变更 — WelfordFinalize(影响 3510、9201、5102、3003、3113) welfordfinalize_tiling_impl.cpp:43:reduceTmpSize 由硬编码 reduceK/64、按 128 对齐 → 改为基于 GetVecRegLen() 计算。仅当这些架构 GetVecRegLen()==256B 时数值等价,否则 tmp buffer 尺寸变化 编译产物变更、数值不变 — 浮点字面量 1.0→1.0f(仅常量初始化,无风险) API 面纯新增(不改变既有行为) 各 SOC 列表追加 ascend5162a/Ascend5162A(config.cmake、op_cfg_generator.h、asc_platform.h、ascendc_runtime.cpp、const_var.py、opdesc_parser.py)及 is_516r2() 门控的编译工具链 — 均为追加式,现有 SoC 路径不变 三、净零影响的架构 1001、3002、3102、5101、5161、5163、5165:所有涉及它们的改动均为条件列表追加 5162 或等价重写(defined() 补齐、格式化),编译语义逐 arch 验证不变 2002、2201:仅受第 3 条字面量改动影响(数值等价) ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 本地执行 build.sh 完成全量编译与打包,成功生成 cann-asc-devkit_9.3.0_linux-aarch64.run, 执行ut测试。 ## 文档更新 无文档更新。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!6514 | 1 个月前 | |
同步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 个月前 | |
feat: 新增 dav_v516 架构算子条件编译宏支持 Co-authored-by: Bartonzany<lanbin4@huawei.com> # message auto-generated for no-merge-commit merge: !5674 merge feat_dav_v516_macro into master feat: 新增 dav_v516 架构算子条件编译宏支持 Created-by: Bartonzany Commit-by: Bartonzany Merged-by: cann-robot Description: ## 描述 为 asc-devkit 补齐 dav_v516( __NPU_ARCH__ == 5162)架构的条件编译支持:在激活、数学、归一化、量化、reduce、sort/topk、pad/transpose 等高级 API 算子及其 kernel check、tiling、基础 API 接口头文件中,为既有 3510/5102 架构分支并入 __NPU_ARCH__ == 5162,并引入 dav_v516 实现头文件,使算子库在 dav_v516 架构下编译运行。 改动原因:支持 dav_v516(5162)新一代 NPU 架构。 改动方法:在 3510/5102 条件编译分支中并入 __NPU_ARCH__ == 5162,复用 3510 系列实现。 ## 关联的Issue ## 测试 本地执行 build.sh 完成全量编译与打包,成功生成 cann-asc-devkit_9.2.0_linux-aarch64.run。 ## 文档更新 无文档更新。 ## 类型标签 - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5674 | 2 个月前 | |
refactor:重构impl/basic_api下的代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4273 merge pr_4260 into master refactor:重构impl/basic_api下的代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照clang-format格式刷新impl/basic_api的代码格式。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> compile ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> NA ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4273 | 4 个月前 | |
c_api support superkernel Co-authored-by: hujiawen_kaven<hujiawen5@hisilicon.com> # message auto-generated for no-merge-commit merge: !7102 merge sk_c_api into master c_api support superkernel Created-by: hujiawen_kaven Commit-by: hujiawen_kaven Merged-by: cann-robot Description: ## 描述 c_api support superkernel ## 关联的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!7102 | 18 天前 | |
修正回合导致的kernel_log错误 Co-authored-by: maohaodi<maohaodi@huawei.com> # message auto-generated for no-merge-commit merge: !7197 merge fix_kernel_log into master 修正回合导致的kernel_log错误 Created-by: maohaodi Commit-by: maohaodi 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!7197 | 22 天前 | |
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 | 21 天前 | |
feat: show physical positions in debug errors Co-authored-by: kyzyc<zhuyuchen10@huawei.com> # message auto-generated for no-merge-commit merge: !4493 merge dfx into master feat: show physical positions in debug errors Created-by: kyzyc Commit-by: kyzyc Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 1. 整改 npu/cpu DFX 报错信息,展示物理位置(逻辑位置) 2. 修复 cpu 下部分架构逻辑位置映射物理位置问题 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4493 | 3 个月前 | |
同步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 个月前 | |
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 | 21 天前 | |
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 | 21 天前 | |
fix: 修复5162算子编译c++20告警 Co-authored-by: yanjiang-treasure<yanjiangbao@hisilicon.com> # message auto-generated for no-merge-commit merge: !7282 merge fix_compile_warn into master fix: 修复5162算子编译c++20告警 Created-by: yanjiang-treasure Commit-by: yanjiang-treasure Merged-by: cann-robot Description: ## 描述 修复5162算子编译c++20告警 ## 关联的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!7282 | 19 天前 | |
refactor:重构impl/basic_api下的代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4273 merge pr_4260 into master refactor:重构impl/basic_api下的代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照clang-format格式刷新impl/basic_api的代码格式。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> compile ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> NA ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4273 | 4 个月前 | |
refactor:重构impl/basic_api下的代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4273 merge pr_4260 into master refactor:重构impl/basic_api下的代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照clang-format格式刷新impl/basic_api的代码格式。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> compile ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> NA ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4273 | 4 个月前 | |
refactor:重构impl/basic_api下的代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4273 merge pr_4260 into master refactor:重构impl/basic_api下的代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照clang-format格式刷新impl/basic_api的代码格式。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> compile ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> NA ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4273 | 4 个月前 | |
matmul基础API_3003_3103_3113_5101 Co-authored-by: Barry_Li<libinrui2@hisilicon.com> # message auto-generated for no-merge-commit merge: !7053 merge matmul_3103 into master matmul基础API_3003_3103_3113_5101 Created-by: caipw Commit-by: Barry_Li Merged-by: cann-robot Description: ## 描述 本次PR包含的文件改动是x90/9020/9030/9050版本的matmul算子相关接口的所有修改内容,有公共文件和各版本自用的文件。修改的目的是对外开源matmul算子计算所用的API。                    ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1988 ## 测试 1、kirin侧验证:使用matmul算子用例,对3003/3103/3113/5101这4个平台的所有基础API进行全覆盖回归测试,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7053 | 12 天前 | |
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 | 21 天前 | |
修复5162相关arch实现 Co-authored-by: yanjiang-treasure<yanjiangbao@hisilicon.com> # message auto-generated for no-merge-commit merge: !7388 merge fix_api_arch_impl into master 修复5162相关arch实现 Created-by: yanjiang-treasure Commit-by: yanjiang-treasure Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ## 关联的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!7388 | 12 天前 | |
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 | 21 天前 | |
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 | 21 天前 | |
matmul基础API_3003_3103_3113_5101 Co-authored-by: Barry_Li<libinrui2@hisilicon.com> # message auto-generated for no-merge-commit merge: !7053 merge matmul_3103 into master matmul基础API_3003_3103_3113_5101 Created-by: caipw Commit-by: Barry_Li Merged-by: cann-robot Description: ## 描述 本次PR包含的文件改动是x90/9020/9030/9050版本的matmul算子相关接口的所有修改内容,有公共文件和各版本自用的文件。修改的目的是对外开源matmul算子计算所用的API。                    ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1988 ## 测试 1、kirin侧验证:使用matmul算子用例,对3003/3103/3113/5101这4个平台的所有基础API进行全覆盖回归测试,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7053 | 12 天前 | |
refactor:重构impl/basic_api下的代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4273 merge pr_4260 into master refactor:重构impl/basic_api下的代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照clang-format格式刷新impl/basic_api的代码格式。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> compile ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> NA ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4273 | 4 个月前 | |
refactor:重构impl/basic_api下的代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4273 merge pr_4260 into master refactor:重构impl/basic_api下的代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照clang-format格式刷新impl/basic_api的代码格式。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> compile ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> NA ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4273 | 4 个月前 | |
同步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 个月前 | |
同步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 个月前 | |
refactor:重构impl/basic_api下的代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4273 merge pr_4260 into master refactor:重构impl/basic_api下的代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照clang-format格式刷新impl/basic_api的代码格式。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> compile ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> NA ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4273 | 4 个月前 | |
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 | 21 天前 | |
kirin 5161: add macro fixpipe api Co-authored-by: zengjuan<zengjuan2@huawei.com> # message auto-generated for no-merge-commit merge: !7339 merge master into master kirin 5161: add macro fixpipe api Created-by: zengjuan Commit-by: zengjuan Merged-by: cann-robot Description: ## 描述 kirin 5161: add macro fixpipe api ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/2014 ## 测试 算子泛化测试 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7339 | 15 天前 | |
kirin 5161: add macro fixpipe api Co-authored-by: zengjuan<zengjuan2@huawei.com> # message auto-generated for no-merge-commit merge: !7339 merge master into master kirin 5161: add macro fixpipe api Created-by: zengjuan Commit-by: zengjuan Merged-by: cann-robot Description: ## 描述 kirin 5161: add macro fixpipe api ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/2014 ## 测试 算子泛化测试 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7339 | 15 天前 | |
feat: 5162新增Conv/MatMul算子相关基础API支持 Co-authored-by: yanjiang-treasure<yanjiangbao@hisilicon.com> # message auto-generated for no-merge-commit merge: !6635 merge feat_conv_api into master feat: 5162新增Conv/MatMul算子相关基础API支持 Created-by: yanjiang-treasure Commit-by: yanjiang-treasure Merged-by: cann-robot Description: ## 描述 1、根据评审要求,dav_v516修改为dav_5162 目录规整(114 文件,+121/-120) 按评审要求把 dav_v516 目录整体重命名为 dav_5162,并同步三处工程配置: - classify_rule.yaml:新增 impl/**/dav_5162/*.h 归属规则; - impl/basic_api/CMakeLists.txt:170:安装软链路径改名; - 114 个 impl/include 头文件的 include 路径。 纯机械变更,不涉及语义。 2、修复上个提交遗留问题 - dav_5162/kernel_operator_common_impl.h:删除 GetStoreAtomicConfigImpl() 中 ASCENDC_ASSERT(false) 之后残留的不支持指令 get_st_atomic_cfg()(该 arch 无此指令); - 两份 516r2 编译命令生成器(tools/build/.../adapter/、asc_op_compiler/ascendc_compile_v220.py):5162只支持 -mllvm -cce-aicore-function-stack-size=0x4000;修正 "cce-simd-vf-fusion=true" → "--cce-simd-vf-fusion=true",删除无效的vl大小配置选项,修复选项名称before拼写错误befor。 3、feat: 5162新增Conv/MatMul算子相关基础API支持 (a)Conv/Mmad 宏指令 —— 新增能力(1396 行新文件) - 新增 dav_5162/kernel_operator_macro_impl.h(774) 与 kernel_operator_macro_bitmode_impl.h(622):SetConvKernel/SetConvFMatrix(+StepPos/Dual0/Dual1)/SetConvPadding/SetConvStride/SetMatrixPara/SetFixPipeConfig/SetFixPipeReluAlpha/SetFixPipeAddr/SetItaMaxAddr/SetMxBufAddr,以及 Convolution/ConvFix/MmadFix/MmadMxFix 执行体;相较 5161 版本增加字段掩码(& 0x1ff/& 0xff/& 0xfff)与 paddingValue 按 b16/b8/b4 打包。 - 指令名切到 5162 的 set_m_* 系列(如 set_m_fmatrix、set_m_padding、set_m_clip_relu、set_m_quant_pre、set_m_elt_src_para、set_m_fpc)。 - ConvFixCal/MmadFixCal/MmadMxFixCal 由显式模板实参改为参数推导;ConvFix 增加 bias tensor 位置校验(L0C/BIAS)。 - 架构白名单扩展到 5162:kernel_operator_macro_intf.h、kernel_operator_macro_bitmode_intf.h、kernel_operator_macro_base_impl.h、kernel_operator_macro_bitmode_struct.h、kernel_struct_macro.h,并按 arch 分派到 dav_5162/ 实现。 (b)Fixpipe —— 由"L0C 基"重写为"L1 基" - dav_5162/kernel_operator_fixpipe_impl.h:删除 808 行 Arch3510 风格 L0C 实现(FixpipeL0C2L1/2UB/2GM、FixpipeTiling、CopyReluTensorToFbuf、IsVector/ScalarQuantMode 等),新增 FixpipeL1ToL1/ToUb/ToOut + FixpipeL12L1Impl/L12UbImpl/L12GmImpl + CheckFixpipeParams(仅允许 b8/b16,src/dst 同类型),底层用 fix_cbuf_to_cbuf/ubuf/gm,支持 ROW_MAJOR(NZ2ND)/COLUMN_MAJOR(NZ2DN)/NORMAL_DMA 三种搬运模式。 - 公共结构:kernel_struct_fixpipe.h 新增 FixpipeParamsV516(nSize/mSize/srcStride/dstStride + nz2nd 用 ndNum/srcNdStride/dstNdStride),FixpipeConfig 对 5162 开放 isToUB、enableFixVal(含 CFG_NZ_FIX)。 - 配置类 API(5162 专属,kernel_operator_fixpipe_intf.h + fixpipe_intf_impl.h):SetFixPipeClipRelu(FixpipeClipReluParams<T1,T2>)、SetFixPipeConfig(uint64_t)、SetFixpipePreQuantFlag(FixPipePreQuantParams<T>)、SetFixpipePostQuant(FixPipePostQuantParams)、SetFixpipeEltAntiq(FixPipeEltAntiqParams<T>)、SetFixpipeEltwiseAddr(uint64_t / FixpipeEltwiseAddrParams);SetFixpipeNz2ndFlag 对 5162 采用 uint32_t dstNdStride 形态。 - 参数结构体与 eltwise_antiq_t(8 种 int8/int4/uint8/int16 标量/向量反量化 + S32 预量化 + NO_ANTIQ)落在 impl/basic_api/utils/kernel_utils_struct_dma_params.h(+141)。 - Nz2NdParams、CANN_ASC_ENABLE_POST_PROC_BUF/SID 等宏对 5162 打开。 (c)MatMul / LoadData —— 5162 通路补齐 - dav_5162/kernel_operator_mm_impl.h(205/296):新增 LoadData2DGM2L0BCal、LoadData2DL12L1Cal、L1→L0A/L0B 转置载入;删除不适用的 LoadData2DL12L0BTransposeCal 旧重载;Load3DSetFMatrixCal/BCal 由直传寄存器改为位域组装。 - 共享层为 5162 开放:LoadData(GM→L1/L0B + Nd2Nz)、LoadData 2D/3D BitMode(Load2D/Load3DBitModeParam)、MX 载入(LoadData2DMxParams)、LoadDataWithStride、SetFmatrix(SetFMatrixBitModeParams, FmatrixMode)、SetLoadDataRepeatWithStride;LoadData 中 5162 新增 L0B 分支。 - GatherMask(reg_compute)增加 5162 分支并接入 reg_compute/dav_5162 实现。 (d)DataCopy —— 5162 适配与清理 - dav_5162/kernel_operator_data_copy_impl.h(46/54):L1→FB 走 uint64_t 物理地址形态;sizeof(T)==8/4/2/1 改为 B64/B32/B16/B8_BYTE_SIZE 常量;srcStride310/dstStride310 → actSrcStride/actDstStride;删除未使用的 ValidateUbL1Address;新增 FIX_VAL 默认值常量。 - kernel_struct_data_copy.h、kernel_operator_data_copy_intf_impl.h 对 5162 打开 POST_PROC_BUF/SID 与 L12FB 分支。 ## 关联的Issue NA ## 测试 ut测试 ,本地打包测试,5162 Conv算子测试 ## 文档更新 NA ## 类型标签 <!-- [x] 表示选中 --> - [x] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!6635 | 1 个月前 | |
补充5162架构宏隔离, 修复5162算子同步异常问题 Co-authored-by: yanjiang-treasure<yanjiangbao@hisilicon.com> # message auto-generated for no-merge-commit merge: !6757 merge fix_5162_loss_arch into master 补充5162架构宏隔离, 修复5162算子同步异常问题 Created-by: yanjiang-treasure Commit-by: yanjiang-treasure Merged-by: cann-robot Description: ## 描述 补充5162架构宏隔离, 修复5162算子同步异常问题 ## 关联的Issue NA ## 测试 5162算子测试 ## 文档更新 NA ## 类型标签 <!-- [x] 表示选中 --> - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!6757 | 1 个月前 | |
kirin 5161: add macro fixpipe api Co-authored-by: zengjuan<zengjuan2@huawei.com> # message auto-generated for no-merge-commit merge: !7339 merge master into master kirin 5161: add macro fixpipe api Created-by: zengjuan Commit-by: zengjuan Merged-by: cann-robot Description: ## 描述 kirin 5161: add macro fixpipe api ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/2014 ## 测试 算子泛化测试 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7339 | 15 天前 | |
matmul基础API_3003_3103_3113_5101 Co-authored-by: Barry_Li<libinrui2@hisilicon.com> # message auto-generated for no-merge-commit merge: !7053 merge matmul_3103 into master matmul基础API_3003_3103_3113_5101 Created-by: caipw Commit-by: Barry_Li Merged-by: cann-robot Description: ## 描述 本次PR包含的文件改动是x90/9020/9030/9050版本的matmul算子相关接口的所有修改内容,有公共文件和各版本自用的文件。修改的目的是对外开源matmul算子计算所用的API。                    ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1988 ## 测试 1、kirin侧验证:使用matmul算子用例,对3003/3103/3113/5101这4个平台的所有基础API进行全覆盖回归测试,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7053 | 12 天前 | |
matmul基础API_3003_3103_3113_5101 Co-authored-by: Barry_Li<libinrui2@hisilicon.com> # message auto-generated for no-merge-commit merge: !7053 merge matmul_3103 into master matmul基础API_3003_3103_3113_5101 Created-by: caipw Commit-by: Barry_Li Merged-by: cann-robot Description: ## 描述 本次PR包含的文件改动是x90/9020/9030/9050版本的matmul算子相关接口的所有修改内容,有公共文件和各版本自用的文件。修改的目的是对外开源matmul算子计算所用的API。                    ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1988 ## 测试 1、kirin侧验证:使用matmul算子用例,对3003/3103/3113/5101这4个平台的所有基础API进行全覆盖回归测试,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7053 | 12 天前 | |
matmul基础API_3003_3103_3113_5101 Co-authored-by: Barry_Li<libinrui2@hisilicon.com> # message auto-generated for no-merge-commit merge: !7053 merge matmul_3103 into master matmul基础API_3003_3103_3113_5101 Created-by: caipw Commit-by: Barry_Li Merged-by: cann-robot Description: ## 描述 本次PR包含的文件改动是x90/9020/9030/9050版本的matmul算子相关接口的所有修改内容,有公共文件和各版本自用的文件。修改的目的是对外开源matmul算子计算所用的API。                    ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1988 ## 测试 1、kirin侧验证:使用matmul算子用例,对3003/3103/3113/5101这4个平台的所有基础API进行全覆盖回归测试,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7053 | 12 天前 | |
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 | 21 天前 | |
matmul基础API_3003_3103_3113_5101 Co-authored-by: Barry_Li<libinrui2@hisilicon.com> # message auto-generated for no-merge-commit merge: !7053 merge matmul_3103 into master matmul基础API_3003_3103_3113_5101 Created-by: caipw Commit-by: Barry_Li Merged-by: cann-robot Description: ## 描述 本次PR包含的文件改动是x90/9020/9030/9050版本的matmul算子相关接口的所有修改内容,有公共文件和各版本自用的文件。修改的目的是对外开源matmul算子计算所用的API。                    ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1988 ## 测试 1、kirin侧验证:使用matmul算子用例,对3003/3103/3113/5101这4个平台的所有基础API进行全覆盖回归测试,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7053 | 12 天前 | |
matmul基础API_3003_3103_3113_5101 Co-authored-by: Barry_Li<libinrui2@hisilicon.com> # message auto-generated for no-merge-commit merge: !7053 merge matmul_3103 into master matmul基础API_3003_3103_3113_5101 Created-by: caipw Commit-by: Barry_Li Merged-by: cann-robot Description: ## 描述 本次PR包含的文件改动是x90/9020/9030/9050版本的matmul算子相关接口的所有修改内容,有公共文件和各版本自用的文件。修改的目的是对外开源matmul算子计算所用的API。                    ## 关联的Issue https://gitcode.com/cann/asc-devkit/issues/1988 ## 测试 1、kirin侧验证:使用matmul算子用例,对3003/3103/3113/5101这4个平台的所有基础API进行全覆盖回归测试,在验证过程中出现的用例问题、编译问题和精度问题均解决; 2、turing验证:基于此pr的代码,触发了turing冒烟任务和门禁构建任务,两任务均成功 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7053 | 12 天前 | |
refactor:重构impl/basic_api下的代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4273 merge pr_4260 into master refactor:重构impl/basic_api下的代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照clang-format格式刷新impl/basic_api的代码格式。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> compile ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> NA ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4273 | 4 个月前 | |
support Sort, MrgSort in 5161 Co-authored-by: f00887784<fanzhilei1@huawei.com> # message auto-generated for no-merge-commit merge: !7252 merge GZH_api into master support Sort, MrgSort in 5161 Created-by: gcw_xqZj0CBd Commit-by: f00887784 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 在5161上适配了 Sort、MrgSort api;修改了一个UB to L1的bug ## 关联的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!7252 | 14 天前 | |
同步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 个月前 | |
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 | 21 天前 | |
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 | 21 天前 | |
c_api support superkernel Co-authored-by: hujiawen_kaven<hujiawen5@hisilicon.com> # message auto-generated for no-merge-commit merge: !7102 merge sk_c_api into master c_api support superkernel Created-by: hujiawen_kaven Commit-by: hujiawen_kaven Merged-by: cann-robot Description: ## 描述 c_api support superkernel ## 关联的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!7102 | 18 天前 | |
refactor:重构impl/basic_api下的代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4273 merge pr_4260 into master refactor:重构impl/basic_api下的代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照clang-format格式刷新impl/basic_api的代码格式。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> compile ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> NA ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4273 | 4 个月前 | |
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 | 21 天前 | |
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 | 21 天前 | |
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 | 21 天前 | |
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 | 21 天前 | |
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 | 21 天前 | |
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 | 21 天前 | |
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 | 21 天前 | |
adapt_5162_GatherDataCopy_ScatterDataCopy Co-authored-by: yanjiang-treasure<yanjiangbao@hisilicon.com> # message auto-generated for no-merge-commit merge: !7211 merge adapt_5162_GatherDataCopy_ScatterDataCopy into master adapt_5162_GatherDataCopy_ScatterDataCopy Created-by: yanjiang-treasure Commit-by: yanjiang-treasure Merged-by: cann-robot Description: ## 描述 适配5162支持GatherDataCopy/ScatterDataCopy接口 修复pad配置相关指令配置异常问题 1、gather_gm_to_ubuf的pad要用set_pad_val_outtoub或set_mov_pad_val(set_pad_val_outtoub的alias指令) 2、GatherFromGlobalImpl配置pad要根据数据配型配置pad_val,原实现截断到只有一个Byte导致异常 3、Scalar不能使用f8特殊数据类型,配置pad存为uint8类型配置 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7211 | 19 天前 | |
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 | 21 天前 | |
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 | 21 天前 | |
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 | 21 天前 | |
adapt_5162_GatherDataCopy_ScatterDataCopy Co-authored-by: yanjiang-treasure<yanjiangbao@hisilicon.com> # message auto-generated for no-merge-commit merge: !7211 merge adapt_5162_GatherDataCopy_ScatterDataCopy into master adapt_5162_GatherDataCopy_ScatterDataCopy Created-by: yanjiang-treasure Commit-by: yanjiang-treasure Merged-by: cann-robot Description: ## 描述 适配5162支持GatherDataCopy/ScatterDataCopy接口 修复pad配置相关指令配置异常问题 1、gather_gm_to_ubuf的pad要用set_pad_val_outtoub或set_mov_pad_val(set_pad_val_outtoub的alias指令) 2、GatherFromGlobalImpl配置pad要根据数据配型配置pad_val,原实现截断到只有一个Byte导致异常 3、Scalar不能使用f8特殊数据类型,配置pad存为uint8类型配置 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7211 | 19 天前 | |
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 | 21 天前 | |
fix: 同步 Ascend950 基础 API 修复至 Ascend960 Co-authored-by: Ekoxier<husizhe@huawei.com> # message auto-generated for no-merge-commit merge: !7215 merge fix/ascend960-basic-api-sync into master fix: 同步 Ascend950 基础 API 修复至 Ascend960 Created-by: Ekoxier Commit-by: Ekoxier Merged-by: cann-robot Description: ## 描述 将 Ascend950 已修复的软件遗漏适配到 Ascend960(9201),修复归约升精度模板、LoadAlign/StoreAlign 偏移、Cast merging mask、TraitTwo 搬运和 Select 广播,补齐 Unary/Div 的 FTZ 与 subnormal 路径;同时修复 LoadData2D 转置偏移、GM stride 边界、cache/preRead 参数顺序、CPU 断言日志和 ICachePreLoad 元数据。 ## 变更类型 - [x] Bug 修复 ## 关联 Issue 无。 ## 来源提交与 PR 来源 PR 号已通过真实提交合入 trailer 核实。按函数语义适配,非整提交 cherry-pick。 | 修复 | 来源 commit | 来源 PR | |---|---|---| | 归约升精度模板 | df8a29fda69f298ee2bd159c6fe3f076c74ce4c5 | [!2032](https://gitcode.com/cann/asc-devkit/merge_requests/2032) | | LoadAlign/StoreAlign 非零 repeatStride | 14a51d9b60d6b82c6a6d54e2835d9c54bd27470c | [!2046](https://gitcode.com/cann/asc-devkit/merge_requests/2046) | | Cast 软件 merging | bca6c1424f07e7236ea79f6afa0b44e2c7c5eaa2 | [!5273](https://gitcode.com/cann/asc-devkit/merge_requests/5273) | | Cast b64 mask | 290f559c4f58ad44d6b080b6010f66b7100b0fb7 | [!6700](https://gitcode.com/cann/asc-devkit/merge_requests/6700) | | TraitTwo 搬运与 Select packed 广播 | 4318b86d573f4eb1e91d0e20fe39ccdb79001009 | [!5428](https://gitcode.com/cann/asc-devkit/merge_requests/5428) | | Unary/Div FTZ 分流及 ActualT | 9d3db84bcbe6a1419df8504fed788f80868fbc53 | [!4995](https://gitcode.com/cann/asc-devkit/merge_requests/4995) | | Ln 最大 subnormal、Rsqrt 内部 FTZ | b176ee82138116e0e9908c97bffd410528264d19 | [!5549](https://gitcode.com/cann/asc-devkit/merge_requests/5549) | | 除法性能算法 | 623fa688b1b782e4844ef30d78c7d842f3e4eddb | [!5749](https://gitcode.com/cann/asc-devkit/merge_requests/5749) | | 除法 denormal 精度 | cdb4d800e937499d8fae2073099ccf61d1a44fc0 | [!5687](https://gitcode.com/cann/asc-devkit/merge_requests/5687) | | 除法 denormal 后续修复 | 2093ce61a12a545290cea9795adc3996f136f4db | [!6210](https://gitcode.com/cann/asc-devkit/merge_requests/6210) | | LoadData2D 兼容转置 | 4c4b29c963a212636fc3a2422963d03adccc4327 | [!5497](https://gitcode.com/cann/asc-devkit/merge_requests/5497) | | LoadData2D 转置偏移和 dstGap | bef5dce6b3914042943cf5357346ac7591df2d4d | [!6131](https://gitcode.com/cann/asc-devkit/merge_requests/6131) | | GM stride 移位表达式 | 5788d6b5729fdcec8a49a01460227c785890d9c5 | [!5244](https://gitcode.com/cann/asc-devkit/merge_requests/5244) | | CPU 断言日志块 | 1e13a96caa31d7416cd770a0ce727a77d9f83d1b | [!5225](https://gitcode.com/cann/asc-devkit/merge_requests/5225) | | ICachePreLoad type7 TLV | 02d38b49af83e45f9e1a29d627d576e6be4924d8 | [!6525](https://gitcode.com/cann/asc-devkit/merge_requests/6525) | | TransDataTo5HD bf16 校验 | 810b073e3974bf654648b1424b4d66270f03b882 | [!2982](https://gitcode.com/cann/asc-devkit/merge_requests/2982) | ## Ascend960 既有适配记录 - GM→L1 的 cacheMode / enablePreReadIgnoreSync 参数顺序修复:对照 555889e47079f2a6dba27fdf808da7a330da4cc4(!3952)、 c47351249bdad6971f183d0896b0fea33db00b5a(!6631)、 9894e12e4092496369b188444c24b51031701ebd(!6755)。 共享包装同时影响现有 9202 分支。 - 除法缩放优化复用 [!7142](https://gitcode.com/cann/asc-devkit/merge_requests/7142) 的 c62619ac253086eadb5b5ccafd47bdb9a5d15760;这部分仍与该 PR 重叠,合入时需协调。 后续 FTZ 补丁 19c7baf68f046c62e8f54927f706cc7a08d497cf 已从 !7142 历史直接 drop, 其 FTZ 分流、denormal 舍入、half 边界及类型推导修复由本 PR 带入。 ## 如何测试 ASCEND_HOME_PATH=/path/to/cann python3 tests/compile/run_9201_sync.py 使用 CANN 9.2.0-beta.2 bisheng、dav-9201 目标:9 组语法编译、2 组 device 对象/TLV 正反对照、3 个宿主回归脚本通过;提交钩子的格式、Ruff、OAT 和 Markdown 链接检查通过。 编译 fixture 仅隔离缺失资源定义,不用于运行;有既有 pragma/deprecated intrinsic 警告。未做 NPU 执行、全量 UT 或性能验证,未宣称不带 fixture 的完整公共头集成构建通过。 ## 核对清单 - [x] 遵循项目代码风格 - [x] 完成上述范围自测 - [x] 列出真实来源 commit/PR 对照 - [x] 标题使用 fix 类型 - [x] 已阅读贡献指南 ## LoadAlign NORMAL 模式偏移补齐 eedc3f65a:补齐来源 14a51d9b60d6b82c6a6d54e2835d9c54bd27470c / !2046 中遗漏的 LoadAlign 修复。 NORMAL 从 srcAddr + repeatStride * 32B / sizeof(ActualT) 读取且不修改调用者指针; UPDATE 保留原指令编码与更新行为。load/store 统一使用 ActualT 换算。 新增实际分派函数的宿主 intrinsic 参数模型回归:8 种类型、NORMAL/UPDATE、零和非零 stride、 mask 开关,共 576 项地址/立即数/指针/mask 检查,修复前失败、修复后通过。 目标编译覆盖 8/16/32 位双向 NORMAL/UPDATE。完整定向检查与提交钩子通过,未执行 NPU。 ## 来源提交反向核查与 float Log 边界修复 本轮对17个功能来源提交(原16个软件来源及GM→L1来源)展开完整关联文件和基础API补丁, 覆盖97条提交×文件记录、128个基础API hunk;另核查4个导入基线/既有移植记录的用途。 未发现新的源补丁搬运遗漏。原 !2046 的load/store/vconv三处、!5428两方向Select、 !4995的6个基础API文件及!6525共享元数据依赖均已反查。 高阶API、其它架构专用路径、原平台测试/样例不计为本次基础API迁移目标;常量与敏感资源仍按要求排除。 完整核查 MD 仅留本地,docs 未提交。 ## Ascend950 / Ascend960 subnormal 边界修复 f6a747cd6 合并此前 Sqrt、float Log2/Log10 边界修复,并补齐两个架构的 half/float 分支。 两份 reg vec_unary 中,Sqrt、Log2、Log10 对最大 subnormal 的补偿比较统一使用 vcmps_le: half 0x03ff、float 0x007fffff 均进入缩放补偿。Ln、Exp 已使用包含等号的比较,无需修改。 SqrtFastInverse 的 x < 1 属于不同算法分段,保留严格比较。 Sqrt 和 float Log2/Log10 的缺陷在 Ascend950 源代码中也存在,属于继承缺陷,非已有来源修复漏搬。 half Log2/Log10 通过 LogXImpl 升 float,修改用于统一补偿边界,不宣称复现相同冲零缺陷。 相关已有来源为 b176ee82138116e0e9908c97bffd410528264d19 / !5549 的 Ln 包含边界修复; 本提交将相同边界原则扩展到上述函数,不冒充来源 PR 已包含这些修复。 修改前 Ascend950 模型复现 Sqrt 共 12 项、float Log2/Log10 共 6 项失败。 修改后每个架构各 836 项宿主模型检查通过:Ln 44、Sqrt 528、Log2/Log10 264,覆盖 half/float 边界、特殊值、mask,以及 Sqrt 原地计算。half LogX 使用标明的标量升精度模型。 两个架构各两种 FTZ 设置的 Unary 真实语法编译通过;Ascend960 完整定向检查 (9 组语法编译、2 组 device/TLV 对照、3 个宿主脚本)通过,提交钩子通过。 补充验证:python3 tests/compile/9201_sync_unary_precision.py --arch 3510 --cxx /path/to/cann/bin/bisheng。 未执行 NPU、全量 UT 或性能测试,模型检查不构成硬件精度认证。 See merge request: cann/asc-devkit!7215 | 16 天前 | |
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 | 21 天前 | |
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 | 21 天前 | |
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 | 21 天前 | |
同步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 个月前 | |
refactor:重构impl/basic_api下的代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4273 merge pr_4260 into master refactor:重构impl/basic_api下的代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照clang-format格式刷新impl/basic_api的代码格式。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> compile ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> NA ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4273 | 4 个月前 | |
同步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 个月前 | |
同步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 个月前 | |
修复5162相关arch实现 Co-authored-by: yanjiang-treasure<yanjiangbao@hisilicon.com> # message auto-generated for no-merge-commit merge: !7388 merge fix_api_arch_impl into master 修复5162相关arch实现 Created-by: yanjiang-treasure Commit-by: yanjiang-treasure Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ## 关联的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!7388 | 12 天前 | |
修复5162相关arch实现 Co-authored-by: yanjiang-treasure<yanjiangbao@hisilicon.com> # message auto-generated for no-merge-commit merge: !7388 merge fix_api_arch_impl into master 修复5162相关arch实现 Created-by: yanjiang-treasure Commit-by: yanjiang-treasure Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ## 关联的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!7388 | 12 天前 | |
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 | 21 天前 | |
Modify the processing logic of int4b_t Co-authored-by: chupeng1996<chupeng5@huawei.com> # message auto-generated for no-merge-commit merge: !6129 merge master into master Modify the processing logic of int4b_t Created-by: chupeng1996 Commit-by: chupeng1996 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> Modify the processing logic of int4b_t ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> 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!6129 | 2 个月前 | |
feat: show physical positions in debug errors Co-authored-by: kyzyc<zhuyuchen10@huawei.com> # message auto-generated for no-merge-commit merge: !4493 merge dfx into master feat: show physical positions in debug errors Created-by: kyzyc Commit-by: kyzyc Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 1. 整改 npu/cpu DFX 报错信息,展示物理位置(逻辑位置) 2. 修复 cpu 下部分架构逻辑位置映射物理位置问题 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4493 | 3 个月前 | |
同步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 个月前 | |
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 | 21 天前 | |
同步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 个月前 | |
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 | 21 天前 | |
fix 5162 GetQueEvt Co-authored-by: yanjiang-treasure<yanjiangbao@hisilicon.com> # message auto-generated for no-merge-commit merge: !6907 merge fix_5162_GetQueEvt into master fix 5162 GetQueEvt Created-by: yanjiang-treasure Commit-by: yanjiang-treasure Merged-by: cann-robot Description: ## 描述 fix 5162 GetQueEvt 5162跟随5165,使用position接口获取evt ## 关联的Issue NA ## 测试 NA ## 文档更新 NA ## 类型标签 <!-- [x] 表示选中 --> - [x] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!6907 | 29 天前 | |
refactor:重构impl/basic_api下的代码格式 Co-authored-by: haipingmao<maohaiping@huawei.com> # message auto-generated for no-merge-commit merge: !4273 merge pr_4260 into master refactor:重构impl/basic_api下的代码格式 Created-by: haipingmao Commit-by: haipingmao Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 按照clang-format格式刷新impl/basic_api的代码格式。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> compile ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> NA ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [ ] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [x] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!4273 | 4 个月前 | |
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 | 21 天前 | |
adapt api to 3510 arch Co-authored-by: chenkunjie0506<chenkunjie1@huawei.com> # message auto-generated for no-merge-commit merge: !7360 merge adapter12 into master adapt api to 3510 arch Created-by: chenkunjie0506 Commit-by: chenkunjie0506 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 对兼容性相关API进行适配修改 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #xxx--> NA ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> 冒烟测试 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> NA ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [ ] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!7360 | 12 天前 | |
修复5162相关arch实现 Co-authored-by: yanjiang-treasure<yanjiangbao@hisilicon.com> # message auto-generated for no-merge-commit merge: !7388 merge fix_api_arch_impl into master 修复5162相关arch实现 Created-by: yanjiang-treasure Commit-by: yanjiang-treasure Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ## 关联的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!7388 | 12 天前 | |
同步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 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 9 天前 | ||
| 1 个月前 | ||
| 23 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 1 个月前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 23 天前 | ||
| 9 天前 | ||
| 12 天前 | ||
| 30 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 2 个月前 | ||
| 4 个月前 | ||
| 18 天前 | ||
| 22 天前 | ||
| 21 天前 | ||
| 3 个月前 | ||
| 1 个月前 | ||
| 21 天前 | ||
| 21 天前 | ||
| 19 天前 | ||
| 4 个月前 | ||
| 4 个月前 | ||
| 4 个月前 | ||
| 12 天前 | ||
| 21 天前 | ||
| 12 天前 | ||
| 21 天前 | ||
| 21 天前 | ||
| 12 天前 | ||
| 4 个月前 | ||
| 4 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 4 个月前 | ||
| 21 天前 | ||
| 15 天前 | ||
| 15 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 15 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 21 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 4 个月前 | ||
| 14 天前 | ||
| 1 个月前 | ||
| 21 天前 | ||
| 21 天前 | ||
| 18 天前 | ||
| 4 个月前 | ||
| 21 天前 | ||
| 21 天前 | ||
| 21 天前 | ||
| 21 天前 | ||
| 21 天前 | ||
| 21 天前 | ||
| 21 天前 | ||
| 19 天前 | ||
| 21 天前 | ||
| 21 天前 | ||
| 21 天前 | ||
| 19 天前 | ||
| 21 天前 | ||
| 16 天前 | ||
| 21 天前 | ||
| 21 天前 | ||
| 21 天前 | ||
| 1 个月前 | ||
| 4 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 21 天前 | ||
| 2 个月前 | ||
| 3 个月前 | ||
| 1 个月前 | ||
| 21 天前 | ||
| 1 个月前 | ||
| 21 天前 | ||
| 29 天前 | ||
| 4 个月前 | ||
| 21 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 1 个月前 |