Unsupported CUDA on wsl2
Hi, CLion are unsupported CUDA on wsl2? i tried many time, but clion messed up a simple example created by itself
-- The CUDA compiler identification is unknown
CMake Error at /opt/develop/tools/cmake-3.25.3/share/cmake-3.25/Modules/CMakeDetermineCUDACompiler.cmake:603 (message):
Failed to detect a default CUDA architecture.
Please sign in to leave a comment.
Hello!
Please try specifying the path to NVCC in the
CMake
options field inFile | Settings | Build, Execution, Deployment | CMake
as described here https://www.jetbrains.com/help/clion/cuda-projects.html#set-nvcc (please see the second option). Does it help?Hello,
We have the same issue.
To overcome it we add the CLine configuration in the CMake options the path to the WSL compiler
Here is a screen-shot.