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

#include <operation_state.hpp>

Public Types

using execution_space = typename Clsr::execution_space
using sync_policy_t = select_sync_policy_t<execution_space, Rcvr>
using completion_signal_t = Impl::CompletionSignal<sync_policy_t, execution_space, Rcvr>
using closures_t = stdexec::__tuple<Clsr, Clsrs...>

Public Member Functions

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

Public Attributes

completion_signal_t completion_signal
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 52 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 57 of file operation_state.hpp.

◆ completion_signal_t

template<stdexec::receiver Rcvr, Closure Clsr, Closure... Clsrs>
using Kokkos::Execution::ExecutionSpaceImpl::OpStateBase< Rcvr, Clsr, Clsrs >::completion_signal_t = Impl::CompletionSignal<sync_policy_t, execution_space, Rcvr>

Definition at line 56 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 53 of file operation_state.hpp.

◆ sync_policy_t

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

Definition at line 55 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 62 of file operation_state.hpp.

Member Function Documentation

◆ complete() [1/3]

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

Definition at line 80 of file operation_state.hpp.

◆ complete() [2/3]

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

Definition at line 84 of file operation_state.hpp.

◆ complete() [3/3]

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

Definition at line 69 of file operation_state.hpp.

◆ get_env()

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

Definition at line 95 of file operation_state.hpp.

◆ query()

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

Definition at line 90 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 60 of file operation_state.hpp.

◆ completion_signal

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

Definition at line 59 of file operation_state.hpp.


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