kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Kokkos::Execution::GraphImpl::WhenAllOpState< Exec, Rcvr, Sndrs >::JoinOpStateNodes Struct Reference

Join the nodes of all operation states into one aggregate node. More...

#include <when_all.hpp>

Public Member Functions

template<typename ChildrenOpStates>
constexpr decltype(auto) operator() (const ChildrenOpStates &children) const

Static Public Member Functions

template<typename OpState>
static constexpr auto node_of (const OpState &opstate) noexcept
static constexpr auto join () noexcept
template<typename Node>
static constexpr const Node & join (const Node &node) noexcept
template<typename... Nodes>
requires (sizeof...(Nodes) >= 2)
static constexpr auto join (const Nodes &... nodes)

Detailed Description

template<Kokkos::ExecutionSpace Exec, stdexec::receiver Rcvr, stdexec::sender... Sndrs>
struct Kokkos::Execution::GraphImpl::WhenAllOpState< Exec, Rcvr, Sndrs >::JoinOpStateNodes

Join the nodes of all operation states into one aggregate node.

The operation states that are not queryable for get_node_t are skipped. If none of the operation states is queryable for get_node_t, Impl::Empty is returned.

Definition at line 98 of file when_all.hpp.

Member Function Documentation

◆ join() [1/3]

template<Kokkos::ExecutionSpace Exec, stdexec::receiver Rcvr, stdexec::sender... Sndrs>
constexpr auto Kokkos::Execution::GraphImpl::WhenAllOpState< Exec, Rcvr, Sndrs >::JoinOpStateNodes::join ( )
inlinestaticconstexprnoexcept

Definition at line 110 of file when_all.hpp.

◆ join() [2/3]

template<Kokkos::ExecutionSpace Exec, stdexec::receiver Rcvr, stdexec::sender... Sndrs>
template<typename Node>
constexpr const Node & Kokkos::Execution::GraphImpl::WhenAllOpState< Exec, Rcvr, Sndrs >::JoinOpStateNodes::join ( const Node & node)
inlinestaticconstexprnoexcept

◆ join() [3/3]

template<Kokkos::ExecutionSpace Exec, stdexec::receiver Rcvr, stdexec::sender... Sndrs>
template<typename... Nodes>
requires (sizeof...(Nodes) >= 2)
constexpr auto Kokkos::Execution::GraphImpl::WhenAllOpState< Exec, Rcvr, Sndrs >::JoinOpStateNodes::join ( const Nodes &... nodes)
inlinestaticconstexpr

◆ node_of()

template<Kokkos::ExecutionSpace Exec, stdexec::receiver Rcvr, stdexec::sender... Sndrs>
template<typename OpState>
constexpr auto Kokkos::Execution::GraphImpl::WhenAllOpState< Exec, Rcvr, Sndrs >::JoinOpStateNodes::node_of ( const OpState & opstate)
inlinestaticconstexprnoexcept

Definition at line 100 of file when_all.hpp.

References Kokkos::Execution::GraphImpl::get_node.

◆ operator()()

template<Kokkos::ExecutionSpace Exec, stdexec::receiver Rcvr, stdexec::sender... Sndrs>
template<typename ChildrenOpStates>
decltype(auto) Kokkos::Execution::GraphImpl::WhenAllOpState< Exec, Rcvr, Sndrs >::JoinOpStateNodes::operator() ( const ChildrenOpStates & children) const
inlineconstexpr

Definition at line 128 of file when_all.hpp.

References join(), and node_of().


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