kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Kokkos::Execution::ExecutionSpaceImpl::SyncWaitReceiver< Exec, Values > Struct Template Reference

Receiver for sync_wait. More...

#include <sync_wait.hpp>

Public Types

using receiver_concept = stdexec::receiver_t

Public Member Functions

template<typename... Args>
void set_value (Args &&... args) &&noexcept
template<typename Error>
void set_error (Error &&err) &&noexcept
void set_stopped () noexcept
constexpr auto get_env () const noexcept -> stdexec::__join_env_t< stdexec::prop< get_exec_t, ExecutionSpaceRef< Exec > >, Kokkos::Execution::Impl::env >
 Make others aware of which execution space instance it will synchronize.

Public Attributes

State< Exec > const * state
Kokkos::Execution::Impl::Staterunloop_state
std::optional< std::tuple< Values... > > * result

Detailed Description

template<Kokkos::ExecutionSpace Exec, typename... Values>
struct Kokkos::Execution::ExecutionSpaceImpl::SyncWaitReceiver< Exec, Values >

Receiver for sync_wait.

Definition at line 16 of file sync_wait.hpp.

Member Typedef Documentation

◆ receiver_concept

template<Kokkos::ExecutionSpace Exec, typename... Values>
using Kokkos::Execution::ExecutionSpaceImpl::SyncWaitReceiver< Exec, Values >::receiver_concept = stdexec::receiver_t

Definition at line 17 of file sync_wait.hpp.

Member Function Documentation

◆ get_env()

template<Kokkos::ExecutionSpace Exec, typename... Values>
auto Kokkos::Execution::ExecutionSpaceImpl::SyncWaitReceiver< Exec, Values >::get_env ( ) const->stdexec::__join_env_t< stdexec::prop< get_exec_t, ExecutionSpaceRef< Exec > >, Kokkos::Execution::Impl::env >
inlinenodiscardconstexprnoexcept

Make others aware of which execution space instance it will synchronize.

Definition at line 44 of file sync_wait.hpp.

References Kokkos::Execution::ExecutionSpaceImpl::get_exec, runloop_state, and state.

◆ set_error()

template<Kokkos::ExecutionSpace Exec, typename... Values>
template<typename Error>
void Kokkos::Execution::ExecutionSpaceImpl::SyncWaitReceiver< Exec, Values >::set_error ( Error && err) &&
inlinenoexcept

Definition at line 31 of file sync_wait.hpp.

References runloop_state, and state.

◆ set_stopped()

template<Kokkos::ExecutionSpace Exec, typename... Values>
void Kokkos::Execution::ExecutionSpaceImpl::SyncWaitReceiver< Exec, Values >::set_stopped ( )
inlinenoexcept

Definition at line 37 of file sync_wait.hpp.

References runloop_state, and state.

◆ set_value()

template<Kokkos::ExecutionSpace Exec, typename... Values>
template<typename... Args>
void Kokkos::Execution::ExecutionSpaceImpl::SyncWaitReceiver< Exec, Values >::set_value ( Args &&... args) &&
inlinenoexcept

Definition at line 24 of file sync_wait.hpp.

References result, runloop_state, and state.

Member Data Documentation

◆ result

template<Kokkos::ExecutionSpace Exec, typename... Values>
std::optional<std::tuple<Values...> >* Kokkos::Execution::ExecutionSpaceImpl::SyncWaitReceiver< Exec, Values >::result

Definition at line 21 of file sync_wait.hpp.

◆ runloop_state

template<Kokkos::ExecutionSpace Exec, typename... Values>
Kokkos::Execution::Impl::State* Kokkos::Execution::ExecutionSpaceImpl::SyncWaitReceiver< Exec, Values >::runloop_state

Definition at line 20 of file sync_wait.hpp.

◆ state

template<Kokkos::ExecutionSpace Exec, typename... Values>
State<Exec> const* Kokkos::Execution::ExecutionSpaceImpl::SyncWaitReceiver< Exec, Values >::state

Definition at line 19 of file sync_wait.hpp.


The documentation for this struct was generated from the following files:
  • /__w/kokkos-execution/kokkos-execution/kokkos-execution/execution_space/execution_space_fwd.hpp
  • /__w/kokkos-execution/kokkos-execution/kokkos-execution/execution_space/sync_wait.hpp