antirez / antirez/ds4

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

Abierto
#521 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C
Estrellas
22.3k
Forks
2.1k
Merge medio
1 d 3 h
PR fusionados (30 d)
4

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.