Skip to content

[AMDGPU] Give 4-cycle gfx1250 WMMA its own co-execution hazard category#3197

Open
kerbowa wants to merge 1 commit into
amd-stagingfrom
users/kerbowa/gfx1250-wmma-4cycle-hazard-category
Open

[AMDGPU] Give 4-cycle gfx1250 WMMA its own co-execution hazard category#3197
kerbowa wants to merge 1 commit into
amd-stagingfrom
users/kerbowa/gfx1250-wmma-4cycle-hazard-category

Conversation

@kerbowa

@kerbowa kerbowa commented Jul 5, 2026

Copy link
Copy Markdown

The 4-cycle WMMAs (b0 16x16x64 FP8/BF8 and f8f6f4 with both inputs f4) have a single co-execution slot, so they need fewer wait states than the 8-cycle WMMAs they were previously bucketed with. Add a dedicated category (2 wait states before a dependent WMMA, 1 before a dependent VALU) and map latency 4 to it. On a0 these ops are 8 cycles and keep the category-0 counts, so the distinction falls out of the existing per-stepping latency model.

The 4-cycle WMMAs (b0 16x16x64 FP8/BF8 and f8f6f4 with both inputs f4) have a
single co-execution slot, so they need fewer wait states than the 8-cycle
WMMAs they were previously bucketed with. Add a dedicated category (2 wait
states before a dependent WMMA, 1 before a dependent VALU) and map latency 4
to it. On a0 these ops are 8 cycles and keep the category-0 counts, so the
distinction falls out of the existing per-stepping latency model.
@kerbowa kerbowa requested review from changpeng and rampitec July 5, 2026 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants