kokkos-execution 0.0.1
Loading...
Searching...
No Matches
sender_introspection.hpp
Go to the documentation of this file.
1#ifndef KOKKOS_EXECUTION_IMPL_SENDER_INTROSPECTION_HPP
2#define KOKKOS_EXECUTION_IMPL_SENDER_INTROSPECTION_HPP
3
5
7
17template <typename Tag, stdexec::sender Sndr, typename... Env>
19 std::invoke_result_t<stdexec::get_completion_scheduler_t<Tag>, stdexec::env_of_t<Sndr>, Env...>;
20
22template <typename Sndr, typename... Env>
23using exec_of_t = typename completion_scheduler_of_t<stdexec::set_value_t, Sndr, Env...>::execution_space;
24
25} // namespace Kokkos::Execution::Impl
26
27#endif // KOKKOS_EXECUTION_IMPL_SENDER_INTROSPECTION_HPP
typename completion_scheduler_of_t< stdexec::set_value_t, Sndr, Env... >::execution_space exec_of_t
Type of the execution space extracted from a sender's completion scheduler.
std::invoke_result_t< stdexec::get_completion_scheduler_t< Tag >, stdexec::env_of_t< Sndr >, Env... > completion_scheduler_of_t
Retrieve the completion scheduler for a given completion tag.
Kokkos::DefaultExecutionSpace execution_space