PTXBench

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?

GPU
LLM
Workload
Language
Instruction qualification
Which instructions count?

How to read this

Which instructions count as specialized compute or data?

MechanismIndicatorPTX interfaceSASS execution criterionGPU
Tensor computeCGen4wgmma.mma_async N{H,Q,I,B}GMMA > 0H100
Tensor computeCGen5tcgen05.mma, tcgen05.ld (NUTC{H,Q,I,O}MMA > 0) ∧ (NLDTM > 0 ∨ NLDT > 0)B200
Data movementDTMAcp.async.bulk.tensor NUTMALDG > 0 ∨ NUTMASTG > 0H100, B200
Data movementDTMEMtcgen05.cp, tcgen05.st NUTCCP > 0 ∨ NSTTM > 0 ∨ NSTT > 0B200
Data movementDDSMEMbarrier.cluster NUCGABAR > 0H100, 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.