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.

0
1 comment

Hello!

Please try specifying the path to NVCC in the CMake options field in File | 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?

0

Please sign in to leave a comment.