windows下,使用cmake+mingw64编译cuda报错
The CUDA compiler
"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/bin/nvcc.exe"
is not able to compile a simple test program.
原因为:目前mingw不支持直接编译cuda。windows下使用msvc编译(以后不敢用mingw了)
windows下,使用cmake+mingw64编译cuda报错
The CUDA compiler
"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/bin/nvcc.exe"
is not able to compile a simple test program.
原因为:目前mingw不支持直接编译cuda。windows下使用msvc编译(以后不敢用mingw了)