I have the PC with two display adapters:
- Intel HD Graphics 4000
- NVIDIA GeForce GTX 680
In addition:
- Processor Intel Core i/-3770 CPU @ 3.4 GHz
- 32 GB RAM
- Windows 10
- CUDA 8.0 integrated in the VS 2015
- GeForce Game Ready driver 382.52
- NVIDIA Nsight Visual Studio Edition, Version 5.2, Build 5.2.0.16321
I use the marchingCubes project from the CUDA samples. marchingCubes is built for Debug/x64.
The following values I’ve changed in the Nsight Options for the “Microsoft Display Driver” section:
- WDDM TDR Delay = 8
- WDDM TDR enabled = False
a) I run the Nsight Monitor as Admin
b) In Visual Studio as a Transport I set the Nsight GPU Debugger.
c) Nsight shows the established connection
d) I run the marchingCubes.exe
e) In Visual Studio 2015 I attach to the running marchingCubes process.
After one or two seconds the PC freezes. All I can do is switch off the machine.
It should be mentioned that I can debug the CUDA code when I run the “Start CUDA Debugging” from the Nsight menu in Visual Studio.
Can someone give an advice on what the right settings are, to be able to debug the CUDA code when one attaches to a process from the Visual Studio?