| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix(cleancode): AICPU算子告警整改 Co-authored-by: liu-wei<lovline.liuwei@huawei.com> # message auto-generated for no-merge-commit merge: !5741 merge fix/warning-cleanup into master fix(cleancode): AICPU算子告警整改 Created-by: liu-wei Commit-by: liu-wei Merged-by: cann-robot Description: ## 描述 AICPU算子告警整改,修复9类告警。 ## 改动内容 - G.EXP.15: reinterpret_cast → PtrToPtr (mul/trans_data/conj/real_div) - G.CLS.12: 析构函数加 override (case_condition) - G.EXP.27: 三目表达式条件显式比较 + 有符号位移改除法 (zeta/topk) - G.CNS.04: 指针参数加 const (tile) - G.CNS.03: 成员函数加 const (top_k_pq_distance/strided_slice_v2/top_k_v2_d) - G.EXP.36: 位与条件表达式显式比较 (strided_slice) - G.FMT.14: 指针星号格式统一 (greater_equal) - G.CNS.02: 魔法数字提取为命名常量 - G.RES.03: 数组传参增加长度参数 (top_k_pq_distance) ## 关联的Issue https://gitcode.com/cann/ops-math/issues/3217 ## 测试 - pre-commit 全部 Passed - aicpu kernel UT: 340/340 PASSED - ophost UT: 67/67 PASSED - graph example: 14/14 success - eager example: 3/3 success ## 类型标签 - [ ] 🐛 Bug修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [x] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [x] 🧹 代码清理 - [ ] ❓ 其他 See merge request: cann/ops-math!5741 | 1 个月前 | |
feat: 迁移 Conj 与 ConjugateTranspose AICPU 算子(含 infershape rt1→rt2) Co-authored-by: Ding_Jing<dingjing19@huawei.com> # message auto-generated for no-merge-commit merge: !3778 merge feat/migrate-conj-conjugate-transpose into master feat: 迁移 Conj 与 ConjugateTranspose AICPU 算子(含 infershape rt1→rt2) Created-by: Ding_Jing Commit-by: Ding_Jing Merged-by: cann-robot Description: ## 描述 从 canndev 迁移两个 AICPU 算子到 ops-math,并将 infershape 由 rt1 适配为 rt2: - Conj → math/conj/(逐元素复数共轭) - ConjugateTranspose → conversion/conjugate_transpose/(按 perm 转置 + 共轭) 每算子交付:op_graph(proto + InferDataType)、op_host(infershape rt2)、op_kernel_aicpu(kernel + opdef)、examples(图模式)、tests/ut(infershape + kernel)、README;docs/zh/op_list.md 补充条目。 infershape 适配要点: - Conj 为 element-wise,复用 Ops::Base::InferShape4Elewise。 - ConjugateTranspose 按 perm 常量重排 + InputsDataDependency({perm});perm 校验为非负 [0, rank-1],与本算子 AICPU kernel、canndev rt1、TF 语义一致(format 由框架接管,rt2 infershape 不处理)。 ## 关联的Issue #2135 https://gitcode.com/cann/ops-math/issues/2135 ## 测试 Ascend 910B 真机验证全部通过: - op_host(infershape)UT:8/8 - AICPU kernel UT:11/11(Conj 6 + ConjugateTranspose 5) - 打包 .run + 安装:SUCCESS;strings 自检两算子符号在 libmath_aicpu_kernels.so - 图模式 example:Conj、ConjugateTranspose 结果均正确,日志确认走 AICPU custom scheduler ## 文档更新 - 新增 math/conj/README.md、conversion/conjugate_transpose/README.md - 更新 docs/zh/op_list.md(新增两算子条目) ## 类型标签 - [x] 新特性 See merge request: cann/ops-math!3778 | 3 个月前 | |
feat: 迁移 Conj 与 ConjugateTranspose AICPU 算子(含 infershape rt1→rt2) Co-authored-by: Ding_Jing<dingjing19@huawei.com> # message auto-generated for no-merge-commit merge: !3778 merge feat/migrate-conj-conjugate-transpose into master feat: 迁移 Conj 与 ConjugateTranspose AICPU 算子(含 infershape rt1→rt2) Created-by: Ding_Jing Commit-by: Ding_Jing Merged-by: cann-robot Description: ## 描述 从 canndev 迁移两个 AICPU 算子到 ops-math,并将 infershape 由 rt1 适配为 rt2: - Conj → math/conj/(逐元素复数共轭) - ConjugateTranspose → conversion/conjugate_transpose/(按 perm 转置 + 共轭) 每算子交付:op_graph(proto + InferDataType)、op_host(infershape rt2)、op_kernel_aicpu(kernel + opdef)、examples(图模式)、tests/ut(infershape + kernel)、README;docs/zh/op_list.md 补充条目。 infershape 适配要点: - Conj 为 element-wise,复用 Ops::Base::InferShape4Elewise。 - ConjugateTranspose 按 perm 常量重排 + InputsDataDependency({perm});perm 校验为非负 [0, rank-1],与本算子 AICPU kernel、canndev rt1、TF 语义一致(format 由框架接管,rt2 infershape 不处理)。 ## 关联的Issue #2135 https://gitcode.com/cann/ops-math/issues/2135 ## 测试 Ascend 910B 真机验证全部通过: - op_host(infershape)UT:8/8 - AICPU kernel UT:11/11(Conj 6 + ConjugateTranspose 5) - 打包 .run + 安装:SUCCESS;strings 自检两算子符号在 libmath_aicpu_kernels.so - 图模式 example:Conj、ConjugateTranspose 结果均正确,日志确认走 AICPU custom scheduler ## 文档更新 - 新增 math/conj/README.md、conversion/conjugate_transpose/README.md - 更新 docs/zh/op_list.md(新增两算子条目) ## 类型标签 - [x] 新特性 See merge request: cann/ops-math!3778 | 3 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 | ||
| 3 个月前 | ||
| 3 个月前 |