CUDA compiler is unable to compile a simple test program
问题 I am trying to get NVIDIA's CUDA setup and installed on my PC which has an NVIDIA GEFORCE RTX 2080 SUPER graphics card. After hours of trying different things and lots of research I have gotten CUDA to work using the Command Prompt, though trying to use CUDA in CLion will not work. Using nvcc main.cu -o build.exe From the command line generates the executable and I can run it on the GPU, however I have the following error when trying to use CLion: I believe this is the relevant part, however