summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/modules/cuda.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/mesonbuild/modules/cuda.py b/mesonbuild/modules/cuda.py
index 5d9ac10a0..df1af0720 100644
--- a/mesonbuild/modules/cuda.py
+++ b/mesonbuild/modules/cuda.py
@@ -313,10 +313,13 @@ class CudaModule(NewExtensionModule):
if version_compare(cuda_version, '>=12.8'):
cuda_known_gpu_architectures.append('Blackwell')
- cuda_common_gpu_architectures.extend(['10.0', '10.1', '12.0'])
- cuda_all_gpu_architectures.extend(['10.0', '10.1', '12.0'])
+ cuda_common_gpu_architectures.extend(['10.0', '12.0'])
+ cuda_all_gpu_architectures.extend(['10.0', '12.0'])
if version_compare(cuda_version, '<13'):
+ # Yes, 12.8 and 12.9 support 10.1, but 13.0 doesn't
+ cuda_common_gpu_architectures.append('10.1')
+ cuda_all_gpu_architectures.append('10.1')
cuda_hi_limit_gpu_architecture = '12.1'
if version_compare(cuda_version, '>=12.9'):