Unsupported Microsoft Visual Studio (2017) Version despite VS 2015 Toolset


I’m currently trying to compile the vector_add example and some simple projects based on the VS template for CUDA with VS 2017. Despite setting the toolset version to VS 2015 (v140) I get an “-- unsupported Microsoft Visual Studio version! Only the versions 2012, 2013, 2015 and 2017 are supported!” error caused by the host_config.h file. I am using Visual Studio version 15.6.2.
What am I doing wrong?

Thanks in advance!

Hi, assmannjulian

I’m afraid this is an known issue: current CUDA 9.1 do not support 15.6
Our next CUDA will support 15.6.

Sorry for the inconvenience.