how to check if i have cuda installed windows code example

Example 1: how to check cuda version windows

nvcc --version

Example 2: how to tell if i have cuda installed

C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.1\bin\win64\Release

Example 3: check if cuda installed

# nvcc -V
 nvcc: NVIDIA (R) Cuda compiler driver
 Copyright (c) 2005-2015 NVIDIA Corporation
 Built on Tue_Aug_11_14:31:50_CDT_2015
 Cuda compilation tools, release 7.5, V7.5.17

Example 4: how to tell if i have cuda installed

C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.1\\

Tags:

Misc Example