I have some trouble debugging some CUDA code using Nsight.
so I’ve tried to debug one of the CUDA sample projects (sortingNetworks) using Nsight as well.
I reach the desired breakpoint, but when I continue execution I have an exception thrown:
CUDA module loaded: 03045ec0 oddEvenMergeSort.cu
CUDA grid launch failed: CUcontext: 40233744 CUmodule: 50617792 Function: Z18bitonicSortShared1PjS_S_S
and the program halts.
under normal visual studio debugger the code executes well.
I did not tinker at all with the project’s/files’ properties.
Nsight version: 22.214.171.12421
CUDA driver: 378.49
CUDA toolkit: 8.0.44
Visual studio 2013, under update 5