From 15a5a05c426d2ecda201fa66fdd929e50b4406d7 Mon Sep 17 00:00:00 2001
From: janEbert <janpublicebert@posteo.net>
Date: Tue, 11 Feb 2025 10:11:24 +0100
Subject: [PATCH] Mention command to check compute capability

That is, CUDA compute capability. This enables checking locally.
---
 README.md | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index bfcceaf..eef34c2 100644
--- a/README.md
+++ b/README.md
@@ -282,7 +282,13 @@ This can be done by setting the environment variable
 compute capabilities of the target GPU architectures that kernels will
 be built for. Entries can be separated using semicola. Compute
 capabilities for various CUDA-enabled GPUs can be found on this page:
-https://developer.nvidia.com/cuda-gpus
+https://developer.nvidia.com/cuda-gpus  
+You can also manually check your CUDA-enabled GPU's compute capability
+using:
+
+```shell
+nvidia-smi --query-gpu=compute_cap --format=csv,noheader
+```
 
 For example, if we want to build kernels that target NVIDIA V100
 (compute capability 7.0), NVIDIA A100 (compute capability 8.0), and
-- 
GitLab