diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-12-05 10:09:00 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-12-05 11:11:45 -0800 |
| commit | 65e924bba6d02335404c409d327d93bbbc82176b (patch) | |
| tree | c4f833f0eaaba2e625927e63840930ca5bd6c9b2 /mesonbuild/modules | |
| parent | f6918fe65c8b9526bc359bea8a6e8517b39b4ec5 (diff) | |
| download | meson-65e924bba6d02335404c409d327d93bbbc82176b.tar.gz | |
modules/cuda: Cuda 13.0 doesn't support the 10.1 profile
Even thought 12.8 and 12.9 do. So don't add then when we have 13
Diffstat (limited to 'mesonbuild/modules')
| -rw-r--r-- | mesonbuild/modules/cuda.py | 7 |
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'): |
