I want to find out CUDA and cuDNN version on my linux machine. I have come across following commands :
cat /usr/local/cuda/version.txt
Above gives me verions 9.0.176


nvcc --version | grep "release" | awk '{print $6}'
Above gives me V7.5.17

Which is the right one ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.