antirez / antirez/ds4

gfx1201 (RDNA4, R9700) build fails: __builtin_amdgcn_wmma_f32_16x16x16_f16_w32 not supported

Aperta
#521 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C
Stelle
22.3k
Fork
2.1k
Merge medio
1g 3h
PR unite (30g)
4

Descrizione

Environment:
- GPU: AMD Radeon AI PRO R9700 (gfx1201, RDNA4)
- ROCm: 7.2.2 (AMD clang 22.0.0git roc-7.2.2)
- rocWMMA headers: installed with gfx12 support (config.hpp has gfx1200/gfx1201)

Error:
fatal error: error in backend: Cannot select: intrinsic %llvm.amdgcn.wmma.f32.16x16x16.f16
(compiling ds4_rocm.cu with --offload-arch=gfx1201)

Root cause:
rocm/ds4_rocm_q8.cuh uses __builtin_amdgcn_wmma_f32_16x16x16_f16_w32 without
any arch guard. This builtin works on gfx1151 (RDNA3.5) but gfx1201 (RDNA4)
uses WMMA v2 intrinsics with a different API.

Workaround: using the May 19 binary (pre-WMMA, pre-SSD-streaming), which works
fine since the 121 GB RAM system doesn't need SSD streaming for the 72.8 GB model.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.