1#ifndef KOKKOS_EXECUTION_EXECUTION_SPACE_SENDER_CONCEPTS_HPP
2#define KOKKOS_EXECUTION_EXECUTION_SPACE_SENDER_CONCEPTS_HPP
11template <
typename Sndr,
typename... Env>
14 && stdexec::__is_instance_of<
15 std::invoke_result_t<stdexec::get_completion_scheduler_t<stdexec::set_value_t>, stdexec::env_of_t<Sndr>, Env...>,
19template <
typename Sndr,
typename... Env>
22struct CANNOT_DISPATCH_THIS_ALGORITHM_TO_THE_EXECUTION_SPACE_SCHEDULER;
23struct BECAUSE_THERE_IS_NO_EXECUTION_SPACE_SCHEDULER_IN_THE_ENVIRONMENT;
30template <
typename Tag,
typename Sndr,
typename... Env>
32 return stdexec::__not_a_sender<
33 stdexec::_WHAT_(CANNOT_DISPATCH_THIS_ALGORITHM_TO_THE_EXECUTION_SPACE_SCHEDULER),
34 stdexec::_WHY_(BECAUSE_THERE_IS_NO_EXECUTION_SPACE_SCHEDULER_IN_THE_ENVIRONMENT),
35 stdexec::_WHERE_(stdexec::_IN_ALGORITHM_, Tag),
36 stdexec::_WITH_PRETTY_SENDER_<Sndr>,
37 stdexec::_WITH_ENVIRONMENT_(Env...)
Concept for a sender whose completion scheduler is Kokkos::Execution::ExecutionSpaceImpl::Scheduler.
auto no_execution_space_scheduler_in_env() noexcept
Show a better compile diagnostic when there is no Kokkos::Execution::ExecutionSpaceImpl::Scheduler fo...
Scheduler for a Kokkos execution space.