windows 10 check if cuda works code example
Example 1: check cuda version python
nvcc --version
Example 2: how to tell if i have cuda installed
C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.1\bin\win64\Release
nvcc --version
C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.1\bin\win64\Release