I am attempting to set up PyTorch to work my laptop's on board GTX 1050 GPU. Following this I have attempt to set up CUDA, I have been following the guide set up by Nvidia here. As far as I can tell I haven't had any issues with this. I can run nvcc -V
and get below as I would expect:
When I attempt to run the sample solutions they provide to ensure the installation was successful - ie nvcc displayQueue
or nvcc bandwidth
I only received the following error:
In following with this, I attempted to download the community version of Visual Studio 2017 to obtain a C++ compiler and "cl.exe". Upon doing this though it appears that the installation did not set a path to a compiler "cl.exe" in the environment variables.
Attempting to find a "cl.exe" in my files appears to be another issue as I have multiple "cl.exe"'s under the following paths:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x86
\...\bin\Hostx86\x64
\...\bin\Hostx64\x64
\...\bin\Hostx64\x86
Setting any one of these paths to PATH in my environment variables then running "nvcc displayQueue" or "nvcc bandwidth" again then only gives the error:
Something has changed, but the system does not appear to work.
Any help is greatly appreciated.