executors_distributed¶
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
>
classdistribution_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_
, typenameEnable
= typename std::enable_if<!std::is_same<distribution_policy_executor, typename std::decay<DistPolicy_>::type>::value>::type>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
-
namespace
-
namespace