CUDA 7.5 and Visual Studio 2015

Sorry, I won’t tell you the solution. Instead, I will show you why you should not expect for the solution of CUDA 7.5 and Visual Studio 2015 integration problem. šŸ˜€

If you try to compile a simple kernel code with nvcc and bind it with the VS2015 C++ compiler like this:

> nvcc .\ -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\"

then you will get this error:

nvcc fatal : nvcc cannot find a supported version of Microsoft Visual Studio. Only the versions 2010, 2012, and 2013 are supported

So, it’s not about the CUDA integration files (CUDA.props). It’s a fundamental issue, the CUDAĀ compiler (nvcc) itself does not support the VS2015 C++ Compiler. Now, we should pray for NVIDIA to release a new version of CUDA that solves this as soon as possible. šŸ˜€

If you really need to work in VS2015 forĀ CUDA 7.5, someone shared his experience getting workaround with the help of VS2013 C++ compilerĀ here.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.