clearnature wrote:
sass-assembler 里有一个 ILP 调度模型:
ilp_scheduler.h → ILP Scoreboard 调度器
- 4 warp schedulers/SM
- 2 instr/cycle/warp-scheduler
- Scoreboard stall tracking
- 指令交织算法 在 PR #202093 的回复里提过:
▎ "the 26-pipeline model comes from our microarchitecture research"
结论:
sass-assembler ILP 调度器 — 通用框架
↓ 配置 RDNA4 参数
→ 推导出 26-pipeline 模型
数据源: /data/rtl-sdr/docs/ILP_MODEL.md
验证: RX 9060 XT 实测 4326 TOPs
ILP 调度器本身不硬编码 26——它是一个求解器。输入 RDNA4 的 ILP latency tables,它就能找到最优调度。
ILP 调度器 来源我们对cuda 的nvptx 的黑盒拆解,我的github有公布。
https://github.com/llvm/llvm-project/pull/202093