class fork_join_executor::shared_data
Declaration
class fork_join_executor::shared_data { /* full declaration omitted */ };Description
This struct implements the actual functionality of the executor. This is separated to allow for reference semantics of the executor.
Declared at: libs/pika/executors/include/pika/executors/fork_join_executor.hpp:75
Method Overview
- public template <typename F, typename S, typename... Ts>std::vector<pika::future<pika::parallel::execution::detail::bulk_function_result_t<F, S, Ts...>>> bulk_async_execute(F && f, const S & shape, Ts &&... ts)
- public template <typename F, typename S, typename... Ts>void bulk_sync_execute(F && f, const S & shape, Ts &&... ts)
- public shared_data(threads::thread_priority priority, threads::thread_stacksize stacksize, pika::execution::experimental::fork_join_executor::loop_schedule schedule, std::chrono::nanoseconds yield_delay)
- public ~shared_data()
Methods
template <typename F, typename S, typename... Ts>
std::vector<pika::future<
pika::parallel::execution::detail::
bulk_function_result_t<F, S, Ts...>>>
bulk_async_execute(F&& f,
const S& shape,
Ts&&... ts)
template <typename F, typename S, typename... Ts>
std::vector<pika::future<
pika::parallel::execution::detail::
bulk_function_result_t<F, S, Ts...>>>
bulk_async_execute(F&& f,
const S& shape,
Ts&&... ts)Declared at: libs/pika/executors/include/pika/executors/fork_join_executor.hpp:578
Parameters
- F&& f
- const S& shape
- Ts&&... ts
template <typename F, typename S, typename... Ts>
void bulk_sync_execute(F&& f,
const S& shape,
Ts&&... ts)
template <typename F, typename S, typename... Ts>
void bulk_sync_execute(F&& f,
const S& shape,
Ts&&... ts)Declared at: libs/pika/executors/include/pika/executors/fork_join_executor.hpp:540
Parameters
- F&& f
- const S& shape
- Ts&&... ts
shared_data(threads::thread_priority priority,
threads::thread_stacksize stacksize,
pika::execution::experimental::
fork_join_executor::loop_schedule
schedule,
std::chrono::nanoseconds yield_delay)
shared_data(threads::thread_priority priority,
threads::thread_stacksize stacksize,
pika::execution::experimental::
fork_join_executor::loop_schedule
schedule,
std::chrono::nanoseconds yield_delay)Declared at: libs/pika/executors/include/pika/executors/fork_join_executor.hpp:314
Parameters
- threads::thread_priority priority
- threads::thread_stacksize stacksize
- pika::execution::experimental:: fork_join_executor::loop_schedule schedule
- std::chrono::nanoseconds yield_delay
~shared_data()
~shared_data()Declared at: libs/pika/executors/include/pika/executors/fork_join_executor.hpp:333