How do I get my CUDA specs on a Linux machine? How do I get my CUDA specs on a Linux machine? linux linux

How do I get my CUDA specs on a Linux machine?


If you can find where the CUDA SDK directory has been installed then you can just run the deviceQuery example which will tell you all you need to know and more. The executable should be at $(SDK)/C/bin/linux/release/deviceQuery - if it's not there then you may need to build the samples first:

$ cd $(SDK)$ make$ ./C/bin/linux/release/deviceQuery

The CUDA SDK directory is typically named NVIDIA_GPU_Computing_SDK (more recent CUDA versions) or just NVIDIA_CUDA_SDK (older CUDA versions).


If you have all the Cuda installed, then just run

nvidia-smi