Merged
feat(qbmm): account for StreamK Fixpipe write cost #9506
feat(qbmm): account for StreamK Fixpipe write cost #9506
Merged
guiruoyuAdd on Aug 29
guiruoyu
guiruoyuCollaborators
Aug 29

描述

在现有 QBMM StreamK MTE2 收益门槛中增加 Fixpipe workspace 写回耗时估算,不调整其他候选选择、收益阈值或 AIV 成本项。

  • 按实际参与 split-K 的 StreamK 尾块及边界 tile 统计写回量:m * n * splitK * sizeof(float)
  • 所有参与写回的 N tile 均按 32 元素对齐时,使用 5.2 TB/s * 80% = 4160 B/ns
  • 任一参与写回的 N tile 不对齐时,使用 5.2 TB/s * 25% = 1300 B/ns
  • 将 Fixpipe 时间与原有 AIV/调度额外成本相加,对总额外成本统一应用 1.2 安全系数,最后叠加 300 ns margin
  • 增加日志字段,便于观测写回字节、对齐档位和估算时间

关联的Issue

关联 Issue:Issue #5470

测试

  • pre-commit:trailing whitespace、EOF、merge conflict、private key、clang-format、codespell 均通过
likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for guiruoyu's contribution.)
guiruoyuguiruoyuCollaborators
Aug 29 Created pull request, commit 6e131c50
CANN-robotCANN-robotCollaborators
Aug 29 Added label: cann-cla/yes
CANN-robot
CANN-robotCollaborators
Aug 29 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
matmul ✅ 杨阳, 王子韬 (2/2) ✅ 杨阳 (1/1)

💡 Tip:

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

CLA Signature Pass

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

likedislike
CANN-robotCANN-robotCollaborators
Aug 29 Set zengjuan,sxb154714,chaotang233,crystalhu,yangyang016,fanqirui,chenqi317,LinPX,liubo75,tangweiwei2,wangzitao_leo,xubinglin,pingchuantang,liuyang_806 as approver
CANN-robotCANN-robotCollaborators
Aug 29 Set sxb154714,chaotang233,yangyang016,fanqirui,chenqi317,LinPX,tangweiwei2,wangzitao_leo,xubinglin,liuyang_806 as approver
47 messages are collapsed here。 See more
yangyang016
yangyang016Collaborators
Sep 3 Comments:

/lgtm
/approve

likedislike
CANN-robotCANN-robotCollaborators
Sep 3 Added label: lgtmapproved
CANN-robotCANN-robotCollaborators
Sep 3 Closed associated issue
CANN-robotCANN-robotCollaborators
Sep 3 Merged pull request
CANN-robot
CANN-robotCollaborators
Sep 3 Comments:

Pull Request 已合并或已关闭。

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

likedislike