triton.experimental.gluon.language.num_programs
- triton.experimental.gluon.language.num_programs(axis, _semantic=None)
Returns the number of program instances launched along the given
axis.- Parameters:
axis (int) – The axis of the 3D launch grid. Must be 0, 1 or 2.