Unverified Commit 340a2e71 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

be verbose about automatically enabling Kokkos_ENABLE_CUDA_LAMBDA

parent df2ddcc9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
########################################################################
# consistency checks and Kokkos options/settings required by LAMMPS
if(Kokkos_ENABLE_CUDA)
  set(Kokkos_ENABLE_CUDA_LAMBDA ON)
  message(STATUS "KOKKOS: Enabling CUDA LAMBDA function support")
  set(Kokkos_ENABLE_CUDA_LAMBDA ON CACHE BOOL "" FORCE)
endif()
# Adding OpenMP compiler flags without the checks done for
# BUILD_OMP can result in compile failures. Enforce consistency.