summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatish Balay <balay@mcs.anl.gov>2024-01-18 15:25:09 -0600
committerGitHub <noreply@github.com>2024-01-18 14:25:09 -0700
commit27a3ba1a594873fd900a7e6d887bc85f2a510843 (patch)
tree429fe3b7a7a8877a6045522d852e576a94321ee0
parent87e836f353401619734892faeadc6d3e439ee85c (diff)
downloadspack-27a3ba1a594873fd900a7e6d887bc85f2a510843.tar.gz
spack-27a3ba1a594873fd900a7e6d887bc85f2a510843.tar.bz2
spack-27a3ba1a594873fd900a7e6d887bc85f2a510843.tar.xz
spack-27a3ba1a594873fd900a7e6d887bc85f2a510843.zip
kokkos-kernels: add v4.1.00, v4.2.00 (#40565)
* kokkos-kernels: add version 4.1.00 * add kokkos-kernels@4.2.00 * [kokkos] make dpl dependence explicit --------- Co-authored-by: eugeneswalker <eugenesunsetwalker@gmail.com> Co-authored-by: Cohn, Robert S <robert.s.cohn@intel.com>
-rw-r--r--var/spack/repos/builtin/packages/kokkos-kernels/package.py6
-rw-r--r--var/spack/repos/builtin/packages/kokkos/package.py1
2 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/kokkos-kernels/package.py b/var/spack/repos/builtin/packages/kokkos-kernels/package.py
index 14ce721955..2147046bf1 100644
--- a/var/spack/repos/builtin/packages/kokkos-kernels/package.py
+++ b/var/spack/repos/builtin/packages/kokkos-kernels/package.py
@@ -25,6 +25,9 @@ class KokkosKernels(CMakePackage, CudaPackage):
# openssl sha256 kokkos-kernels-x.y.z.tar.gz
version("develop", branch="develop")
version("master", branch="master")
+ version("4.2.00", sha256="c65df9a101dbbef2d8fd43c60c9ea85f2046bb3535fa1ad16e7c661ddd60401e")
+ version("4.1.00", sha256="d6a4108444ea226e43bf6a9c0dfc557f223a72b1142bf81aa78dd60e16ac2d56")
+ version("4.0.01", sha256="3f493fcb0244b26858ceb911be64092fbf7785616ad62c81abde0ea1ce86688a")
version("4.0.00", sha256="750079d0be1282d18ecd280e130ca303044ac399f1e5864488284b92f5ce0a86")
version("3.7.01", sha256="b2060f5894bdaf7f7d4793b90444fac260460cfa80595afcbcb955518864b446")
version("3.7.00", sha256="51bc6db3995392065656848e2b152cfd1c3a95a951ab18a3934278113d59f32b")
@@ -43,6 +46,9 @@ class KokkosKernels(CMakePackage, CudaPackage):
depends_on("kokkos")
depends_on("kokkos@master", when="@master")
depends_on("kokkos@develop", when="@develop")
+ depends_on("kokkos@4.2.00", when="@4.2.00")
+ depends_on("kokkos@4.1.00", when="@4.1.00")
+ depends_on("kokkos@4.0.01", when="@4.0.01")
depends_on("kokkos@4.0.00", when="@4.0.00")
depends_on("kokkos@3.7.01", when="@3.7.01")
depends_on("kokkos@3.7.00", when="@3.7.00")
diff --git a/var/spack/repos/builtin/packages/kokkos/package.py b/var/spack/repos/builtin/packages/kokkos/package.py
index 9c2a49af10..cf3faf8b29 100644
--- a/var/spack/repos/builtin/packages/kokkos/package.py
+++ b/var/spack/repos/builtin/packages/kokkos/package.py
@@ -194,6 +194,7 @@ class Kokkos(CMakePackage, CudaPackage, ROCmPackage):
for dev, (dflt, desc) in devices_variants.items():
variant(dev, default=dflt, description=desc)
conflicts("+cuda", when="+rocm", msg="CUDA and ROCm are not compatible in Kokkos.")
+ depends_on("intel-oneapi-dpl", when="+sycl")
for opt, (dflt, desc) in options_variants.items():
variant(opt, default=dflt, description=desc, when=("+cuda" if "cuda" in opt else None))