how to check which cuda version is installed on windows code example
Example 1: cuda version check
nvcc --version
Example 2: how to tell if i have cuda installed
C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.1
nvcc --version
C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.1