Bump Kokkos and Kokkos-kernels to 4.5.00 (#47809)

* Bump Kokkos and Kokkos-kernels to 4.5.00

* petsc@:3.22 add a conflict with this new version of kokkos

* Update kokkos/kokkos-kernel dependency

---------

Co-authored-by: Satish Balay <balay@mcs.anl.gov>
This commit is contained in:
Cédric Chevalier 2024-12-03 17:09:25 +01:00 committed by GitHub
parent b31dd46ab8
commit 09b7ea0400
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,8 @@ class KokkosKernels(CMakePackage, CudaPackage):
version("develop", branch="develop")
version("master", branch="master")
version("4.5.00", sha256="94726a64e349adf6cd276e9fdc1b2bf7ff81efec833e479a5d3024b83f165a59")
version("4.4.01", sha256="4a32bc8330e0113856bdf181df94cc4f9902e3cebb5dc7cea5948f30df03bfa1")
version("4.4.00", sha256="66d5c3f728a8c7689159c97006996164ea00fd39702476220e3dbf2a05c49e8f")
@ -132,6 +134,7 @@ class KokkosKernels(CMakePackage, CudaPackage):
depends_on("kokkos")
depends_on("kokkos@master", when="@master")
depends_on("kokkos@develop", when="@develop")
depends_on("kokkos@4.5.00", when="@4.5.00")
depends_on("kokkos@4.4.01", when="@4.4.01")
depends_on("kokkos@4.4.00", when="@4.4.00")
depends_on("kokkos@4.3.01", when="@4.3.01")

View File

@ -29,6 +29,7 @@ class Kokkos(CMakePackage, CudaPackage, ROCmPackage):
version("master", branch="master")
version("develop", branch="develop")
version("4.5.00", sha256="cbfb742feeb9e649db9eca0394e6ca9a22aa017a1e6aab8576990772a0e3135b")
version("4.4.01", sha256="3413f0cb39912128d91424ebd92e8832009e7eeaf6fa8da58e99b0d37860d972")
version("4.4.00", sha256="0b46372f38c48aa088411ac1b7c173a5c90f0fdb69ab40271827688fc134f58b")

View File

@ -377,6 +377,8 @@ def check_fortran_compiler(self):
depends_on("kokkos", when="+kokkos")
depends_on("kokkos~complex_align", when="+kokkos+complex")
depends_on("kokkos-kernels", when="+kokkos")
conflicts("kokkos@4.5:", when="@:3.22")
conflicts("kokkos-kernels@4.5:", when="@:3.22")
for cuda_arch in CudaPackage.cuda_arch_values:
depends_on(
"kokkos+cuda+cuda_lambda cuda_arch=%s" % cuda_arch,