Next: HIP Runtime Errors, Up: HIP [Contents][Index]
These context variables exist throughout the lifetime of a HIP
kernel. ROCgdb can evaluate them in any expression, as
long as the current language is hip.
The three-dimensional position of the current HIP thread (a.k.a. lane) within the HIP block.
The three-dimensional position of the current HIP block within the grid.
Dimensions of the current HIP block.
Dimensions of the current HIP grid in number of HIP blocks.
The size of the wavefront for the dispatch that the current kernel belongs to.