I am trying to get CUDA to work on my PC. I tried a clean (reinstall) installation of the latest drivers and CUDA, as well as the latest Visual Studio 2017 RC Build Tools. My operating system is Windows 10 (64-bit) build 14393.693, GPU - GTX 1060 6GB (driver version 378.49), CUDA version 8.0.44.
I took a simple demo from one of the NVIDIA blogs, and when I try to compile using "nvcc", I get "nvcc fatal: Host compiler targeting an unsupported OS." I configure my envrionment by opening a command prompt in a folder with a .cu file, and then running "vcvars64" to add the 64-bit cl.exe to the environment variables. I also tried this with "vcvars32" and I get the same result.
I can confirm that cl.exe will compile the HelloWorld C file.
source
share