From: Daniel Arndt Date: Tue, 30 May 2023 19:53:01 +0000 (-0400) Subject: Set KOKKOS_FOUND X-Git-Tag: v9.5.0-rc1~137^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09e75bbb28177f882f7ebbe7fa185fbc51439eea;p=dealii.git Set KOKKOS_FOUND --- diff --git a/cmake/modules/FindDEAL_II_KOKKOS.cmake b/cmake/modules/FindDEAL_II_KOKKOS.cmake index 96a5812b7d..fcca57ccfd 100644 --- a/cmake/modules/FindDEAL_II_KOKKOS.cmake +++ b/cmake/modules/FindDEAL_II_KOKKOS.cmake @@ -38,6 +38,8 @@ else() HINTS ${KOKKOS_DIR} ${Kokkos_DIR} $ENV{Kokkos_DIR} ) + set(KOKKOS_FOUND ${Kokkos_FOUND}) + if(Kokkos_FOUND) # We need to disable SIMD vectorization for CUDA device code. # Otherwise, nvcc compilers from version 9 on will emit an error message like: