Compiler Explorer lets you view generated output alongside a Triton kernel. As the code changes, it recompiles automatically; a stage selector lets you inspect different parts of the compilation pipeline. section 2.3.2
Compiler Explorer
Compiler Explorer is an online tool that compiles source code and displays its generated intermediate and target representations.
How GPU Programming with Triton covers it
- How deep it goes
- Shows generated compilation stages for inspection, without requiring detailed study of every intermediate representation.
- Examples
- Shows a Triton kernel beside generated output, with compilation updating as code changes.
- What you can do after
- Diagnose surprising or slow kernel behavior by inspecting generated compilation stages.
- How it connects
- Connects Triton kernels with compiler intermediate representations and PTX assembly.
Also explained in
-
Learn Rust in a Month of LunchesGodbolt is an online compiler-explorer service that displays compiler-generated assembly for source code under selectable compiler and optimization settings.
Compare how 2 books explain Compiler Explorer →
Related concepts
- compileruses · A compiler is software that translates source code into another representation, such as machine code, bytecode, or an intermediate form.
- Tritonuses · Triton is a programming language and compiler for writing and compiling high-performance GPU kernels.
This explainer was generated by Manning's knowledge graph from the text of GPU Programming with Triton. The section links point to the parts of the book it draws on.

