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

#include <scoped_region.hpp>

Public Types

using sender_concept = stdexec::sender_tag
template<typename Rcvr>
using schd_t = Impl::completion_scheduler_of_t<stdexec::set_value_t, Sndr, stdexec::env_of_t<Rcvr>>
template<typename Rcvr>
using rcvr_t = RegionReceiver<kind, schd_t<Rcvr>, Rcvr>

Public Member Functions

template<class... _Ts>
 __VA_OPT__ (__VA_OPT__([[__VA_OPT__(host)]] __VA_OPT__(STDEXEC_PP_FOR_EACH_AGAIN()(STDEXEC_ATTRIBUTE_I, device)))) constexpr auto connect(_Ts &&... __args) &&noexcept(noexcept(__static_connect(std::move(*this), static_cast< _Ts && >(__args)...))) -> decltype(__static_connect(std::move(*this), static_cast< _Ts && >(__args)...))
template<class... _Ts>
 __VA_OPT__ (__VA_OPT__([[__VA_OPT__(host)]] __VA_OPT__(STDEXEC_PP_FOR_EACH_AGAIN()(STDEXEC_ATTRIBUTE_I, device)))) constexpr auto connect(_Ts &&... __args) &noexcept(noexcept(__static_connect(*this, static_cast< _Ts && >(__args)...))) -> decltype(__static_connect(*this, static_cast< _Ts && >(__args)...))
template<class... _Ts>
 __VA_OPT__ (__VA_OPT__([[__VA_OPT__(host)]] __VA_OPT__(STDEXEC_PP_FOR_EACH_AGAIN()(STDEXEC_ATTRIBUTE_I, device)))) constexpr auto connect(_Ts &&... __args) const &noexcept(noexcept(__static_connect(*this, static_cast< _Ts && >(__args)...))) -> decltype(__static_connect(*this, static_cast< _Ts && >(__args)...))
constexpr auto get_env () const noexcept -> Kokkos::Execution::Impl::ForwardingAttributes< Sndr >

Static Public Member Functions

template<stdexec::__decays_to< RegionSender > Self, typename... Env>
static consteval auto get_completion_signatures ()
template<stdexec::__decays_to< RegionSender > Self, stdexec::receiver Rcvr>
static constexpr auto STDEXEC_PP_CAT (__static_, connect(this Self &&self, Rcvr rcvr) noexcept(std::is_nothrow_constructible_v< rcvr_t< Rcvr >, decltype((std::declval< Self >().name)), schd_t< Rcvr > &&, Rcvr && > &&stdexec::__nothrow_connectable< decltype((std::declval< Self >().sndr)), rcvr_t< Rcvr > && >) -> stdexec::connect_result_t< decltype((std::declval< Self >().sndr))))(STDEXEC_EXPLICIT_THIS_ARGS rcvr_t< Rcvr > && >

Public Attributes

std::string name {}
Sndr sndr

Detailed Description

template<Kind kind, stdexec::sender Sndr>
struct Kokkos::Execution::ExecutionSpaceImpl::RegionSender< kind, Sndr >

Definition at line 73 of file scoped_region.hpp.

Member Typedef Documentation

◆ rcvr_t

template<Kind kind, stdexec::sender Sndr>
template<typename Rcvr>
using Kokkos::Execution::ExecutionSpaceImpl::RegionSender< kind, Sndr >::rcvr_t = RegionReceiver<kind, schd_t<Rcvr>, Rcvr>

Definition at line 82 of file scoped_region.hpp.

◆ schd_t

template<Kind kind, stdexec::sender Sndr>
template<typename Rcvr>
using Kokkos::Execution::ExecutionSpaceImpl::RegionSender< kind, Sndr >::schd_t = Impl::completion_scheduler_of_t<stdexec::set_value_t, Sndr, stdexec::env_of_t<Rcvr>>

Definition at line 79 of file scoped_region.hpp.

◆ sender_concept

template<Kind kind, stdexec::sender Sndr>
using Kokkos::Execution::ExecutionSpaceImpl::RegionSender< kind, Sndr >::sender_concept = stdexec::sender_tag

Definition at line 74 of file scoped_region.hpp.

Member Function Documentation

◆ __VA_OPT__() [1/3]

template<Kind kind, stdexec::sender Sndr>
template<class... _Ts>
Kokkos::Execution::ExecutionSpaceImpl::RegionSender< kind, Sndr >::__VA_OPT__ ( __VA_OPT__([[__VA_OPT__(host)]] __VA_OPT__(STDEXEC_PP_FOR_EACH_AGAIN()(STDEXEC_ATTRIBUTE_I, device))) ) &&->decltype(__static_connect(std::move(*this), static_cast< _Ts && >(__args)...))
inlinenoexcept

Definition at line 107 of file scoped_region.hpp.

◆ __VA_OPT__() [2/3]

template<Kind kind, stdexec::sender Sndr>
template<class... _Ts>
Kokkos::Execution::ExecutionSpaceImpl::RegionSender< kind, Sndr >::__VA_OPT__ ( __VA_OPT__([[__VA_OPT__(host)]] __VA_OPT__(STDEXEC_PP_FOR_EACH_AGAIN()(STDEXEC_ATTRIBUTE_I, device))) ) &->decltype(__static_connect(*this, static_cast< _Ts && >(__args)...))
inlinenoexcept

Definition at line 107 of file scoped_region.hpp.

◆ __VA_OPT__() [3/3]

template<Kind kind, stdexec::sender Sndr>
template<class... _Ts>
Kokkos::Execution::ExecutionSpaceImpl::RegionSender< kind, Sndr >::__VA_OPT__ ( __VA_OPT__([[__VA_OPT__(host)]] __VA_OPT__(STDEXEC_PP_FOR_EACH_AGAIN()(STDEXEC_ATTRIBUTE_I, device))) ) const &->decltype(__static_connect(*this, static_cast< _Ts && >(__args)...))
inlinenoexcept

Definition at line 107 of file scoped_region.hpp.

◆ get_completion_signatures()

template<Kind kind, stdexec::sender Sndr>
template<stdexec::__decays_to< RegionSender > Self, typename... Env>
consteval auto Kokkos::Execution::ExecutionSpaceImpl::RegionSender< kind, Sndr >::get_completion_signatures ( )
inlinestaticconsteval

Definition at line 76 of file scoped_region.hpp.

◆ get_env()

template<Kind kind, stdexec::sender Sndr>
auto Kokkos::Execution::ExecutionSpaceImpl::RegionSender< kind, Sndr >::get_env ( ) const->Kokkos::Execution::Impl::ForwardingAttributes< Sndr >
inlinenodiscardconstexprnoexcept

Definition at line 112 of file scoped_region.hpp.

References sndr.

◆ STDEXEC_PP_CAT()

template<Kind kind, stdexec::sender Sndr>
template<stdexec::__decays_to< RegionSender > Self, stdexec::receiver Rcvr>
constexpr auto Kokkos::Execution::ExecutionSpaceImpl::RegionSender< kind, Sndr >::STDEXEC_PP_CAT ( __static_ ) &&
inlinestaticnodiscardconstexpr

Definition at line 87 of file scoped_region.hpp.

References KOKKOS_EXECUTION_IMPL_FORWARD_THIS, name, and sndr.

Member Data Documentation

◆ name

template<Kind kind, stdexec::sender Sndr>
std::string Kokkos::Execution::ExecutionSpaceImpl::RegionSender< kind, Sndr >::name {}

Definition at line 109 of file scoped_region.hpp.

◆ sndr

template<Kind kind, stdexec::sender Sndr>
Sndr Kokkos::Execution::ExecutionSpaceImpl::RegionSender< kind, Sndr >::sndr

Definition at line 110 of file scoped_region.hpp.


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