以下配置对于11.4来说纯属扯淡
Cuda 11.4不支持VS2015,添加模板之后也编译不过。会有MSB3721编译报错问题。
nvcc fatal : nvcc cannot find a supported version of Microsoft Visual Studio. Only the versions between 2017 and 2019 (inclusive) are supported! The nvcc flag '-allow-unsupported-compiler' can be used to override this version check; however, using an unsupported host compiler may cause compilation failure or incorrect run time execution. Use at your own risk.
其他版本可以参考试一下。
本文内容:
本机环境:Win10 + VS2015 + Cuda 11.4
问题 :
Cuda正常安装,Visual Studio Integration也正常安装完成,但是新建项目中没有Cuda模板,添加文件也没有Cuda C&