How do you debug inside a CUDA Kernel?

You can use printf() inside the Kernel, however you can also use Nvidia Nsight which supports both Visual Sudio and Eclipse.

Nvidia Nsight lets you step through kernels, inspect CPU and GPU memory, watch variables

Have more questions? Submit a request

Comments