If you're working with CUDA, machine learning, or GPU-accelerated computing, you may need to check the GPU compute capability. Compute capability is a version number assigned to Nvidia GPUs, as it determines which CUDA features and instructions the GPU supports. This tutorial explains how to get compute capability of Nvidia GPU using nvidia-smi.
To retrieve the compute capability of the Nvidia GPU, run the following command:
nvidia-smi --query-gpu=gpu_name,compute_cap --format=csv
After running the command, the output will list the GPU names along with their compute capability.
Here's an example of the output you may see after running the command:
name, compute_cap
NVIDIA GeForce RTX 3070 Laptop GPU, 8.6
Leave a Comment
Cancel reply