Triton Programming Model

The opening page from the Triton and kernel engineering module ended with kernels described and none written: work grouped into grids, blocks, and warps of thirty-two, and a promise that the rest of the module writes them. The GPU threads and warps lesson built that picture from NVIDIA's documents; this page opens the tool the writing happens in. Triton is…

In this lesson

  • One program per tile
  • The kernel itself
  • The wrapper and the grid
  • Compilation on the first call
  • Where these kernels already run

Continue learning

Pro unlocks the complete lesson, video, practice, and code where available.