First of all, you need to install the latest Nvidia driver and the CUDA Toolkit. For Windows 10, the installation is pretty easy, just follow the instructions on the screen.
- To be able to download all the programs needed, you must register in the Nvidia Developer.
- The Nvidia Driver can be downloaded through GeForce Experience, which will choose the right driver for you.
- After that, download the CUDA Toolkit by chosing:
Windows > x86_64 > 10 > exe (local)
The last one is just my personal preference. By the time of this post, the latest CUDA is 11.3, but mine is 11.2. Things change fast.
CUDA Toolkit
- Let it extract the files to the temporary directory;
- Accept the license;
- Choose Advanced installation mode;
- Check all the versions of what is going to be installed, and what it is already installed. Unmark those which will install an older version.
- Let it install on C:\
- Proceed to install everything.
To check if the GPU is visible, in the Windows Terminal or PowerShell go to:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\extras\demo_suite
and execute .\deviceQuery.exe. You have to see at least this line as output: Detected 1 CUDA Capable device(s). That means CUDA is installed correctly. Now you can use it on Windows.
No comments:
Post a Comment