summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/kokkos-kernels/package.py3
1 files changed, 3 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 18547fb649..404ea0520d 100644
--- a/var/spack/repos/builtin/packages/kokkos-kernels/package.py
+++ b/var/spack/repos/builtin/packages/kokkos-kernels/package.py
@@ -82,6 +82,9 @@ class KokkosKernels(CMakePackage, CudaPackage):
variant(eti, default=deflt, description=descr)
depends_on("kokkos+%s" % backend_required, when="+%s" % eti)
+ # kokkos-kernels requires KOKKOS_LAMBDA to be available since 4.0.00
+ depends_on("kokkos+cuda_lambda", when="@4.0.00:+cuda")
+
numeric_etis = {
"ordinals": (
"int",