kokkos-execution 0.0.1
Loading...
Searching...
No Matches
completion_signatures.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  Kokkos
namespace  Kokkos::Execution
namespace  Kokkos::Execution::Impl

Macros

#define KOKKOS_EXECUTION_COMPL_SIGS_ADD(_decayed_self_type_, _sndr_type_, ...)
#define KOKKOS_EXECUTION_COMPL_SIGS_KEEP(_decayed_self_type_, _sndr_type_)

Typedefs

template<stdexec::sender Sndr, stdexec::__valid_completion_signatures ExtraSigs, typename... Env>
using Kokkos::Execution::Impl::completion_signatures_add_t = decltype(completion_signatures_add<Sndr, ExtraSigs, Env...>())

Functions

template<stdexec::sender Sndr, stdexec::__valid_completion_signatures ExtraSigs, typename... Env>
consteval auto Kokkos::Execution::Impl::completion_signatures_add ()
 Concatenate Sndr completion signatures with ExtraSigs if Sndr sends on the value channel; otherwise return Sndr completion signatures unchanged.

Macro Definition Documentation

◆ KOKKOS_EXECUTION_COMPL_SIGS_ADD

#define KOKKOS_EXECUTION_COMPL_SIGS_ADD ( _decayed_self_type_,
_sndr_type_,
... )
Value:
template <stdexec::__decays_to<_decayed_self_type_> Self, typename... Env> \
static consteval auto get_completion_signatures() { \
stdexec::__copy_cvref_t<Self, _sndr_type_>, \
stdexec::completion_signatures<__VA_ARGS__>, \
Env... \
>(); \
}
consteval auto completion_signatures_add()
Concatenate Sndr completion signatures with ExtraSigs if Sndr sends on the value channel; otherwise r...

Definition at line 32 of file completion_signatures.hpp.

◆ KOKKOS_EXECUTION_COMPL_SIGS_KEEP

#define KOKKOS_EXECUTION_COMPL_SIGS_KEEP ( _decayed_self_type_,
_sndr_type_ )
Value:
template <stdexec::__decays_to<_decayed_self_type_> Self, typename... Env> \
static consteval auto get_completion_signatures() { \
return stdexec::__completion_signatures_of_t<stdexec::__copy_cvref_t<Self, _sndr_type_>, Env...>{}; \
}

Definition at line 43 of file completion_signatures.hpp.