| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
A5新增polar算子 Co-authored-by: xiu_ling_wang<wangxiuling2@h-partners.com> # message auto-generated for no-merge-commit merge: !2827 merge polar-A5 into master A5新增polar算子 Created-by: xiu_ling_wang Commit-by: xiu_ling_wang Merged-by: cann-robot Description: ## 描述 A5新增polar算子。 ## 关联的Issue https://gitcode.com/cann/ops-math/issues/1610 <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!2827 | 5 个月前 | |
feat(ascend960): polar算子适配ascend960dt/ascend960pr Co-authored-by: yu_qinfei<yuqinfei1@h-partners.com> # message auto-generated for no-merge-commit merge: !7051 merge feat/polar_ascend960 into master feat(ascend960): polar算子适配ascend960dt/ascend960pr Created-by: yu_qinfei Commit-by: yu_qinfei Merged-by: cann-robot Description: ## 描述 为 Polar 算子补充 Ascend 960(ascend960dt/ascend960pr)平台适配,无 kernel 代码改动,复用现有 arch35 kernel 与 tiling。 ### 改动原因 Polar 仅在 ascend950 平台注册,Ascend960 系列上缺失该算子能力。 ### 改动方法 1. math/polar/CMakeLists.txt:SUPPORT_COMPUTE_UNIT 追加 ascend960dt/ascend960pr,对应 SUPPORT_TILING_DIR 沿用 arch35; 2. math/polar/op_host/polar_def.cpp:新增 AICore().AddConfig("ascend960dt", aicoreConfig) / AddConfig("ascend960pr", aicoreConfig); 3. 新增 math/polar/op_host/config/ascend960dt/、config/ascend960pr/ 二进制配置目录,含 polar_binary.json 与 polar_simplified_key.ini,内容沿用 ascend950 既有配置; 4. 中央注册表 scripts/kernel/binary_config/ascendc_config.json:Polar 主线 ascend950 无对应条目,按既有注册口径不新增(与 d9cd1a28a 中 Signbit/Ger/Gcd 等处理一致)。 ## 关联的Issue https://gitcode.com/cann/ops-math/issues/4434 ## 测试 - bash build.sh --ops=polar --soc=ascend950:Build binary success(本机 cann-9.2.0 框架不支持 960 计算单元,ascend960dt 编译需在 CI/960 环境验证) - bash build.sh -u --ophost --ops=polar --soc=ascend950 后运行 math_op_host_ut --gtest_filter=*Polar*:12 个用例全部通过(infershape 4 + arch35 tiling 8) - math_op_api_ut --gtest_filter=l2_polar_test.*:15 个用例全部通过 - pre-commit 全部 hook 通过(clang-format / OAT / codespell 等) ## 文档更新 不涉及(与主线 960 适配惯例一致,README 产品支持表暂未列 960) ## 类型标签 - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!7051 | 12 天前 | |
feat(ascend960): polar算子适配ascend960dt/ascend960pr Co-authored-by: yu_qinfei<yuqinfei1@h-partners.com> # message auto-generated for no-merge-commit merge: !7051 merge feat/polar_ascend960 into master feat(ascend960): polar算子适配ascend960dt/ascend960pr Created-by: yu_qinfei Commit-by: yu_qinfei Merged-by: cann-robot Description: ## 描述 为 Polar 算子补充 Ascend 960(ascend960dt/ascend960pr)平台适配,无 kernel 代码改动,复用现有 arch35 kernel 与 tiling。 ### 改动原因 Polar 仅在 ascend950 平台注册,Ascend960 系列上缺失该算子能力。 ### 改动方法 1. math/polar/CMakeLists.txt:SUPPORT_COMPUTE_UNIT 追加 ascend960dt/ascend960pr,对应 SUPPORT_TILING_DIR 沿用 arch35; 2. math/polar/op_host/polar_def.cpp:新增 AICore().AddConfig("ascend960dt", aicoreConfig) / AddConfig("ascend960pr", aicoreConfig); 3. 新增 math/polar/op_host/config/ascend960dt/、config/ascend960pr/ 二进制配置目录,含 polar_binary.json 与 polar_simplified_key.ini,内容沿用 ascend950 既有配置; 4. 中央注册表 scripts/kernel/binary_config/ascendc_config.json:Polar 主线 ascend950 无对应条目,按既有注册口径不新增(与 d9cd1a28a 中 Signbit/Ger/Gcd 等处理一致)。 ## 关联的Issue https://gitcode.com/cann/ops-math/issues/4434 ## 测试 - bash build.sh --ops=polar --soc=ascend950:Build binary success(本机 cann-9.2.0 框架不支持 960 计算单元,ascend960dt 编译需在 CI/960 环境验证) - bash build.sh -u --ophost --ops=polar --soc=ascend950 后运行 math_op_host_ut --gtest_filter=*Polar*:12 个用例全部通过(infershape 4 + arch35 tiling 8) - math_op_api_ut --gtest_filter=l2_polar_test.*:15 个用例全部通过 - pre-commit 全部 hook 通过(clang-format / OAT / codespell 等) ## 文档更新 不涉及(与主线 960 适配惯例一致,README 产品支持表暂未列 960) ## 类型标签 - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!7051 | 12 天前 |