adios2: update kokkos dependency (#42621)

Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
Vicente Bolea 2024-02-20 03:54:08 +09:00 committed by GitHub
parent 0ee3a3c401
commit d670a2a5ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -120,9 +120,11 @@ class Adios2(CMakePackage, CudaPackage, ROCmPackage):
depends_on("cuda", when="+cuda ~kokkos")
# Kokkos support
depends_on("kokkos@3.7: +cuda +wrapper", when="+kokkos +cuda")
depends_on("kokkos@3.7: +rocm", when="+kokkos +rocm")
depends_on("kokkos@3.7: +sycl", when="+kokkos +sycl")
with when("+kokkos"):
depends_on("kokkos@3.7:")
depends_on("kokkos +cuda +wrapper", when="+cuda")
depends_on("kokkos +rocm", when="+rocm")
depends_on("kokkos +sycl", when="+sycl")
# Propagate CUDA target to kokkos for +cuda
for cuda_arch in CudaPackage.cuda_arch_values: