已开启
【社区任务】aclblasCgemmBatched 算子设计文档(Ascend 950PR) #1240
【社区任务】aclblasCgemmBatched 算子设计文档(Ascend 950PR) #1240
已开启
sunjiankang创建于 3 天前
sunjiankang
sunjiankang
3 天前

当前PR是否有AI参与:

[ ] 否

[x] 是

  1. AI Agent 平台:OpenAI Codex
  2. AI 模型:GPT-5
  3. Prompt上下文:围绕 aclblasCgemmBatched 社区任务,协助分析接口语义、实现与优化 Ascend 950PR 算子、核验真机正确性和性能日志,并整理设计文档及提交材料;提交者对最终代码、文档和测试结论进行了复核。

描述

本 PR 新增 2026 年 8 月社区任务 aclblasCgemmBatched 的 Ascend 950PR 算子设计文档。

文档主要包括:

  • COMPLEX64 batched GEMM 的功能、接口和 cuBLAS 对标语义;
  • Host 参数校验、快速返回、workspace 规划及 tiling 设计;
  • N/T/C、复数 alpha/beta、leading dimension 和设备指针数组支持;
  • 小输出直接复数累加、通用 FP32 4M 分解及 realification 性能路径;
  • Ascend 950PR 的正确性、精度和性能验证方案;
  • 原任务包 1,200 条 CSV 测试输入的覆盖说明。

关联的Issue

无独立 Issue。

关联社区任务:

04_tasks/01_community-task-2026/tasklist/08-26-aclblasCgemmBatched-950/

测试

相关实现已在 Ascend 950PR 真机、CANN 9.1.0 环境完成验证:

  • 标准仓库构建通过;
  • 原任务包 1,200/1,200 条 CSV 正确性验证通过;
  • 三个指定性能 case 按任务包 verify_performance.pyGPU / 0.4 公式通过;
  • research/performance-gate.sh 性能门禁通过;
  • 测试后端为真实 NPU,不是 CPU、模拟器或 mock 计时。

文档更新

新增文件:

04_tasks/01_community-task-2026/tasklist/08-26-aclblasCgemmBatched-950/qq_51183872/docs/design.md

类型标签

likedislike
合并受阻
sunjiankangsunjiankang
3 天前 创建了 pull request,commit 831f9850
atomgit-bot
atomgit-bot
3 天前 评论:

变更摘要

本 PR 为 2026 年 8 月社区任务 aclblasCgemmBatched 新增 Ascend 950PR 算子的设计文档,属于纯文档更新(1 个文件,新增 448 行,无代码改动)。文档位于 04_tasks/01_community-task-2026/tasklist/08-26-aclblasCgemmBatched-950/qq_51183872/docs/design.md,系统阐述了该算子的接口语义、实现方案与验证方案,并附有基于 Ascend 950PR 真机与 CANN 9.1.0 环境的测试结论。

主要改动

  • 功能与接口对标: 新增 COMPLEX64 batched GEMM 的功能、接口定义及与 cuBLAS 的对标语义说明,明确该社区任务的目标行为。
  • Host 侧实现设计: 补充参数校验、快速返回路径、workspace 规划及 tiling 设计的说明,覆盖算子调度与资源分配策略。
  • 计算路径设计: 说明对 N/T/C 转置、复数 alpha/beta、leading dimension 及设备指针数组的支持,并描述小输出直接复数累加、通用 FP32 4M 分解及 realification 三条性能路径。
  • 验证方案: 给出 Ascend 950PR 上正确性、精度与性能的验证方案,并说明原任务包 1,200 条 CSV 测试输入的覆盖情况,测试后端为真实 NPU(CANN 9.1.0),性能门禁与 verify_performance.pyGPU / 0.4 公式均通过。
likedislike
CANN-robot
CANN-robot成员
3 天前 评论:

Hi @qq_51183872, welcome to submitting your first PR to cann-ops-competitions!

PR Merge Steps

1. CLA Signing

If the current PR label includes cann-cla/yes, it means you have signed the CLA and can proceed to the next step. If the label includes cann-cla/no, please sign the CLA first. If you have any questions, please refer to the FAQ.

2. CI Check

Please comment /compile to trigger the CI pipeline check. If the CI run is successful, the PR will be tagged with ci-pipeline-passed and you can proceed to the next step. If the CI run fails, the PR will be tagged with ci-pipeline-failed, please check the CI logs to fix the issues in the PR. If you have any questions, please refer to the FAQ.

3. Code Review

After CI passes, please refer to the PR Approval Progress and proactively @ the committers in the table to review the code. After approval, committers will comment /lgtm and /approve. Once the lgtm and approved labels are successfully added, the PR will be merged automatically.

likedislike
CANN-robotCANN-robot成员
3 天前 添加了label:cann-cla/no
CANN-robotCANN-robot成员
3 天前 添加了label:ai-co-authored
此处折叠了48条消息 查看更多
CANN-robotCANN-robot成员
16 小时前 添加了label:approved
圆啊圆
圆啊圆成员
16 小时前 评论:

/approve

likedislike
CANN-robotCANN-robot成员
16 小时前 添加了label:lgtm
CANN-robot
CANN-robot成员
16 小时前 评论:

The MR can not be merged, because of CodeReview discussion not resolved

If you want to solve this problem, you can click here to do it in the FAQs.

likedislike
sunjiankang
sunjiankang
14 小时前 评论:

@fullt @condfuse_3 评审意见已按照要求修改,我没有权限标记“已解决”,请求你的帮助

likedislike