CUDA Parallel NSight Debugging host and device simultaneously

前端 未结 2 1716
滥情空心
滥情空心 2021-01-26 12:40

Does anyone know if its possible to Debug CUDA using parallel NSight on a remote machine? I am able to step into CUDA code but not my host code. It says CUDA has the capability

相关标签:
2条回答
  • 2021-01-26 13:10

    Simultaneous GPU/CPU debugging from a single IDE instance is unfortunately not possible with the current releases of Nsight and Visual Studio.

    As a workaround, you can start GPU debugging from one copy of Visual Studio, then open a second IDE instance and attach its CPU debugger. They won't have unified stepping, but you can at least set breakpoints independently.

    0 讨论(0)
  • 2021-01-26 13:15

    It should now be possible to attach both the Visual Studio default debugger and NSight in the same VS instance. Then this should work.

    0 讨论(0)
提交回复
热议问题