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.
请先登录再写评论。
Hello!
Please try specifying the path to NVCC in the
CMakeoptions field inFile | Settings | Build, Execution, Deployment | CMakeas 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.