Kokkos Core Kernels Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Kokkos_Graph_fwd.hpp
1 //@HEADER
2 // ************************************************************************
3 //
4 // Kokkos v. 4.0
5 // Copyright (2022) National Technology & Engineering
6 // Solutions of Sandia, LLC (NTESS).
7 //
8 // Under the terms of Contract DE-NA0003525 with NTESS,
9 // the U.S. Government retains certain rights in this software.
10 //
11 // Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
12 // See https://kokkos.org/LICENSE for license information.
13 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
14 //
15 //@HEADER
16 
17 #ifndef KOKKOS_KOKKOS_GRAPH_FWD_HPP
18 #define KOKKOS_KOKKOS_GRAPH_FWD_HPP
19 #ifndef KOKKOS_IMPL_PUBLIC_INCLUDE
20 #define KOKKOS_IMPL_PUBLIC_INCLUDE
21 #define KOKKOS_IMPL_PUBLIC_INCLUDE_NOTDEFINED_GRAPH_FWD
22 #endif
23 
24 #include <Kokkos_Macros.hpp>
25 
26 namespace Kokkos {
27 namespace Experimental {
28 
29 struct TypeErasedTag {};
30 
31 template <class ExecutionSpace>
32 struct Graph;
33 
34 template <class ExecutionSpace, class Kernel = TypeErasedTag,
35  class Predecessor = TypeErasedTag>
36 class GraphNodeRef;
37 
38 } // end namespace Experimental
39 } // end namespace Kokkos
40 
41 #ifdef KOKKOS_IMPL_PUBLIC_INCLUDE_NOTDEFINED_GRAPH_FWD
42 #undef KOKKOS_IMPL_PUBLIC_INCLUDE
43 #undef KOKKOS_IMPL_PUBLIC_INCLUDE_NOTDEFINED_GRAPH_FWD
44 #endif
45 #endif // KOKKOS_KOKKOS_GRAPH_FWD_HPP