Please follow the link and see if this helps.
I adjust Visual Studio 2012 with CUDA 8.0 so:
…and for file *.cu - Element type → CUDA C/C++.
Please follow the link and see if this helps.
I adjust Visual Studio 2012 with CUDA 8.0 so:
…and for file *.cu - Element type → CUDA C/C++.