How to know if my GPU supports CUDA?

How can I know from the terminal or something whether my hardware supports CUDA?

4 Answers

Using the browser to find CUDA

  1. Open Chrome browser
  2. Goto the url chrome://gpu
  3. Search for cuda and you should get the version detected (in my case, not enabled)

enter image description here

1

CUDA works with all Nvidia GPUs from the G8x series onwards, including GeForce, Quadro and the Tesla line. CUDA is compatible with most standard operating systems.

For a list of supported graphic cards, see Wikipedia.

10

(2021 update)

  1. CUDA software API is supported on Nvidia GPUs, through the software drivers provided by Nvidia.

  2. If your desktop has a Nvidia GPU, AND you have the Nvidia drivers installed (for ex from ), an executable that uses CUDA can be built using CUDA toolkit, as outlined at -

  1. To compile a CUDA application specifically for your GPU, the compute capability of the specific GPU is required, and this can be obtained by following the steps outlined at

(I am the author of that web tool)

Manually, you could use nvidia-smi that is installed along with the driver

nvidia-smi --query-gpu=name --format=csv

Or use driver information to obtain GPU name and map it to Compute capability.

If you use terminal, the command nvidia-smi is very handy to obtain information about your GPU model, CUDA version and NVIDIA driver version.

You will need to perform these checks:

  1. Use the GPU model to obtain the compute capability of the GPU. NVIDIA provides the list here.
  2. Check the installed driver version from nvidia-smi output.
  3. Check the installed CUDA version from nvidia-smi output.

For (1), it will be ideal that the GPU has compute capability at least 3.0 so that it can work with CUDA features for deep learning. Subsequently, check the installed CUDA version and possible upgrade. There is "limit" for the upgrade path especially for older GPU models. You may not be able to upgrade to the latest CUDA since each CUDA version has minimum compute capability that it supports.

You can check the CUDA compatibility table and minimum display driver each version supports here.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like