Closed
[Requirement|需求建议]: 优化自动VF融合性能 #2815
zhangyuebingAdd on Jul 29Closed at Sep 17
Jul 29 Added label: Passes
Jul 29 Modify description of issue
Jul 29 Modify description of issue
Jul 30 Assign zhangyuebing as responsible person
zhangyuebing
Jul 30 Comments:
Jul 30 Comments:
@KaiqiJin 请跟踪处理


Jul 30 Assign hwwangmingjun as responsible person
Jul 30 Removed responsible person hwwangmingjun
KaiqiJin
Jul 30 Comments:
Jul 30 Comments:
OK 收到


Jul 31 Removed responsible person zhangyuebing
Aug 13 Modify description of issue
Aug 18 Change title to "[Requirement|需求建议]: 优化自动VF融合性能", originally titled "[Task|任务跟踪]: 优化自动VF融合性能".
Aug 18 Change title to "[Requirement|需求建议]: 优化自动VF融合性能", originally titled "[Task|任务跟踪]: 优化自动VF融合性能".
Aug 18 Associated pull request
Aug 18 Associated pull request
Aug 25 Associated pull request
Sep 1 Associated pull request
Sep 17 changed custom state from 进行中 to 已完成
Sep 17 Close issue
任务描述
A5 VF 融合 VFFusionCluster 方案设计
1. 背景与目标
1.1 现状
A5(DAV_3510)硬件支持 Vector Fusion(VF)——CCE 后端可将相邻的 PIPE_V 指令融合为单条融合指令。当前 pypto 有两个 pass 尝试为 VF 创造融合窗口:
TuneTileOpSeqForVF(pass 35,OoO 之后):通过PipeSync::HasDataDependency检查相邻 PIPE_V op 是否可合并,形成mergedOps分组并重排 op 序列。mergedOps是 pass 局部变量,不持久化。TuneSyncForVF(pass 39,InsertSync 之后):独立重新识别融合分组,基于时序模型(vfPrarm=0.8)决定是否移除 sync 并合并。同样mergedOps是局部变量。问题:
当前实现无法保证编译器认为对 VF 融合友好的 pattern 一定被保留下来。
1.2 目标
引入 VFFusionCluster 机制:
任务目标