CLion not detecting any CUDA installation.


Hey folks, I got a problem where installed CLion didn't detect any installed CUDA Dev Toolkit. I've installed the CUDA Toolkit not in D partition instead of C partition. Is that supposed to be the problem? I think CLion only read CUDA from default installation folder which is in C. Is there any workaround for this?

1 comment


You can specify the path to NVCC in CMake -

Please note that on Windows CUDA projects can be developed only with the Microsoft Visual C++ toolchain. Check the toolchain settings to make sure that the selected architecture matches with the architecture of the installed CUDA toolkit (usually, amd64).


Please sign in to leave a comment.