Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find cuda version in ubuntu?

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?

like image 546
Sowmya Dhanapal Avatar asked Jan 18 '17 08:01

Sowmya Dhanapal


People also ask

How do you check if I have cuda?

You can verify that you have a CUDA-capable GPU through the Display Adapters section in the Windows Device Manager. Here you will find the vendor name and model of your graphics card(s). If you have an NVIDIA card that is listed in http://developer.nvidia.com/cuda-gpus, that GPU is CUDA-capable.


1 Answers

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

like image 198
user3076252 Avatar answered Sep 18 '22 20:09

user3076252