CLion not detecting any CUDA installation.
Answered
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?
Please sign in to leave a comment.
Hello!
You can specify the path to NVCC in CMake - https://www.jetbrains.com/help/clion/cuda-projects.html#set-nvcc
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).