kokkos-execution
0.0.1
Loading...
Searching...
No Matches
graph_fwd.hpp
Go to the documentation of this file.
1
#ifndef KOKKOS_EXECUTION_GRAPH_GRAPH_FWD_HPP
2
#define KOKKOS_EXECUTION_GRAPH_GRAPH_FWD_HPP
3
4
#include "
kokkos-execution/stdexec.hpp
"
5
6
#include "Kokkos_Concepts.hpp"
7
8
namespace
Kokkos::Execution
{
9
10
template
<Kokkos::ExecutionSpace Exec>
11
struct
GraphContext
;
12
13
}
// namespace Kokkos::Execution
14
15
namespace
Kokkos::Execution::GraphImpl
{
16
17
template
<
typename
Tag>
18
struct
ApplySenderFor
;
19
20
template
<
typename
Tag>
21
struct
TransformSenderFor
;
22
23
struct
Domain
;
24
25
template
<Kokkos::ExecutionSpace Exec>
26
struct
Scheduler
;
27
28
template
<stdexec::operation_state OpState, Kokkos::ExecutionSpace Exec>
29
struct
GraphOperationStateFor
:
public
std::false_type { };
30
31
template
<
typename
OpState,
typename
Exec>
32
concept
graph_operation_state_for
= stdexec::operation_state<OpState> && Kokkos::ExecutionSpace<Exec>
33
&&
GraphOperationStateFor<OpState, Exec>::value
;
34
35
template
<stdexec::operation_state OpState, Kokkos::ExecutionSpace Exec>
36
struct
RemainsOnGraphFor
:
public
std::false_type { };
37
43
template
<
typename
Exec,
typename
Sndr,
typename
Rcvr>
44
concept
remains_on_graph_for
= Kokkos::ExecutionSpace<Exec> && stdexec::sender<Sndr> && stdexec::receiver<Rcvr>
45
&&
RemainsOnGraphFor<stdexec::connect_result_t<Sndr, Rcvr>
, Exec>::value;
46
47
}
// namespace Kokkos::Execution::GraphImpl
48
49
#endif
// KOKKOS_EXECUTION_GRAPH_GRAPH_FWD_HPP
Kokkos::Execution::GraphImpl::graph_operation_state_for
Definition
graph_fwd.hpp:32
Kokkos::Execution::GraphImpl::remains_on_graph_for
Definition
graph_fwd.hpp:44
stdexec.hpp
Kokkos::Execution::GraphImpl
Definition
graph.hpp:20
Kokkos::Execution
Definition
execution_space.hpp:20
Kokkos::Execution::GraphContext
Execution context using Kokkos::Experimental::Graph under the hood.
Definition
graph.hpp:117
Kokkos::Execution::GraphImpl::ApplySenderFor
Definition
graph_fwd.hpp:18
Kokkos::Execution::GraphImpl::Domain
Definition
domain.hpp:13
Kokkos::Execution::GraphImpl::GraphOperationStateFor
Definition
graph_fwd.hpp:29
Kokkos::Execution::GraphImpl::RemainsOnGraphFor
Definition
graph_fwd.hpp:36
Kokkos::Execution::GraphImpl::Scheduler
Scheduler for a Kokkos::Experimental::Graph.
Definition
graph.hpp:24
Kokkos::Execution::GraphImpl::TransformSenderFor
Definition
graph_fwd.hpp:21
kokkos-execution
graph
graph_fwd.hpp
Generated on
for kokkos-execution by
1.15.0