Line data Source code
1 0 : // Distributed under the MIT License. 2 : // See LICENSE.txt for details. 3 : 4 : #pragma once 5 : 6 : #if __has_include(<Kokkos_Core.hpp>) 7 : #include <Kokkos_Core.hpp> 8 : 9 : /// \brief If defined then SpECTRE is using Kokkos 10 : #define SPECTRE_KOKKOS 1 11 : 12 : #else // #if __has_include(<Kokkos_Core.hpp>) 13 0 : #define KOKKOS_FUNCTION 14 0 : #define KOKKOS_INLINE_FUNCTION 15 : #endif // #if __has_include(<Kokkos_Core.hpp>)