To check the CUDA version installed on a Windows PC, you can use one of the following methods:
- Method 1: Using the nvcc command
- Open a command prompt by searching for “Command Prompt” in the Windows start menu.
- Type the following command and press Enter:
nvcc --version
- The output will display the CUDA compiler version, which should match the installed CUDA Toolkit version.
- Method 2: Using the NVIDIA System Management Interface (nvidia-smi)
- Open a command prompt by searching for “Command Prompt” in the Windows start menu.
- Type the following command and press Enter:
nvidia-smi
- The output will display information about your NVIDIA GPU, including the CUDA Version.
- Method 3: Checking the CUDA version file
- Open a file explorer and navigate to the following location:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA
Note: The exact path may vary depending on your CUDA installation. - Look for a file named “version.txt” and open it with a text editor.
- The file will contain the installed CUDA version.
These methods should help you determine the CUDA version installed on your Windows PC.