Skip to content

Commit

Permalink
adios2: update kokkos dependency (spack#42621)
Browse files Browse the repository at this point in the history
Co-authored-by: Massimiliano Culpo <[email protected]>
  • Loading branch information
vicentebolea and alalazo authored Feb 19, 2024
1 parent 0ee3a3c commit d670a2a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions var/spack/repos/builtin/packages/adios2/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,11 @@ class Adios2(CMakePackage, CudaPackage, ROCmPackage):
depends_on("cuda", when="+cuda ~kokkos")

# Kokkos support
depends_on("[email protected]: +cuda +wrapper", when="+kokkos +cuda")
depends_on("[email protected]: +rocm", when="+kokkos +rocm")
depends_on("[email protected]: +sycl", when="+kokkos +sycl")
with when("+kokkos"):
depends_on("[email protected]:")
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:
Expand Down

0 comments on commit d670a2a

Please sign in to comment.