Reputation: 2912
My computer's setup is:
OS: Windows 10
IDE: Visual Studio 2019 (and 2015)
GPU: Quadro 4000 RTX
NVIDIA driver package: 441.22 Drivers for use with the CUDA Toolkit 10.2, including Nsight 2019.4
I opened a CUDA sample project called "matrixMul", and set breakpoints inside the kernel
template <int BLOCK_SIZE> __global__ void MatrixMulCUDA(float *C, float *A,
float *B, int wA,
int wB)
However, if I "Start CUDA Debbugging (Next-Gen)", I get the error message "Could not initialize driver for the specified CUDA Debugger. Debugging has been automatically stopped."
If I "Start CUDA Debbugging (Legacy)", I get the error message "A CUDA context was created on a GPU that is not supported by the legacy CUDA debugger. Breakpoints will be disabled. See output window for details. ".
I am pretty confused at the moment. I never had problem like this before when using Legacy debugging with Nsight 6.5.
Please advise.
Upvotes: 0
Views: 1012
Reputation: 2912
As pointed out in comments, if this card is not set to TCC mode, then it cannot be used for CUDA debugging in Windows using next generation debugging (which is all the Turing cards support).
My solution is that I added another NVIDIA card to my computer to dedicate on display, so my Quadro 4000 RTX can be focused on computation (TCC mode). It works perfect now.
Upvotes: 2