Closed
[Requirement|需求建议]: CodeGen支持L0C To UB泛化 #896
HujunAdd on  Mar 24Closed at  Apr 29
Hujun
HujunCollaborators
Mar 24 Create

Thanks for sending an requirement! Please fill in the following template to help quickly solve your problem.

Backgroud(背景信息)

Matmul MIX场景下性能提升,切图优化后,可能会出现L0C -> UB通路小搬大或者大搬小的场景

Origin(信息来源)

Cube团队

Benefit / Necessity (价值/作用)

提升Matmul性能

Design(设计方案)

参考L0C->L1通路方案

  1. Pass需要在L0C->UB的Op设置attr
  • srcOffsetO, srcOffsetl: 记录在LOC2L1 CopyOpAttribute fromOffset;3
  • dstOffsetO, dstOffsetl: 记录在LOC2L1 CopyOpAttribute toOffset;
  1. CodeGen读取attr在生成TileOp时进行拼接
likedislike
HujunHujunCollaborators
Mar 24 Modify description of issue
HujunHujunCollaborators
Mar 24 Associated pull request
HujunHujunCollaborators
Apr 9 Assign cam_bxh as responsible person
HujunHujunCollaborators
Apr 10 Added label: CodeGen
HujunHujunCollaborators
Apr 10 Associated pull request
HujunHujunCollaborators
Apr 10 Deleted associated pull request: feat(codegen): Support L0C->UB, UB->L1 with dst/src coordinate; Determine spill by tensor attributes
Hujun
HujunCollaborators
Apr 10 Comments:

代码完成,联调进行中

likedislike
HujunHujunCollaborators
Apr 23 Associated pull request
Hujun
HujunCollaborators
Apr 29 Comments:

关联patch已合入,issue关闭

likedislike
HujunHujunCollaborators
Apr 29 changed custom state from 进行中 to 已完成
HujunHujunCollaborators
Apr 29 Close issue
CANN-robotCANN-robotCollaborators
Apr 29 Added label: resolved