1#ifndef KOKKOS_EXECUTION_EXECUTION_SPACE_BULK_HPP
2#define KOKKOS_EXECUTION_EXECUTION_SPACE_BULK_HPP
16 template <
typename Env,
typename Data,
typename Sndr>
22 Kokkos::RangePolicy<Impl::exec_of_t<Sndr, Env>>
25 template <
typename Env, Kokkos::Execution::Impl::has_parallel_policy Data,
typename Sndr>
26 requires stdexec::__sends<stdexec::set_value_t, Sndr, Env>
32 noexcept(std::is_nothrow_constructible_v<
38 auto& [parallel_policy, shape, functor] = data;
40 auto schd = stdexec::get_completion_scheduler<stdexec::set_value_t>(stdexec::get_env(sndr), env);
44 stdexec::__forward_like<Data>(functor),
45 Kokkos::RangePolicy<Impl::exec_of_t<Sndr, Env>>(schd.state->exec, 0, shape)}},
46 std::forward<Sndr>(sndr)};
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...
BulkTraits< std::remove_cvref_t< Data > > bulk_traits
consteval std::string_view dispatch_label() noexcept
View the dispatch label as a std::string_view.
ParallelForClosure< Label, Functor, ExecPolicy > closure_t