kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Kokkos::Execution::GraphImpl::ScheduleFromSender< Exec, Sndr > Struct Template Reference

Sender for stdexec::schedule_from. More...

#include <schedule_from.hpp>

Public Types

using sender_concept = stdexec::sender_tag
using execution_space = Exec
template<typename Self, typename Rcvr>
using connect_result_t = ScheduleFromOpState<execution_space, stdexec::__copy_cvref_t<Self, Sndr>, 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< ScheduleFromSender > Self, typename... Env>
static consteval auto get_completion_signatures ()
template<stdexec::__decays_to< ScheduleFromSender > Self, stdexec::receiver Rcvr>
static auto STDEXEC_PP_CAT (__static_, connect(this Self &&self, Rcvr rcvr) noexcept(is_nothrow_connectable_v< Self, Rcvr >) -> connect_result_t< Self))(STDEXEC_EXPLICIT_THIS_ARGS Rcvr >

Public Attributes

Sndr sndr

Static Public Attributes

template<typename Self, typename Rcvr>
static constexpr bool is_nothrow_connectable_v

Detailed Description

template<typename Exec, typename Sndr>
struct Kokkos::Execution::GraphImpl::ScheduleFromSender< Exec, Sndr >

Sender for stdexec::schedule_from.

Definition at line 103 of file schedule_from.hpp.

Member Typedef Documentation

◆ connect_result_t

template<typename Exec, typename Sndr>
template<typename Self, typename Rcvr>
using Kokkos::Execution::GraphImpl::ScheduleFromSender< Exec, Sndr >::connect_result_t = ScheduleFromOpState<execution_space, stdexec::__copy_cvref_t<Self, Sndr>, Rcvr>

Definition at line 111 of file schedule_from.hpp.

◆ execution_space

template<typename Exec, typename Sndr>
using Kokkos::Execution::GraphImpl::ScheduleFromSender< Exec, Sndr >::execution_space = Exec

Definition at line 106 of file schedule_from.hpp.

◆ sender_concept

template<typename Exec, typename Sndr>
using Kokkos::Execution::GraphImpl::ScheduleFromSender< Exec, Sndr >::sender_concept = stdexec::sender_tag

Definition at line 104 of file schedule_from.hpp.

Member Function Documentation

◆ __VA_OPT__() [1/3]

template<typename Exec, typename Sndr>
template<class... _Ts>
Kokkos::Execution::GraphImpl::ScheduleFromSender< Exec, 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 126 of file schedule_from.hpp.

◆ __VA_OPT__() [2/3]

template<typename Exec, typename Sndr>
template<class... _Ts>
Kokkos::Execution::GraphImpl::ScheduleFromSender< Exec, 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 126 of file schedule_from.hpp.

◆ __VA_OPT__() [3/3]

template<typename Exec, typename Sndr>
template<class... _Ts>
Kokkos::Execution::GraphImpl::ScheduleFromSender< Exec, 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 126 of file schedule_from.hpp.

◆ get_completion_signatures()

template<typename Exec, typename Sndr>
template<stdexec::__decays_to< ScheduleFromSender > Self, typename... Env>
consteval auto Kokkos::Execution::GraphImpl::ScheduleFromSender< Exec, Sndr >::get_completion_signatures ( )
inlinestaticconsteval

Definition at line 108 of file schedule_from.hpp.

◆ get_env()

template<typename Exec, typename Sndr>
auto Kokkos::Execution::GraphImpl::ScheduleFromSender< Exec, Sndr >::get_env ( ) const->Kokkos::Execution::Impl::ForwardingAttributes< Sndr >
inlinenodiscardconstexprnoexcept

Definition at line 128 of file schedule_from.hpp.

References KOKKOS_EXECUTION_IMPL_FORWARDING_ATTRIBUTES_GET_ENV, and sndr.

◆ STDEXEC_PP_CAT()

template<typename Exec, typename Sndr>
template<stdexec::__decays_to< ScheduleFromSender > Self, stdexec::receiver Rcvr>
auto Kokkos::Execution::GraphImpl::ScheduleFromSender< Exec, Sndr >::STDEXEC_PP_CAT ( __static_ )
inlinestatic

Definition at line 122 of file schedule_from.hpp.

References is_nothrow_connectable_v.

Member Data Documentation

◆ is_nothrow_connectable_v

template<typename Exec, typename Sndr>
template<typename Self, typename Rcvr>
bool Kokkos::Execution::GraphImpl::ScheduleFromSender< Exec, Sndr >::is_nothrow_connectable_v
staticconstexpr
Initial value:
= std::is_nothrow_constructible_v<
decltype((std::declval<Self>().sndr)) ,
Rcvr&&
>
ContinuesOnOpState< stdexec::__copy_cvref_t< Self, Schd >, stdexec::__copy_cvref_t< Self, Sndr >, Rcvr > connect_result_t

Definition at line 114 of file schedule_from.hpp.

◆ sndr

template<typename Exec, typename Sndr>
Sndr Kokkos::Execution::GraphImpl::ScheduleFromSender< Exec, Sndr >::sndr

Definition at line 130 of file schedule_from.hpp.


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