hpx/executors/parallel_executor_aggregated.hpp#

See Public API for a list of names and headers that are part of the public HPX API.

template<>
struct hpx::parallel::execution::parallel_policy_executor_aggregated<hpx::launch>#

Public Types

using execution_category = hpx::execution::parallel_execution_tag#

Associate the parallel_execution_tag executor tag type as a default with this executor.

using executor_parameters_type = hpx::execution::static_chunk_size#

Associate the static_chunk_size executor parameters type as a default with this executor.

Public Functions

inline explicit constexpr parallel_policy_executor_aggregated(hpx::launch l = hpx::launch::async_policy{}, std::size_t spread = 4, std::size_t tasks = std::size_t(-1))#

Create a new parallel executor.

template<typename F, typename S, typename ...Ts>
inline auto bulk_async_execute(F &&f, S const &shape, Ts&&... ts) const#
namespace hpx
namespace parallel
namespace execution

Typedefs

using parallel_executor_aggregated = parallel_policy_executor_aggregated<hpx::launch::async_policy>#
template<typename Policy = hpx::launch::async_policy>
struct parallel_policy_executor_aggregated#
#include <parallel_executor_aggregated.hpp>

A parallel_executor_aggregated creates groups of parallel execution agents that execute in threads implicitly created by the executor. This executor prefers continuing with the creating thread first before executing newly created threads.

This executor conforms to the concepts of a TwoWayExecutor, and a BulkTwoWayExecutor

Public Types

using execution_category = hpx::execution::parallel_execution_tag#

Associate the parallel_execution_tag executor tag type as a default with this executor.

using executor_parameters_type = hpx::execution::static_chunk_size#

Associate the static_chunk_size executor parameters type as a default with this executor.

Public Functions

inline explicit constexpr parallel_policy_executor_aggregated(std::size_t spread = 4, std::size_t tasks = std::size_t(-1))#

Create a new parallel executor.

template<typename F, typename S, typename ...Ts>
inline std::vector<hpx::future<void>> bulk_async_execute(F &&f, S const &shape, Ts&&... ts) const#
template<> launch >

Public Types

using execution_category = hpx::execution::parallel_execution_tag#

Associate the parallel_execution_tag executor tag type as a default with this executor.

using executor_parameters_type = hpx::execution::static_chunk_size#

Associate the static_chunk_size executor parameters type as a default with this executor.

Public Functions

inline explicit constexpr parallel_policy_executor_aggregated(hpx::launch l = hpx::launch::async_policy{}, std::size_t spread = 4, std::size_t tasks = std::size_t(-1))#

Create a new parallel executor.

template<typename F, typename S, typename ...Ts>
inline auto bulk_async_execute(F &&f, S const &shape, Ts&&... ts) const#