There are several ways and steps you could check which CUDA version is installed on your Linux box
Identify the CUDA location and version with NVCC
Run which nvcc to find if nvcc is installed properly.
You should see something like… more
I’ve seen some confusion regarding NVIDIA’s nvcc sm flags and what they’re used for:
When compiling with NVCC, the arch flag (‘-arch‘) specifies the name of the NVIDIA GPU architecture that… more