Using Visual Studio Community Edition 15.9.11 (new install).
If I create a new project of type CUDA 10.1 (CUDA 10.1 Runtime) I get the usual kernel.cu file created.
This all compiles fine, however Intellisense complains that it cannot open stdio.h (line 5 of kernel.cu).
Attempting to open the document stdio.h produces the dialog that says:
File ‘stdio.h’ not found in current source file’s directory or in build system paths.
The path it is using is (among others)
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt
But this project targets C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0
The VS2017 samples do not exhibit this neither does my previous project. Only a new project.
Can anyone advise what is wrong here?