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

#include <operation_state.hpp>

Inheritance diagram for Kokkos::Execution::ExecutionSpaceImpl::OpState< Sndr, Rcvr, Clsrs >:
Kokkos::Execution::Impl::Immovable Kokkos::Execution::ExecutionSpaceImpl::OpStateBase< Rcvr, Clsrs... >

Public Types

using operation_state_concept = stdexec::operation_state_tag
using base_t = OpStateBase<Rcvr, Clsrs...>
using rcvr_t = Impl::Receiver<base_t>
using inner_opstate_t = stdexec::connect_result_t<Sndr, rcvr_t>
Public Types inherited from Kokkos::Execution::ExecutionSpaceImpl::OpStateBase< Rcvr, Clsrs... >
using execution_space
using sync_policy_t
using completion_signal_t
using closures_t

Public Member Functions

constexpr OpState (Sndr &&sndr, Rcvr rcvr_, Clsrs... clsrs_) noexcept(opstate_base_is_nothrow_constructible &&inner_opstate_is_nothrow_constructible)
void start () &noexcept
Public Member Functions inherited from Kokkos::Execution::Impl::Immovable
 Immovable ()=default
 Immovable (Immovable &&)=delete
Immovableoperator= (Immovable &&)=delete
 Immovable (const Immovable &)=delete
Immovableoperator= (const Immovable &)=delete
 ~Immovable ()=default
Public Member Functions inherited from Kokkos::Execution::ExecutionSpaceImpl::OpStateBase< Rcvr, Clsrs... >
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
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

inner_opstate_t inner_opstate
Public Attributes inherited from Kokkos::Execution::ExecutionSpaceImpl::OpStateBase< Rcvr, Clsrs... >
completion_signal_t completion_signal
closures_t clsrs

Static Public Attributes

static constexpr bool opstate_base_is_nothrow_constructible
static constexpr bool inner_opstate_is_nothrow_constructible = stdexec::__nothrow_connectable<Sndr&&, rcvr_t>

Detailed Description

template<stdexec::sender Sndr, stdexec::receiver Rcvr, Closure... Clsrs>
requires (!Impl::dispatching_sender<Sndr>)
struct Kokkos::Execution::ExecutionSpaceImpl::OpState< Sndr, Rcvr, Clsrs >

Definition at line 102 of file operation_state.hpp.

Member Typedef Documentation

◆ base_t

template<stdexec::sender Sndr, stdexec::receiver Rcvr, Closure... Clsrs>
using Kokkos::Execution::ExecutionSpaceImpl::OpState< Sndr, Rcvr, Clsrs >::base_t = OpStateBase<Rcvr, Clsrs...>

Definition at line 107 of file operation_state.hpp.

◆ inner_opstate_t

template<stdexec::sender Sndr, stdexec::receiver Rcvr, Closure... Clsrs>
using Kokkos::Execution::ExecutionSpaceImpl::OpState< Sndr, Rcvr, Clsrs >::inner_opstate_t = stdexec::connect_result_t<Sndr, rcvr_t>

Definition at line 110 of file operation_state.hpp.

◆ operation_state_concept

template<stdexec::sender Sndr, stdexec::receiver Rcvr, Closure... Clsrs>
using Kokkos::Execution::ExecutionSpaceImpl::OpState< Sndr, Rcvr, Clsrs >::operation_state_concept = stdexec::operation_state_tag

Definition at line 105 of file operation_state.hpp.

◆ rcvr_t

template<stdexec::sender Sndr, stdexec::receiver Rcvr, Closure... Clsrs>
using Kokkos::Execution::ExecutionSpaceImpl::OpState< Sndr, Rcvr, Clsrs >::rcvr_t = Impl::Receiver<base_t>

Definition at line 108 of file operation_state.hpp.

Constructor & Destructor Documentation

◆ OpState()

template<stdexec::sender Sndr, stdexec::receiver Rcvr, Closure... Clsrs>
Kokkos::Execution::ExecutionSpaceImpl::OpState< Sndr, Rcvr, Clsrs >::OpState ( Sndr && sndr,
Rcvr rcvr_,
Clsrs... clsrs_ )
inlineexplicitconstexprnoexcept

Member Function Documentation

◆ start()

template<stdexec::sender Sndr, stdexec::receiver Rcvr, Closure... Clsrs>
void Kokkos::Execution::ExecutionSpaceImpl::OpState< Sndr, Rcvr, Clsrs >::start ( ) &
inlinenoexcept

Definition at line 132 of file operation_state.hpp.

References inner_opstate.

Member Data Documentation

◆ inner_opstate

template<stdexec::sender Sndr, stdexec::receiver Rcvr, Closure... Clsrs>
inner_opstate_t Kokkos::Execution::ExecutionSpaceImpl::OpState< Sndr, Rcvr, Clsrs >::inner_opstate

Definition at line 117 of file operation_state.hpp.

◆ inner_opstate_is_nothrow_constructible

template<stdexec::sender Sndr, stdexec::receiver Rcvr, Closure... Clsrs>
bool Kokkos::Execution::ExecutionSpaceImpl::OpState< Sndr, Rcvr, Clsrs >::inner_opstate_is_nothrow_constructible = stdexec::__nothrow_connectable<Sndr&&, rcvr_t>
staticconstexpr

Definition at line 115 of file operation_state.hpp.

◆ opstate_base_is_nothrow_constructible

template<stdexec::sender Sndr, stdexec::receiver Rcvr, Closure... Clsrs>
bool Kokkos::Execution::ExecutionSpaceImpl::OpState< Sndr, Rcvr, Clsrs >::opstate_base_is_nothrow_constructible
staticconstexpr
Initial value:
=
std::is_nothrow_constructible_v<base_t, Rcvr&&, Clsrs&&...>

Definition at line 112 of file operation_state.hpp.


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