Tpetra's CMake should check & require Kokkos_ENABLE_Cuda_Lambda=ON
Created by: mhoemmen
@trilinos/tpetra @tjfulle
Kokkos used to enable KOKKOS_LAMBDA
purely at build (not configure time), as a function of CUDA_VERSION
. Recently, Kokkos changed to require setting a CMake option to enable lambdas. Tpetra requires that KOKKOS_LAMBDA
work, so it would make sense for Tpetra to check at configure time whether that CMake option is enabled.
This currently only matters for CUDA builds.