Getting Started
Python API
num_programs()
Triton MLIR Dialects
Programming Guide
Returns the number of program instances launched along the given axis.
axis
axis (int) – The axis of the 3D launch grid. Must be 0, 1 or 2.