Totalview® for HPC User Guide : PART V Using the CUDA Debugger : Chapter 26 CUDA Debugging Tutorial : Controlling Execution : Running to a Breakpoint in the GPU code : Viewing the Kernel’s Grid Identifier
Viewing the Kernel’s Grid Identifier
TotalView 8.13 adds support for showing the grid identification in the stack frame information when a CUDA thread stops, Figure 263.
 
Figure 263 – Viewing the Grid and Parent Grid Identifiers
The grid is a unique identifier for a kernel running on a device. With CUDA SDK 5.5, kernels can launch parallel kernels on the same device. The parent grid is the identifier of the grid that launched the kernel currently in focus.