kokkos-execution 0.0.1
Loading...
Searching...
No Matches
graph_context.hpp
Go to the documentation of this file.
1#ifndef KOKKOS_EXECUTION_TESTS_UTILS_GRAPH_CONTEXT_HPP
2#define KOKKOS_EXECUTION_TESTS_UTILS_GRAPH_CONTEXT_HPP
3
4#include "Kokkos_Graph_fwd.hpp"
5#include "impl/Kokkos_DeviceHandle.hpp"
6
8
10
11namespace Tests::Utils {
12
13template <Kokkos::ExecutionSpace Exec>
14struct GraphContextTest : public ContextTest<Kokkos::Execution::GraphContext, Exec> {
15 using device_handle_t = Kokkos::Impl::DeviceHandle<Exec>;
16 using graph_t = Kokkos::Experimental::Graph<Exec>;
17
19};
20 // NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
26#define KOKKOS_EXECUTION_TEST_UTILS_GRAPH_FENCE(_exec_) _exec_.fence("waiting for the data to be ready")
27
28} // namespace Tests::Utils
29
30#endif // KOKKOS_EXECUTION_TESTS_UTILS_GRAPH_CONTEXT_HPP
Kokkos::Experimental::Graph< Exec > graph_t
Kokkos::Impl::DeviceHandle< Exec > device_handle_t