Viewing the Kernel’s Grid Identifier
TotalView supports showing the grid identification in the stack frame information when a CUDA thread stops, Figure 271.
 
Figure 271, Viewing the Grid and Parent Grid Identifiers
The grid is a unique identifier for a kernel running on a device. CUDA supports kernels launching parallel kernels on the same device. The parent grid is the identifier of the grid that launched the kernel currently in focus.