hpx/executors_distributed/distribution_policy_executor.hpp
hpx/executors_distributed/distribution_policy_executor.hpp#
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace hpx
-
namespace parallel
-
namespace execution
Functions
-
template<typename DistPolicy>
distribution_policy_executor<typename std::decay<DistPolicy>::type> make_distribution_policy_executor(DistPolicy &&policy)# Create a new distribution_policy_executor from the given distribution_policy.
- Parameters
policy – The distribution_policy to create an executor from
-
template<typename DistPolicy>
class distribution_policy_executor# - #include <distribution_policy_executor.hpp>
A distribution_policy_executor creates groups of parallel execution agents which execute in threads implicitly created by the executor and placed on any of the associated localities.
- Template Parameters
DistPolicy – The distribution policy type for which an executor should be created. The expression hpx::traits::is_distribution_policy<DistPolicy>::value must evaluate to true.
Public Functions
-
template<typename DistPolicy_, typename Enable = std::enable_if_t<!std::is_same_v<distribution_policy_executor, std::decay_t<DistPolicy_>>>>
inline distribution_policy_executor(DistPolicy_ &&policy)# Create a new distribution_policy executor from the given distribution policy
- Parameters
policy – The distribution_policy to create an executor from
Private Members
-
DistPolicy policy_#
-
template<typename DistPolicy>
-
namespace execution
-
namespace parallel