Repository navigation
[GEMM] a16w16 on gfx1250-strict: skip borrowed gfx1250 OPUS rows - #8099
Conversation
A gfx1250-strict lookup with no rows of its own borrows the gfx1250 rows. OPUS resolves kernel ids for the exact arch, so a borrowed OPUS row fails at launch on MI450 A0 (unknown OPUS kid). Skip those rows so the shape takes the default path. Nothing changes when the arch has its own rows or on gfx1250 B0.
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: Reviews: |
WAITING ON AUTHORPR Self-ReviewRevision Waiting for the PR author. The readiness report will appear after the self-review answers are complete for this revision. Questions to answer in the PR description
Edit the Missing or invalid answers
Shadow mode reports what would block but keeps the status successful. Set |
|
it seems it is fixed in #7514 |
Keep main's CPU Torch fallback and FP32 CPU accumulation from #8251, using the existing shared architecture helper inside the guarded lookup. Retain #8099's rejection of borrowed OPUS rows on gfx1250-strict. The eager launch body is unchanged. CPU source-body checks cover 48 numerical/out-buffer cases against main and a Torch reference, the CPU eager decline, invalid output dtype, and architecture error propagation. Provider interface/contracts: 145 passed with GPUs hidden. Black, Ruff and diff-check pass. No new GPU or performance run.
Motivation
A
gfx1250-strict(MI450 A0) a16w16 lookup with no rows of its own borrows thegfx1250rows. OPUS resolves kernel ids for the exact arch, so every borrowed OPUS row fails at launch on A0:Change
When the lookup borrows family rows, skip OPUS rows so the shape takes the default path. Nothing changes when the arch has its own rows, or on gfx1250 B0.
Test
MI450 A0, ROCm 10.3.0a20261113, six shapes whose tuned rows are gfx1250 OPUS rows:
unknown OPUS kid.black and ruff pass.