hpx/executors/execution_policy_parameters.hpp#
Defined in header hpx/executors/execution_policy_parameters.hpp.
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace hpx
-
namespace execution
-
namespace experimental
Functions
- template<execution_policy ExPolicy> HPX_CXX_EXPORT requires (std::invocable< with_processing_units_count_t, typename std::decay_t< ExPolicy >::executor_type, std::size_t >) const expr decltype(auto) tag_invoke(with_processing_units_count_t
- return create_rebound_policy (policy, HPX_MOVE(exec), policy.parameters())
- template<execution_policy ExPolicy, executor_parameters Params> HPX_CXX_EXPORT requires (std::invocable< with_processing_units_count_t, typename std::decay_t< ExPolicy >::executor_type, std::size_t > &&std::invocable< processing_units_count_t, std::decay_t< Params >, typename std::decay_t< ExPolicy >::executor_type, hpx::chrono::steady_duration const &, std::size_t >) const expr decltype(auto) tag_invoke(with_processing_units_count_t
- template<typename ParametersProperty, execution_policy ExPolicy, executor_parameters Params> constexpr decltype(auto) HPX_CXX_EXPORT tag_fallback_invoke (ParametersProperty, ExPolicy &&policy, Params &¶ms)
-
template<typename ParametersProperty, typename ExPolicy, typename ...Ts>
constexpr HPX_CXX_EXPORT auto tag_fallback_invoke(ParametersProperty prop, ExPolicy &&policy, Ts&&... ts) -> decltype(std::declval<ParametersProperty>()(std::declval<typename std::decay_t<ExPolicy>::executor_type>(), std::declval<Ts>()...))#
Variables
- HPX_CXX_EXPORT ExPolicy && policy {return tag(policy.executor())
- HPX_CXX_EXPORT ExPolicy std::size_t num_cores {auto exec = with_processing_units_count(policy.executor(), num_cores)
- HPX_CXX_EXPORT ExPolicy Params && params {auto exec = with_processing_units_count(policy.executor(),processing_units_count(params, policy.executor(), hpx::chrono::null_duration, 0))
-
namespace experimental
-
namespace execution