liveBook · Manning

Compiler Explorer

As explained in GPU Programming with Triton

Compiler Explorer is an online tool that compiles source code and displays its generated intermediate and target representations.

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

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

Compare how 2 books explain Compiler Explorer →

Related concepts

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.