A cubin is a GPU binary containing the instructions executed when a Triton kernel runs. NVIDIA’s assembler produces it from PTX, the final step in Triton’s compilation pipeline. section 2.3.1
The first call to a Triton kernel triggers compilation on the CPU. Triton caches the resulting binary, so later calls with the same argument types and constexpr values skip compilation. Discard the first call—and usually several warmup calls—when measuring steady-state execution. section 2.2.10
Figure 2.10 The Triton compiler pipeline: from user code through AST, TTIR, and TTGIR to GPU execution via LLVM-IR, PTX, and CUBIN.
Follow the pipeline from Triton source through intermediate representations and PTX to GPU execution via cubin. section 2.3.1
