|
kokkos-execution 0.0.1
|
Concepts | |
| concept | NodeRef |
Constrain a type that is a specialization of Kokkos::Experimental::GraphNodeRef. | |
| concept | Closure |
| concept | graph_completing_sender |
| Concept for a sender whose completion scheduler is Kokkos::Execution::GraphImpl::Scheduler. | |
Typedefs | |
| template<typename Sndr, typename Rcvr, typename... Clsrs> | |
| using | make_opstate_t = Impl::MakeOpState<Domain, OpState>::Huddle<Sndr, Rcvr, Clsrs...> |
| template<typename Sndr, typename Rcvr, typename... Clsrs> | |
| using | opstate_t = typename make_opstate_t<Sndr, Rcvr, Clsrs...>::type |
Functions | |
| template<NodeRef NodeType> | |
| auto * | get_graph_impl_ptr (const NodeType &node) noexcept |
| Retrieve the raw graph pointer from a node. | |
| template<NodeRef NodeType> | |
| auto * | get_node_ptr (const NodeType &node) noexcept |
| Retrieve the raw node pointer. | |
| template<Kokkos::ExecutionSpace Exec> | |
| void | graph_create_event (const Kokkos::Experimental::Graph< Exec > &graph) |
| Record a GraphCreateEvent event. | |
| template<Kokkos::ExecutionSpace Exec, typename... Args> | |
| auto | create_graph (const Kokkos::Impl::DeviceHandle< Exec > &device_handle, Args &&... args) |
| Create a graph and record the associated event with graph_create_event. | |
| template<NodeRef Predecessor, NodeRef NodeType> | |
| void | graph_add_node_event (const Predecessor &predecessor, const NodeType &node) |
Record an event for a node added after predecessor. | |
| template<Kokkos::ExecutionSpace Exec> | |
| void | graph_instantiate_event (const Kokkos::Experimental::Graph< Exec > &graph) |
| Record a GraphInstantiateEvent event. | |
| template<Kokkos::ExecutionSpace Exec> | |
| void | graph_submit_event (const Kokkos::Experimental::Graph< Exec > &graph, const Exec &exec) |
| Record a GraphSubmitEvent event. | |
| template<Kokkos::ExecutionSpace Exec> | |
| void | submit_graph (const Kokkos::Experimental::Graph< Exec > &graph, const Exec &exec) |
| Submit a graph and record the associated event with graph_submit_event. | |
| template<typename Predecessor, Closure FirstClosure, Closure... RestOfClosures> requires NodeRef<std::remove_cvref_t<Predecessor>> | |
| static auto | add_nodes (Predecessor &&predecessor, FirstClosure &&clsr, RestOfClosures &&... clsrs) |
| Add all nodes as a sequence. Hence, only the first node may be added after the root node. | |
| template<typename Tag, typename Sndr, typename... Env> | |
| auto | no_graph_scheduler_in_env () noexcept |
| Show a better compile diagnostic when there is no Kokkos::Execution::GraphImpl::Scheduler found. | |
Variables | |
| constexpr get_graph_t | get_graph {} |
| constexpr get_node_t | get_node {} |
| using Kokkos::Execution::GraphImpl::make_opstate_t = Impl::MakeOpState<Domain, OpState>::Huddle<Sndr, Rcvr, Clsrs...> |
Definition at line 210 of file operation_state.hpp.
| using Kokkos::Execution::GraphImpl::opstate_t = typename make_opstate_t<Sndr, Rcvr, Clsrs...>::type |
Definition at line 213 of file operation_state.hpp.
|
static |
Add all nodes as a sequence. Hence, only the first node may be added after the root node.
Definition at line 96 of file operation_state.hpp.
References add_nodes().
| auto Kokkos::Execution::GraphImpl::create_graph | ( | const Kokkos::Impl::DeviceHandle< Exec > & | device_handle, |
| Args &&... | args ) |
Create a graph and record the associated event with graph_create_event.
Definition at line 100 of file events.hpp.
References graph_create_event().
|
noexcept |
Retrieve the raw graph pointer from a node.
Definition at line 76 of file events.hpp.
|
noexcept |
Retrieve the raw node pointer.
Definition at line 82 of file events.hpp.
| void Kokkos::Execution::GraphImpl::graph_add_node_event | ( | const Predecessor & | predecessor, |
| const NodeType & | node ) |
Record an event for a node added after predecessor.
Definition at line 112 of file events.hpp.
References Kokkos::utils::callbacks::dispatch(), get_graph_impl_ptr(), and get_node_ptr().
| void Kokkos::Execution::GraphImpl::graph_create_event | ( | const Kokkos::Experimental::Graph< Exec > & | graph | ) |
Record a GraphCreateEvent event.
Definition at line 88 of file events.hpp.
References Kokkos::utils::callbacks::dispatch(), get_graph_impl_ptr(), and Kokkos::utils::callbacks::get_next_event_id().
| void Kokkos::Execution::GraphImpl::graph_instantiate_event | ( | const Kokkos::Experimental::Graph< Exec > & | graph | ) |
Record a GraphInstantiateEvent event.
Definition at line 149 of file events.hpp.
References Kokkos::utils::callbacks::dispatch(), and get_graph_impl_ptr().
| void Kokkos::Execution::GraphImpl::graph_submit_event | ( | const Kokkos::Experimental::Graph< Exec > & | graph, |
| const Exec & | exec ) |
Record a GraphSubmitEvent event.
Definition at line 158 of file events.hpp.
References Kokkos::utils::callbacks::dispatch(), and get_graph_impl_ptr().
|
noexcept |
Show a better compile diagnostic when there is no Kokkos::Execution::GraphImpl::Scheduler found.
Definition at line 31 of file sender_concepts.hpp.
| void Kokkos::Execution::GraphImpl::submit_graph | ( | const Kokkos::Experimental::Graph< Exec > & | graph, |
| const Exec & | exec ) |
Submit a graph and record the associated event with graph_submit_event.
Definition at line 168 of file events.hpp.
References graph_submit_event().
|
inlineconstexpr |
Definition at line 17 of file get_graph.hpp.
|
inlineconstexpr |
Definition at line 15 of file get_node.hpp.