Merged
#66: 新增 Reg 矢量接口单双发与理论吞吐分析卡 #163
#66: 新增 Reg 矢量接口单双发与理论吞吐分析卡 #163
Merged
bianqueAdd on 15 days ago
bianqueCollaborators
15 days ago

Pull Request 说明

变更说明

  • 关联 Issue:#66
  • 主要改动:
    • 新增 knowledge/ops/ascendc/optimizations/instruction_model/reg_vector_issue_and_theoretical_perf.md(Optimization),仅面向 Ascend 950PR/950DT:对 Reg 矢量接口按指令形态、源/目的 dtype 和实际处理元素数选择理论并行度 P(elements/cycle);仅在同位宽、单个 256B VL 的假设下示例换算 n/P。MaskReg 表中以 cycle 表示的行单列,不与 elements/cycle 混算。
    • 核对单双发分类与端口限制:LoadAlign 按单/双搬入和 DIST_DS_B8/DIST_DS_B16 模式区分;Gather 的 VGATHER2(离散搬入)与 VSELR(离散操作)均为单发,分别按各自的源/目的类型与工作量查表。Pack、UnPack、Unsqueeze、ExpSub、Reduce SUM 等跨位宽情形先核定元素数,不能直接套用单 VL 示例。
    • 循环串行成本和双发折半只是在工作量、独立配对、吞吐叠加与资源不冲突等附加假设下的比较指标;来源未提供合成调度公式,不构成实际耗时上下界或性能收益承诺。须核对实际指令、依赖、UB/寄存器端口与实测。同步 instruction_model/index.md、上级 optimizations/index.md 和 logs/2026-10-28.md。
  • 补充说明:处理决定为 create;卡片引用登记的 asc-devkit 官方文档归档,数值和类别另以 asc-devkit 固定提交 e680c34c09ba6919b3cebd2b7ec027f4ff6f0f22 下三份 docs/zh/api/appendix/ Markdown 核对。不扩展至其他平台,不修改 API/Guide 镜像、治理或 Skill。

变更类型

验证

likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for bianque's contribution.)
BbianqueCollaborators
15 days ago Created pull request, commit 92387c70
CANN-robotCANN-robotCollaborators
15 days ago Added label: cann-cla/yes
CANN-robot
CANN-robotCollaborators
15 days ago Comments:

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/cannbot-knowledge ✅ wangsj0012, qq_41667743 (2/2) ✅ wangsj0012 (1/1)

💡 Tip:

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

CLA Signature Pass

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

likedislike
CANN-robotCANN-robotCollaborators
15 days ago Set qq_41667743,wangsj0012,jon_jin,zhanghz1,fafahan,zhengshencn_hwca,linghuis,OpSphere,xfwang_ecnu as approver
CANN-robotCANN-robotCollaborators
15 days ago Set qq_41667743,wangsj0012,jon_jin,zhanghz1,fafahan,zhengshencn_hwca,linghuis,OpSphere,xfwang_ecnu as approver
99 messages are collapsed here。 See more
CANN-robotCANN-robotCollaborators
10 days ago Added label: ci-pipeline-passed
汪超Collaborators
10 days ago Comments:

/lgtm

likedislike
wangshaojun
wangshaojunCollaborators
10 days ago Comments:

/approve

likedislike
CANN-robotCANN-robotCollaborators
10 days ago Added label: lgtmapproved
CANN-robotCANN-robotCollaborators
10 days ago Merged pull request