nvcc.exe linking error Microsoft Visual Studio configuration file 'vcvars64.bat' could not found

前端 未结 3 907
一整个雨季
一整个雨季 2021-01-18 05:36

I want to use nvcc -ptx from windows command line, but I always get this error message: nvcc : fatal error : Microsoft Visual Studio configuration file \'vcvars

3条回答
  •  萌比男神i
    2021-01-18 06:05

    When in your project go to Configuration Properties > CUDA C/C++ > Device and change Code Generation to the following: compute_11,sm_11

提交回复
热议问题