Can LLMs master new GPU hardware features at the assembly level? What are the data recipes to improve this capability? Should LLMs program directly in inline PTX, or in a high-level kernel language like Triton?
| Mechanism | Indicator | PTX interface | SASS execution criterion | GPU |
|---|---|---|---|---|
| Tensor compute | CGen4 | wgmma.mma_async |
N{H,Q,I,B}GMMA > 0 | H100 |
| Tensor compute | CGen5 | tcgen05.mma, tcgen05.ld |
(NUTC{H,Q,I,O}MMA > 0) ∧ (NLDTM > 0 ∨ NLDT > 0) | B200 |
| Data movement | DTMA | cp.async.bulk.tensor |
NUTMALDG > 0 ∨ NUTMASTG > 0 | H100, B200 |
| Data movement | DTMEM | tcgen05.cp, tcgen05.st |
NUTCCP > 0 ∨ NSTTM > 0 ∨ NSTT > 0 | B200 |
| Data movement | DDSMEM | barrier.cluster |
NUCGABAR > 0 | H100, B200 |
H100: C = CGen4, D = DTMA ∨ DDSMEM.
B200: C = CGen5, D = DTMA ∨ DTMEM ∨ DDSMEM.
A correct kernel qualifies if C ∨ D. Each correct kernel is replayed on its workload under Nsight Compute,
with an NVTX range around one invocation (warmup outside it). Ns is the thread-level, predicate-enabled
execution count of SASS instruction family s (thread_inst_executed_true), summed over every kernel launched
in the range, so an instruction counts only if it actually executes. On B200, tensor compute also needs a readback from
tensor memory (LDTM/LDT), the only way to use the MMA result. Cache-control and prefetch
instructions do not count as data movement. Triton kernels are qualified by the same SASS criteria.
"Don't care" drops this requirement: any correct kernel with a positive speedup counts.