| Files | Last commit | Last update |
|---|---|---|
refactor: 迁移 experimental 公共头文件引用到 math 后缀 Co-authored-by: clinglai0517<laichangling@huawei.com> # message auto-generated for no-merge-commit merge: !6346 merge refactor/math-prefix-common-headers-1014 into master refactor: 迁移 experimental 公共头文件引用到 math 后缀 Created-by: clinglai0517 Commit-by: clinglai0517 Merged-by: cann-robot Description: ## 描述 继续将 ops-math 的公共 op_api 头文件引用迁移到带 _math 后缀的名称,减少多个算子仓库集成时同名头文件误引用的风险。 本次更新 36 个 experimental 文件中的 42 处引用: - level2_base.h → level2_base_math.h:14 处。 - level2_base_caculation.h → level2_base_caculation_math.h:4 处。 - op_api_def.h → op_api_def_math.h:24 处。 29 个文件附带仓库要求的 clang-format、空白或 EOF 调整,7 个文件仅替换 include;合计新增 418 行、删除 469 行。C++ token 对比在映射头文件名称并忽略注释、空白后保持一致。 现有兼容转发头及 classification 元数据保留;本批继续迁移源码引用,最终软件包的同名头文件冲突仍待后续处理。 ## 关联的Issue 延续公共头文件增加 math 后缀的分阶段迁移:[cann/ops-math#3243](https://gitcode.com/cann/ops-math/issues/3243)。 ## 测试 以下容器结果为该次 37 文件验证记录。 - git diff --check:通过,保留原有 CRLF 文件行尾。 - pre-commit:全部适用 hook 通过,包含 clang-format 18.1.8。 - 显式 OAT:完整扫描 37 文件,全部通过。 - 暂缓 Tile 后,仓库 scripts/ci/gen_ci_cmd.py 按实际 37 文件清单生成并执行 experimental op_api UT,指定 ascend910b:242 用例、24 个 suite 全部通过,未设置 GTEST_FILTER;包含 cross BF16 用例。 - 按实际 37 文件清单生成并执行 experimental --pkg 命令:142 条 kernel 编译任务通过,生产动态库链接及完整出包成功,退出码 0;产出 cann-ops-math-experimental_linux-aarch64.run(4,763,686 字节)。 ## 文档更新 不涉及用户文档更新。 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:公共头文件引用重构及格式规范化。 See merge request: cann/ops-math!6346 | 27 days ago | |
新增Ascend C实现的reduce_std_v2算子 Co-authored-by: tieyutong<tieyutong@huawei.com> # message auto-generated for no-merge-commit merge: !3126 merge upload-reduce-std-v2-20260604 into master 新增Ascend C实现的reduce_std_v2算子 Created-by: tieyutong Commit-by: tieyutong Merged-by: cann-robot Description: ## 描述 本 PR 新增 experimental/math/reduce_std_v2路径下ReduceStdV2算子的Ascend C实现与配套工程文件。 主要改动包括: - 新增 ReduceStdV2 L0 op_api、op_host、op_kernel、op_graph 相关文件。 - 支持 dim、correction、keepdim 参数校验与 shape 推导。 - 支持空 tensor、0 维 tensor、shapeProd <= correction 等特殊场景处理。 - 910B 系列通过 ReduceMean + Expand + ReduceStdWithMean + Cast + ViewCopy 组合路径实现。 - arch35 路径保留 ReduceStdV2 AICore kernel、tiling 与 ascend950 配置。 - 新增 op_host / op_api UT,覆盖参数校验、shape 推导和接口构图路径。 ## 关联的Issue https://gitcode.com/cann/ops-math/issues/1837 ## 测试 已完成以下验证: 套件 用例数 结果 ━━━━━━━━━━━━━━━━━━━━━━━━━━ Accu_Generalization 2103 Pass ────────────────────────── Accu_RL 3 Pass ────────────────────────── Accu_pangu 3 Pass ────────────────────────── Special 103 Pass ────────────────────────── Abnormal 3 Pass,3 条均为预期错误匹配 ────────────────────────── Sanitizer_Generalization 180 Pass ────────────────────────── Perf_Generalization 6 Pass CI/工程验证: 项目 结果 ━━━━━━━━━━━━━━━━━━━━━━━━━━━ 环境检查 Pass ─────────────────────────── experimental package 编译 Pass ─────────────────────────── custom package 安装 Pass ─────────────────────────── op_host UT Pass,1 test ─────────────────────────── op_api UT Pass,43 tests ─────────────────────────── op_graph UT Pass,0 tests ─────────────────────────── NPU 示例运行 Pass ## 文档更新 已更新/新增以下文档: - experimental/math/reduce_std_v2/README.md ## 类型标签 - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!3126 | 4 months ago | |
新增Ascend C实现的reduce_std_v2算子 Co-authored-by: tieyutong<tieyutong@huawei.com> # message auto-generated for no-merge-commit merge: !3126 merge upload-reduce-std-v2-20260604 into master 新增Ascend C实现的reduce_std_v2算子 Created-by: tieyutong Commit-by: tieyutong Merged-by: cann-robot Description: ## 描述 本 PR 新增 experimental/math/reduce_std_v2路径下ReduceStdV2算子的Ascend C实现与配套工程文件。 主要改动包括: - 新增 ReduceStdV2 L0 op_api、op_host、op_kernel、op_graph 相关文件。 - 支持 dim、correction、keepdim 参数校验与 shape 推导。 - 支持空 tensor、0 维 tensor、shapeProd <= correction 等特殊场景处理。 - 910B 系列通过 ReduceMean + Expand + ReduceStdWithMean + Cast + ViewCopy 组合路径实现。 - arch35 路径保留 ReduceStdV2 AICore kernel、tiling 与 ascend950 配置。 - 新增 op_host / op_api UT,覆盖参数校验、shape 推导和接口构图路径。 ## 关联的Issue https://gitcode.com/cann/ops-math/issues/1837 ## 测试 已完成以下验证: 套件 用例数 结果 ━━━━━━━━━━━━━━━━━━━━━━━━━━ Accu_Generalization 2103 Pass ────────────────────────── Accu_RL 3 Pass ────────────────────────── Accu_pangu 3 Pass ────────────────────────── Special 103 Pass ────────────────────────── Abnormal 3 Pass,3 条均为预期错误匹配 ────────────────────────── Sanitizer_Generalization 180 Pass ────────────────────────── Perf_Generalization 6 Pass CI/工程验证: 项目 结果 ━━━━━━━━━━━━━━━━━━━━━━━━━━━ 环境检查 Pass ─────────────────────────── experimental package 编译 Pass ─────────────────────────── custom package 安装 Pass ─────────────────────────── op_host UT Pass,1 test ─────────────────────────── op_api UT Pass,43 tests ─────────────────────────── op_graph UT Pass,0 tests ─────────────────────────── NPU 示例运行 Pass ## 文档更新 已更新/新增以下文档: - experimental/math/reduce_std_v2/README.md ## 类型标签 - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!3126 | 4 months ago | |
新增Ascend C实现的reduce_std_v2算子 Co-authored-by: tieyutong<tieyutong@huawei.com> # message auto-generated for no-merge-commit merge: !3126 merge upload-reduce-std-v2-20260604 into master 新增Ascend C实现的reduce_std_v2算子 Created-by: tieyutong Commit-by: tieyutong Merged-by: cann-robot Description: ## 描述 本 PR 新增 experimental/math/reduce_std_v2路径下ReduceStdV2算子的Ascend C实现与配套工程文件。 主要改动包括: - 新增 ReduceStdV2 L0 op_api、op_host、op_kernel、op_graph 相关文件。 - 支持 dim、correction、keepdim 参数校验与 shape 推导。 - 支持空 tensor、0 维 tensor、shapeProd <= correction 等特殊场景处理。 - 910B 系列通过 ReduceMean + Expand + ReduceStdWithMean + Cast + ViewCopy 组合路径实现。 - arch35 路径保留 ReduceStdV2 AICore kernel、tiling 与 ascend950 配置。 - 新增 op_host / op_api UT,覆盖参数校验、shape 推导和接口构图路径。 ## 关联的Issue https://gitcode.com/cann/ops-math/issues/1837 ## 测试 已完成以下验证: 套件 用例数 结果 ━━━━━━━━━━━━━━━━━━━━━━━━━━ Accu_Generalization 2103 Pass ────────────────────────── Accu_RL 3 Pass ────────────────────────── Accu_pangu 3 Pass ────────────────────────── Special 103 Pass ────────────────────────── Abnormal 3 Pass,3 条均为预期错误匹配 ────────────────────────── Sanitizer_Generalization 180 Pass ────────────────────────── Perf_Generalization 6 Pass CI/工程验证: 项目 结果 ━━━━━━━━━━━━━━━━━━━━━━━━━━━ 环境检查 Pass ─────────────────────────── experimental package 编译 Pass ─────────────────────────── custom package 安装 Pass ─────────────────────────── op_host UT Pass,1 test ─────────────────────────── op_api UT Pass,43 tests ─────────────────────────── op_graph UT Pass,0 tests ─────────────────────────── NPU 示例运行 Pass ## 文档更新 已更新/新增以下文档: - experimental/math/reduce_std_v2/README.md ## 类型标签 - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-math!3126 | 4 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 27 days ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago |