I followed the tutorial
http://docs.nvidia.com/nsight-visual-studio-edition/5.2/Nsight_Visual_Studio_Edition_User_Guide.htm#Debugging_CUDA_Application.htm%3FTocPath%3DCUDA%2520Debugger%7C_____1
to try to debug the sample project.
Here are some problems I encountered on gtx1080ti, vs2015, win10
- NSight will ignore all break points in release mode.
- The NSight will ignore the second break proint in the turorial in debug mode. At the same time, the NSight monitor will report a warning "CUDA grid launch failed"
- I tried to debug some other sample project such as the cdpSimpleQuickSort. Nsight moniter reports that "CUDA Dynamic Parallelism debugging is not supported in preemption mode. Breakpoints will be disabled. "
Here is the error list and the driver is running in WDDM mode.
CUDA context created : 2bfa3680770
CUDA module loaded: 2bfabd65b40 matrixMul.cu
CUDA grid launch failed: CUcontext: 3022103512944 CUmodule: 3022244961088 Function: _Z13matrixMulCUDAILi32EEvPfS0_S0_ii
CUDA context destroyed : 2bfa3680770
I tried to reinstall my OS and used three versions of graphic driver, but the same problems are still existed.
The driver versions are 382.33, 382.05 and 381.89.