Question

My current configuration : Visual Studio 2010, CUDA 5.5, Nsight version 3.1, Graphics card driver version 327.23 (latest)

The problem is that breakpoints in __global__ kernels are not hit when starting "CUDA Debugging"

Anyone with the same problem? It was possible for me to have kernel breakpoints on some older version of Nsight & CUDA, but I wouldn't want to downgrade to previous versions. Thanks.

Was it helpful?

Solution

If a kernel launch fails for any reason, it's quite possible that any selected breakpoints in that kernel will not be hit.

It's always recommended to do proper CUDA error checking in your CUDA codes, especially when you are having difficulty.

OTHER TIPS

I had the problem of breakspoints not beeing hit, after setting my graphics card to TCC mode ("compute-only"), just in case, You did the same.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top