kokkos-execution 0.0.1
Loading...
Searching...
No Matches
just_stopped.hpp
Go to the documentation of this file.
1#ifndef KOKKOS_EXECUTION_TESTS_UTILS_JUST_STOPPED_HPP
2#define KOKKOS_EXECUTION_TESTS_UTILS_JUST_STOPPED_HPP
3
5
7
8namespace Tests::Utils {
9
10template <typename SchedulerType, typename Tag, typename... Args>
12 using sndr_t =
13 decltype(stdexec::just_stopped() | stdexec::continues_on(std::declval<SchedulerType>()) | Tag{}(std::declval<Args>()...));
14
15 static_assert(Tests::Utils::has_completion_signatures<sndr_t, stdexec::__mset<stdexec::set_stopped_t()>>);
16
17 static_assert(
18 Tests::Utils::has_completion_signatures<sndr_t, stdexec::__mset<stdexec::set_stopped_t()>, stdexec::env<>>);
19
22
23 return true;
24}
25
26} // namespace Tests::Utils
27
28#endif // KOKKOS_EXECUTION_TESTS_UTILS_JUST_STOPPED_HPP
consteval bool check_continues_on_after_just_stopped()