How do I use other c++ compilers with CUDA on Windows?

落花浮王杯 提交于 2019-11-28 14:12:52
talonmies

The CUDA windows toolchain requires the Visual Studio C++ compiler. You cannot use anything else on that platform. If the VS compiler doesn't support the language features you need within CUDA host code, you have no choice but to change platforms, or your expectations.

You can still potentially compile non-CUDA host code using another compiler and then link that code using NVCC and the VS toolchain.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!