kokkos-execution 0.0.1
Loading...
Searching...
No Matches
sender_concepts.hpp
Go to the documentation of this file.
1#ifndef KOKKOS_EXECUTION_IMPL_SENDER_CONCEPTS_HPP
2#define KOKKOS_EXECUTION_IMPL_SENDER_CONCEPTS_HPP
3
6
8
10template <typename Sndr>
11concept dispatching_sender = stdexec::sender<Sndr> && requires {
12 typename stdexec::tag_of_t<Sndr>;
13 requires stdexec::__one_of<
14 stdexec::tag_of_t<Sndr>,
15 stdexec::bulk_t,
16 stdexec::then_t,
18 >;
19};
20
21} // namespace Kokkos::Execution::Impl
22
23#endif // KOKKOS_EXECUTION_IMPL_SENDER_CONCEPTS_HPP
Concept that constrains the type of a sender that dispatches a functor for execution.
Custom algorithm for the Kokkos::parallel_for construct.