For Windows application developers, the CUDA Toolkit provides Nsight Visual Studio Edition, which enables GPU computing in Visual Studio. This tool works as an extension of Visual Studio, but you can build, debug, profile, and trace GPU applications along with the host. If your working platform is not Windows, the contents in this section won't be applicable, so you can skip it.
The CUDA debugger allows us to monitor the local values on a GPU kernel for each CUDA thread. Like normal host debugging, you can set breakpoints in the kernel code and trigger them. You can also place conditions such as other normal breakpoints. With this feature, you can trigger breakpoints for a specific CUDA thread index and review their local variables.
This tool can be installed along with the CUDA Toolkit. You can obtain the...