kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Tests::Utils::CheckSchedulerTypeSender< Sndr, Tag, Schd > Struct Template Reference

#include <check_scheduler_type.hpp>

Public Types

using sender_concept = stdexec::sender_t

Public Member Functions

template<stdexec::receiver Rcvr>
constexpr auto connect (Rcvr rcvr) &&noexcept(stdexec::__nothrow_connectable< Sndr &&, Rcvr && >)
template<stdexec::receiver Rcvr>
constexpr auto connect (Rcvr rcvr) const &noexcept(stdexec::__nothrow_connectable< const Sndr &, Rcvr && >)
constexpr auto get_env () const noexcept -> Kokkos::Execution::Impl::ForwardingAttributes< Sndr >

Static Public Member Functions

template<::stdexec::__decays_to< CheckSchedulerTypeSender > Self, typename... Env>
static consteval auto get_completion_signatures ()
template<stdexec::receiver Rcvr>
static consteval bool check_scheduler_type ()

Public Attributes

Sndr sndr

Detailed Description

template<stdexec::sender Sndr, typename Tag, stdexec::scheduler Schd>
struct Tests::Utils::CheckSchedulerTypeSender< Sndr, Tag, Schd >

Definition at line 38 of file check_scheduler_type.hpp.

Member Typedef Documentation

◆ sender_concept

template<stdexec::sender Sndr, typename Tag, stdexec::scheduler Schd>
using Tests::Utils::CheckSchedulerTypeSender< Sndr, Tag, Schd >::sender_concept = stdexec::sender_t

Definition at line 39 of file check_scheduler_type.hpp.

Member Function Documentation

◆ check_scheduler_type()

template<stdexec::sender Sndr, typename Tag, stdexec::scheduler Schd>
template<stdexec::receiver Rcvr>
consteval bool Tests::Utils::CheckSchedulerTypeSender< Sndr, Tag, Schd >::check_scheduler_type ( )
inlinestaticconsteval

First, try to get the completion scheduler from the sender environment.

Fallback on the receiver environment.

Definition at line 58 of file check_scheduler_type.hpp.

◆ connect() [1/2]

template<stdexec::sender Sndr, typename Tag, stdexec::scheduler Schd>
template<stdexec::receiver Rcvr>
auto Tests::Utils::CheckSchedulerTypeSender< Sndr, Tag, Schd >::connect ( Rcvr rcvr) &&
inlineconstexprnoexcept

Definition at line 46 of file check_scheduler_type.hpp.

References check_scheduler_type(), and sndr.

◆ connect() [2/2]

template<stdexec::sender Sndr, typename Tag, stdexec::scheduler Schd>
template<stdexec::receiver Rcvr>
auto Tests::Utils::CheckSchedulerTypeSender< Sndr, Tag, Schd >::connect ( Rcvr rcvr) const &
inlineconstexprnoexcept

Definition at line 52 of file check_scheduler_type.hpp.

References check_scheduler_type(), and sndr.

◆ get_completion_signatures()

template<stdexec::sender Sndr, typename Tag, stdexec::scheduler Schd>
template<::stdexec::__decays_to< CheckSchedulerTypeSender > Self, typename... Env>
consteval auto Tests::Utils::CheckSchedulerTypeSender< Sndr, Tag, Schd >::get_completion_signatures ( )
inlinestaticconsteval

Definition at line 43 of file check_scheduler_type.hpp.

◆ get_env()

template<stdexec::sender Sndr, typename Tag, stdexec::scheduler Schd>
auto Tests::Utils::CheckSchedulerTypeSender< Sndr, Tag, Schd >::get_env ( ) const->Kokkos::Execution::Impl::ForwardingAttributes< Sndr >
inlinenodiscardconstexprnoexcept

Definition at line 80 of file check_scheduler_type.hpp.

References sndr.

Member Data Documentation

◆ sndr

template<stdexec::sender Sndr, typename Tag, stdexec::scheduler Schd>
Sndr Tests::Utils::CheckSchedulerTypeSender< Sndr, Tag, Schd >::sndr

Definition at line 41 of file check_scheduler_type.hpp.


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