I have compiled a Dll using NVCC. I then run a 64-bit process (.exe) that uses LoadLibrary to load the dll and to call methods from the dll to run it. How can I debug the CUDA code inside this dll, using NSIGHT?
I should add that this 64-bit process is in fact a Visual Studio’s Unit Test that I run manually by calling vstest.console.exe. It is the unit test code that loads into its process,the dll compiled from NVCC
When I use Visual Studio 2017 in admin mode, debug->Attach to Process and choose Nsight GPU Debugger, then my local computer, I see the vstest.console process but it is greyed out and cannot be selected for debugging.
Is there a way that the NSIGHT debugger can debug a dll complied from NVCC that is loaded into a 64-bit process?