kokkos: make Spack accept CUDA compute capability 8.6 (#27257)

The Kokkos sources already know AMPERE86 since some time; make
Spack accept and pass it, too.
This commit is contained in:
TZ 2022-03-03 19:20:25 +01:00 committed by GitHub
parent 2ac11812ba
commit 85c454bdb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,6 +136,7 @@ class Kokkos(CMakePackage, CudaPackage, ROCmPackage):
"72": 'volta72',
"75": 'turing75',
"80": 'ampere80',
"86": 'ampere86',
}
cuda_arches = spack_cuda_arch_map.values()
conflicts("+cuda", when="cuda_arch=none")