This document is relevant for: Inf2, Trn1, Trn2
nki.language.program_id#
- nki.language.program_id(axis)[source]#
Index of the current SPMD program along the given axis in the launch grid.
- Parameters:
axis – The axis of the ND launch grid.
- Returns:
The program id along
axisin the launch grid
This document is relevant for: Inf2, Trn1, Trn2