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

当前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
18 小时前 创建了 pull request,commit 831f9850
atomgit-bot
atomgit-bot
18 小时前 评论:

变更摘要

本 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成员
18 小时前 评论:

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成员
18 小时前 添加了label:cann-cla/no
CANN-robotCANN-robot成员
18 小时前 添加了label:ai-co-authored
CANN-robot
CANN-robot成员
18 小时前 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.


PR Approval Progress

⚠️ This PR does not yet meet the following requirements:lgtm (requires ≥ 2 person(s) per module)、approve (requires ≥ 1 person(s) per module)

Module Approval Details

module lgtm status approve status
repo-cann/cann-ops-competitions ❌ (0/2)(You can also ask: yanyawen, 田晓亮, 王艳秋, fuyangchenghu, Carolina_yuan) ❌ (0/1)(You can also ask: syeren, zutao, yanyawen, fuyangchenghu, 王艳秋)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

qq_51183872, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
sunjiankangsunjiankang
15 小时前 update merge request[project id: 9516645, iid: 1240, commit_id: 001b9621c48f999eca3cf1de2b6f7bab2ce489d5] virtual merging success
此处折叠了5条事件消息 查看更多
CANN-robotCANN-robot成员
15 小时前 添加了label:ai-compliance-failed
CANN-robot
CANN-robot成员
15 小时前 评论:

AI Declaration Check Failed

@qq_51183872, AI declaration is not compliant. AI tool: OpenAI Codex

Please check:

  1. The AI tool and model declared in the PR description must be real.
  2. Commit messages must include the AI model, and it must be consistent with the PR description. ⚠️
likedislike
sunjiankangsunjiankang
15 小时前 update merge request[project id: 9516645, iid: 1240, commit_id: 1892726502d4e91989321f2a88aae95e47bbba31] virtual merging success
此处折叠了5条事件消息 查看更多
CANN-robotCANN-robot成员
15 小时前 添加了label:ai-compliance-successful
sunjiankang
sunjiankang
15 小时前 评论:

/compile

likedislike
sunjiankangsunjiankang
15 小时前 update merge request[project id: 9516645, iid: 1240, commit_id: b3e2745660484a8cdcc3c6a1b1f746290dd545bb] virtual merging success
CANN-robotCANN-robot成员
15 小时前 添加了label:ci-pipeline-running
CANN-robotCANN-robot成员
15 小时前 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
15 小时前 添加了label:ci-pipeline-passed
sunjiankang
sunjiankang
15 小时前 评论:

@yanyawen @fuyangchenghu 老师您好,社区任务 aclblasCgemmBatched 设计文档 PR 已完成 CLA、AI 合规和 CI 检查,烦请评审,谢谢!

likedislike
sunjiankangsunjiankang
14 小时前 修改标题为 “【社区任务】aclblasCgemmBatched 算子设计文档(Ascend 950PR)”,原标题为“docs(cgemm batched): add Ascend 950 community design”