|
kokkos-execution 0.0.1
|
Inspired by https://github.com/NVIDIA/stdexec/blob/8c5eedd0fcf9a8ebcdb75d988f72f88efcf64a37/include/stdexec/__detail/__completion_behavior.hpp#L33. More...
#include <get_graph.hpp>
Classes | |
| struct | Attach |
| Attach to the existing graph of the predecessor. More... | |
| struct | Create |
| Create a new graph and attach after the root node. More... | |
| struct | node_helper_t |
| struct | node_helper_t< Exec, Queryable > |
Public Types | |
| template<typename Queryable> | |
| using | policy_t = std::conditional_t<stdexec::__queryable_with<Queryable, get_node_t>, Attach, Create> |
Use the Attach policy if Queryable is queryable with get_node_t. | |
| template<typename Exec, typename Queryable> | |
| using | node_t = typename node_helper_t<Exec, Queryable>::type |
Definition at line 20 of file get_graph.hpp.
| using Kokkos::Execution::GraphImpl::GraphComposition::node_t = typename node_helper_t<Exec, Queryable>::type |
If policy_t for Queryable is the Create policy, it is set to the type of the root node. Otherwise, it is set as the query result of Queryable for get_node_t.
Definition at line 51 of file get_graph.hpp.
| using Kokkos::Execution::GraphImpl::GraphComposition::policy_t = std::conditional_t<stdexec::__queryable_with<Queryable, get_node_t>, Attach, Create> |
Use the Attach policy if Queryable is queryable with get_node_t.
Definition at line 29 of file get_graph.hpp.