kokkos-kernels: require kokkos+cuda_lambda (#38568)

(when +cuda, and on version 4.0.00 and up)
This commit is contained in:
brian-kelley 2023-06-27 11:22:57 -06:00 committed by GitHub
parent 26a98f4c14
commit d8922233ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",