kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Kokkos::Execution::ExecutionSpaceImpl::OpStateBase< Rcvr, Clsr, Clsrs > Struct Template Reference

#include <operation_state.hpp>

Inheritance diagram for Kokkos::Execution::ExecutionSpaceImpl::OpStateBase< Rcvr, Clsr, Clsrs >:
Kokkos::Execution::ExecutionSpaceImpl::MayDelegateCompletionWithEvent< Rcvr, Clsr::execution_space >

Public Types

using execution_space = typename Clsr::execution_space
using receiver_t = Rcvr
using closures_t = stdexec::__tuple<Clsr, Clsrs...>
using may_delegate_completion_with_event_t = MayDelegateCompletionWithEvent<Rcvr, execution_space>

Public Member Functions

constexpr OpStateBase (Rcvr rcvr_, Clsr clsr_, Clsrs... clsrs_) noexcept(std::is_nothrow_constructible_v< may_delegate_completion_with_event_t, Rcvr > &&std::is_nothrow_move_constructible_v< Clsr > &&(std::is_nothrow_move_constructible_v< Clsrs > &&...))
void propagate_completion_signal (stdexec::set_value_t) noexcept
template<typename Error>
void propagate_completion_signal (stdexec::set_error_t, Error &&error) noexcept
void propagate_completion_signal (stdexec::set_stopped_t) noexcept
constexpr auto query (get_exec_t) const noexcept -> ExecutionSpaceRef< execution_space >
constexpr auto get_env () const noexcept -> ::stdexec::__fwd_env_t<::stdexec::env_of_t< Rcvr > >

Public Attributes

closures_t clsrs

Detailed Description

template<stdexec::receiver Rcvr, Closure Clsr, Closure... Clsrs>
requires (std::same_as<typename Clsr::execution_space, typename Clsrs::execution_space> && ...)
struct Kokkos::Execution::ExecutionSpaceImpl::OpStateBase< Rcvr, Clsr, Clsrs >

Definition at line 148 of file operation_state.hpp.

Member Typedef Documentation

◆ closures_t

template<stdexec::receiver Rcvr, Closure Clsr, Closure... Clsrs>
using Kokkos::Execution::ExecutionSpaceImpl::OpStateBase< Rcvr, Clsr, Clsrs >::closures_t = stdexec::__tuple<Clsr, Clsrs...>

Definition at line 153 of file operation_state.hpp.

◆ execution_space

template<stdexec::receiver Rcvr, Closure Clsr, Closure... Clsrs>
using Kokkos::Execution::ExecutionSpaceImpl::OpStateBase< Rcvr, Clsr, Clsrs >::execution_space = typename Clsr::execution_space

Definition at line 151 of file operation_state.hpp.

◆ may_delegate_completion_with_event_t

template<stdexec::receiver Rcvr, Closure Clsr, Closure... Clsrs>
using Kokkos::Execution::ExecutionSpaceImpl::OpStateBase< Rcvr, Clsr, Clsrs >::may_delegate_completion_with_event_t = MayDelegateCompletionWithEvent<Rcvr, execution_space>

Definition at line 155 of file operation_state.hpp.

◆ receiver_t

template<stdexec::receiver Rcvr, Closure Clsr, Closure... Clsrs>
using Kokkos::Execution::ExecutionSpaceImpl::OpStateBase< Rcvr, Clsr, Clsrs >::receiver_t = Rcvr

Definition at line 152 of file operation_state.hpp.

Constructor & Destructor Documentation

◆ OpStateBase()

template<stdexec::receiver Rcvr, Closure Clsr, Closure... Clsrs>
Kokkos::Execution::ExecutionSpaceImpl::OpStateBase< Rcvr, Clsr, Clsrs >::OpStateBase ( Rcvr rcvr_,
Clsr clsr_,
Clsrs... clsrs_ )
inlineexplicitconstexprnoexcept

Definition at line 159 of file operation_state.hpp.

Member Function Documentation

◆ get_env()

template<stdexec::receiver Rcvr, Closure Clsr, Closure... Clsrs>
auto Kokkos::Execution::ExecutionSpaceImpl::OpStateBase< Rcvr, Clsr, Clsrs >::get_env ( ) const->::stdexec::__fwd_env_t<::stdexec::env_of_t< Rcvr > >
inlinenodiscardconstexprnoexcept

Definition at line 192 of file operation_state.hpp.

◆ propagate_completion_signal() [1/3]

template<stdexec::receiver Rcvr, Closure Clsr, Closure... Clsrs>
template<typename Error>
void Kokkos::Execution::ExecutionSpaceImpl::OpStateBase< Rcvr, Clsr, Clsrs >::propagate_completion_signal ( stdexec::set_error_t ,
Error && error )
inlinenoexcept

Definition at line 178 of file operation_state.hpp.

◆ propagate_completion_signal() [2/3]

template<stdexec::receiver Rcvr, Closure Clsr, Closure... Clsrs>
void Kokkos::Execution::ExecutionSpaceImpl::OpStateBase< Rcvr, Clsr, Clsrs >::propagate_completion_signal ( stdexec::set_stopped_t )
inlinenoexcept

Definition at line 182 of file operation_state.hpp.

◆ propagate_completion_signal() [3/3]

template<stdexec::receiver Rcvr, Closure Clsr, Closure... Clsrs>
void Kokkos::Execution::ExecutionSpaceImpl::OpStateBase< Rcvr, Clsr, Clsrs >::propagate_completion_signal ( stdexec::set_value_t )
inlinenoexcept

Definition at line 166 of file operation_state.hpp.

◆ query()

template<stdexec::receiver Rcvr, Closure Clsr, Closure... Clsrs>
auto Kokkos::Execution::ExecutionSpaceImpl::OpStateBase< Rcvr, Clsr, Clsrs >::query ( get_exec_t ) const->ExecutionSpaceRef< execution_space >
inlinenodiscardconstexprnoexcept
Note
All clsrs are assumed to reference the same execution space instance.

Definition at line 188 of file operation_state.hpp.

Member Data Documentation

◆ clsrs

template<stdexec::receiver Rcvr, Closure Clsr, Closure... Clsrs>
closures_t Kokkos::Execution::ExecutionSpaceImpl::OpStateBase< Rcvr, Clsr, Clsrs >::clsrs

Definition at line 157 of file operation_state.hpp.


The documentation for this struct was generated from the following file: