How to find cuda version in ubuntu

cudaubuntu-16.04

I installed cuda 8.0 in my ubuntu 16.04 machine and checked the cuda version using the command "nvcc –version". it shows version as 7.5!!!.How Can I be sure that it is accurate? Are there other commands that I can also use to verify my result?

Best Answer

For cuda-8.0 on Ubuntu16.04, you should be able to read

$ cat /usr/local/cuda/version.txt
CUDA Version 8.0.44

I agree with Robert Crovella, you might need to check your PATH

Related Topic