CDNA kernel devs say assembly with syntactic sugar may beat the compiler

salykova_ · x · 2026-09-19

@nirw4nna argues the hardest part of writing kernels on CDNA GPUs is instruction scheduling — it's extremely difficult to delimit a region and schedule a balanced mix of VALU + MATRIX ops against a compiler that insists on doing its own thing, so the right programming model may be "an assembler with some syntactic sugar." @salykova picks up the thread, suggesting it may be time to write high-performance AMD GPU kernels directly in assembly, or at least make clean asm easier to write.

Original post →

More from Infra

Infra channel →