kokkos-execution 0.0.1
Loading...
Searching...
No Matches
continues_on.hpp
Go to the documentation of this file.
1#ifndef KOKKOS_EXECUTION_IMPL_CONTINUES_ON_HPP
2#define KOKKOS_EXECUTION_IMPL_CONTINUES_ON_HPP
3
8
10
11template <typename InnerOp, typename ExecTo>
14};
15
16template <typename InnerOp, typename ExecTo>
21
22template <typename InnerOp, typename ExecTo>
24
26template <typename InnerOp, typename ExecTo>
27using optional_dependency_for_t = std::conditional_t<
30 std::optional<dependency_for_t<InnerOp, ExecTo>>
31>;
32
33template <typename InnerOp, typename ExecTo, typename Rcvr>
34concept signals_submitted = Impl::signals_submitted<InnerOp> && std::same_as<ExecTo, Impl::exec_of_t<InnerOp>>
36
37template <typename InnerOp, typename ExecTo, typename Rcvr>
38using completion_signal_policy_t = std::conditional_t<
42>;
43
44} // namespace Kokkos::Execution::Impl::ContinuesOn
45
46#endif // KOKKOS_EXECUTION_IMPL_CONTINUES_ON_HPP
std::conditional_t< Impl::empty< dependency_for_t< InnerOp, ExecTo > >, Impl::Empty, std::optional< dependency_for_t< InnerOp, ExecTo > > > optional_dependency_for_t
If no dependency is needed, return Impl::Empty so that [[no_unique_address]] can be used.
typename DependencyFor< InnerOp, ExecTo >::type dependency_for_t
std::conditional_t< ContinuesOn::signals_submitted< InnerOp, ExecTo, Rcvr >, Impl::SubmittedPolicy::OrderOnExec, Impl::SyncPolicy::InlineFenceExec > completion_signal_policy_t
Impl::Dependency< ExecTo, Impl::exec_of_t< InnerOp > > type
This is the default implementation.