已合并
【社区任务】aclblasCherk 算子开发(Atlas A2/A3)设计文档 #1269
【社区任务】aclblasCherk 算子开发(Atlas A2/A3)设计文档 #1269
已合并
hor1Zzz创建于 2 天前
hor1Zzz
hor1Zzz
2 天前

任务信息

  • 任务:8月社区任务-aclblasCherk算子开发(A2/A3)(任务编号 29)
  • gitId:m0_56676577
  • 提交路径:04_tasks/01_community-task-2026/tasklist/08-29-aclblasCherk-A2A3/m0_56676577/docs/design.md

内容说明

resources/design_template.md 模板提交 aclblasCherk(单精度复数厄米特秩-k 更新,BLAS-3)Atlas A2/A3(arch22 / DAV_2201,Ascend 910B3)实现设计文档:

  • 三段式流水线(AIV deinterleave → AIC GEMM → AIV combine)+ 4M 分解
  • GEMM 双路径(KFC 高吞吐 47–60 TFLOPS / MatmulImpl gemm4 通用回退)
  • 交错 4M 分解虚部精度方案(k=2048 虚部绝对误差 1.0e-3 → 2.2e-5,matched_ratio 0.9998+)
  • uplo 三角 tile 裁剪(Hermitian 对称减半)与多核 round-robin 调度
  • 精度实测 ST 1220/1220 / UT 37/37 / 白盒 1044/1044 / PyTorch ST 76/76;性能硬指标 case1 303–330us ≤ 472.38 / case2 1345us ≤ 1674.42 / case3 259.9–297.5us ≤ 311.00(Atlas 800T A2 / CANN 9.1.0 / Release)

实现位于 ops-blas 仓 blas/herk/arch22/(合入目标 blas/herk/ + test/herk/cherk/arch22/)。

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 hor1Zzz 的贡献)
hor1Zzzhor1Zzz
2 天前 创建了 pull request,commit cc2ef0b4
atomgit-bot
atomgit-bot
2 天前 评论:

变更摘要

该 PR 按 resources/design_template.md 模板提交 aclblasCherk(单精度复数厄米特秩-k 更新,BLAS-3)在 Atlas A2/A3(arch22 / DAV_2201,Ascend 910B3)上的实现设计文档(04_tasks/01_community-task-2026/tasklist/08-29-aclblasCherk-A2A3/m0_56676577/docs/design.md,新增 193 行)。文档规划了三段式流水线(AIV deinterleave → AIC GEMM → AIV combine)结合 4M 分解的算子实现方案、GEMM 双路径选择、交错 4M 分解的虚部精度优化、uplo 三角 tile 裁剪与多核 round-robin 调度,并给出精度与性能实测数据,确认满足任务硬指标。

主要改动

  • 三段式流水线与 4M 分解:设计 AIV deinterleave → AIC GEMM → AIV combine 的算子流水结构,并结合 4M 分解组织整体计算流程。
  • GEMM 双路径:提供 KFC 高吞吐路径(47–60 TFLOPS)与 MatmulImpl gemm4 通用回退路径,兼顾峰值性能与通用性。
  • 虚部精度方案:采用交错 4M 分解方案,将 k=2048 时虚部绝对误差由 1.0e-3 降至 2.2e-5,matched_ratio 达到 0.9998+。
  • 三角 tile 裁剪与调度:利用 Hermitian 对称性对 uplo 三角 tile 进行裁剪(计算量减半),并采用多核 round-robin 调度。
  • 精度与性能验证:记录 ST 1220/1220、UT 37/37、白盒 1044/1044、PyTorch ST 76/76,以及 Atlas 800T A2 / CANN 9.1.0 下三个 case 的性能实测,均满足硬指标;合入目标为 blas/herk/test/herk/cherk/arch22/
likedislike
CANN-robotCANN-robot成员
2 天前 添加了label:cann-cla/no
CANN-robot
CANN-robot成员
2 天前 评论:

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

Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
repo-cann/cann-ops-competitions Carolina_yuan, 傅涛 (2/2) 傅涛, Carolina_yuan (2/1)

💡 Tip:

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

CLA Signature Guide

@m0_56676577 , thanks for your pull request.

The following commit(s) have not signed Contributor License Agreement (CLA).

Commit Reason
165f8d77 【社区任务】aclblasCherk �... the email used in the commit is platform default email: ***@noreply.gitcode.com!
使用了Gitcode平台系统默认邮箱,需要在平台个人设置里绑定个人邮箱.

If you need to sign CLA, you can click here to sign the CLA.

If you need to check if the email is set up correctly, you can click here to do it in the FAQs.

After signing the CLA or updating the email, you must comment /check-cla to check the CLA status again.

likedislike
hor1Zzzhor1Zzz
2 天前 update merge request[project id: 9516645, iid: 1269, commit_id: dabcca908fac56be6a4671f8ea15c9f9f6d7e0d2] virtual merging success
hor1Zzzhor1Zzz
2 天前 强制推送  1 个提交:0161e898-【社区任务】aclblasCherk 算子开发(Atlas A2/A3)设计文档
hor1Zzzhor1Zzz
2 天前 update merge request[project id: 9516645, iid: 1269, commit_id: 30f7129ecd4937605c92fdd85fa55b97932f36fb] virtual merging success
CANN-robotCANN-robot成员
2 天前 删除了label:cann-cla/no
CANN-robotCANN-robot成员
2 天前 添加了label:cann-cla/yes
hor1Zzz
hor1Zzz
2 天前 评论:

/compile

likedislike
hor1Zzzhor1Zzz
2 天前 update merge request[project id: 9516645, iid: 1269, commit_id: 887eb55bc43934d607614a3932d6bee289718429] virtual merging success
CANN-robotCANN-robot成员
2 天前 添加了label:ci-pipeline-running
CANN-robotCANN-robot成员
2 天前 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
2 天前 添加了label:ci-pipeline-passed
condfuse_3
condfuse_3成员
1 天前 评论:

评审通过
@m0_56676577

likedislike
fulltower成员
1 天前 评论:

/approve

likedislike
CANN-robotCANN-robot成员
1 天前 添加了label:approved
圆啊圆
圆啊圆成员
1 天前 评论:

/approve

likedislike
CANN-robotCANN-robot成员
1 天前 添加了label:lgtm
CANN-robotCANN-robot成员
1 天前 合入了pull request