Line data Source code
1 1 : // Distributed under the MIT License.
2 : // See LICENSE.txt for details.
3 :
4 : /// \file
5 : /// Includes Kokkos for code that uses Kokkos types and parallel loops, such as
6 : /// `Kokkos::View` and `Kokkos::parallel_for`. Code that only needs the macros
7 : /// to annotate functions (e.g. `KOKKOS_FUNCTION`) should include
8 : /// `Utilities/Kokkos/KokkosMacros.hpp` instead.
9 :
10 : #pragma once
11 :
12 : #include "Utilities/Kokkos/KokkosMacros.hpp"
13 :
14 : #ifdef SPECTRE_KOKKOS
15 : #include <Kokkos_Core.hpp>
16 : #endif // SPECTRE_KOKKOS
|