Nvidia Drivers and CUDA for Windows

Back to index

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. 

  1. To be able to download all the programs needed, you must register in the Nvidia Developer.
  2. The Nvidia Driver can be downloaded through GeForce Experience, which will choose the right driver for you. 
  3. 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
  1. Let it extract the files to the temporary directory;
  2. Accept the license;
  3. Choose Advanced installation mode;
  4. 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.
  5. Let it install on C:\
  6. 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

Global Game Jam 2024

Wow, what a weekend. The Global Game Jam is intense. But I and 3 other members manage to build a game for the theme "Make me laugh&quo...