adios2: update kokkos dependency (#42621)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
parent
0ee3a3c401
commit
d670a2a5ce
1 changed files with 5 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue