]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix the name of variable reporting the Kokkos version. 18218/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 10 Mar 2025 21:28:33 +0000 (15:28 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 10 Mar 2025 21:28:33 +0000 (15:28 -0600)
cmake/modules/FindDEAL_II_KOKKOS.cmake

index e639a8b25c21f74551e0e0e2f4d9821e11379c0b..cdcbfb4258360cde77eb37ba320bcece170faa6d 100644 (file)
@@ -50,7 +50,7 @@ if(Kokkos_FOUND)
   if (Kokkos_ENABLE_CUDA OR Kokkos_ENABLE_HIP)
     # In version older than 3.7.0, Kokkos::Array::operator[] is not constexpr,
     # so we use std::array instead.
-    if (KOKKOS_VERSION VERSION_LESS 3.7.0)
+    if (Kokkos_VERSION VERSION_LESS 3.7.0)
       # We are using std::array in device code which calls the host-only function
       # __glibcxx_requires_subscript when defining _GLIBCXX_ASSERTIONS 
       list(REMOVE_ITEM DEAL_II_DEFINITIONS_DEBUG "_GLIBCXX_ASSERTIONS")

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.