kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Kokkos::Execution::GraphImpl::GraphComposition Struct Reference

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, Queryables... >
struct  node_helper_t< Exec, FirstQueryable, RestOfQueryables... >

Public Types

template<typename... Queryables>
using policy_t
 Use the Attach policy if any Queryables is queryable with get_node_t.
template<typename Exec, typename... Queryables>
using node_t = typename node_helper_t<Exec, Queryables...>::type

Detailed Description

Member Typedef Documentation

◆ node_t

template<typename Exec, typename... Queryables>
using Kokkos::Execution::GraphImpl::GraphComposition::node_t = typename node_helper_t<Exec, Queryables...>::type

If policy_t is Create, it is set to the type of the root node. Otherwise, it is set as the first valid get_node_t query result in the Queryables.

Definition at line 78 of file get_graph.hpp.

◆ policy_t

template<typename... Queryables>
using Kokkos::Execution::GraphImpl::GraphComposition::policy_t
Initial value:
std::conditional_t<
(stdexec::__queryable_with<Queryables, get_node_t> || ...),
>
Attach to the existing graph of the predecessor.
Definition get_graph.hpp:33
Create a new graph and attach after the root node.
Definition get_graph.hpp:36

Use the Attach policy if any Queryables is queryable with get_node_t.

Definition at line 40 of file get_graph.hpp.


The documentation for this struct was generated from the following file:
  • /__w/kokkos-execution/kokkos-execution/kokkos-execution/graph/get_graph.hpp