hpx/resiliency/replicate_executor.hpp#

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

template<typename BaseExecutor, typename Voter, typename Validator>
struct is_two_way_executor<hpx::resiliency::experimental::replicate_executor<BaseExecutor, Voter, Validator>> : public true_type#
template<typename BaseExecutor, typename Voter, typename Validator>
struct is_bulk_two_way_executor<hpx::resiliency::experimental::replicate_executor<BaseExecutor, Voter, Validator>> : public true_type#
namespace hpx
namespace parallel
namespace execution
template<typename BaseExecutor, typename Voter, typename Validator> replicate_executor< BaseExecutor, Voter, Validator > > : public true_type
template<typename BaseExecutor, typename Voter, typename Validator> replicate_executor< BaseExecutor, Voter, Validator > > : public true_type
namespace resiliency
namespace experimental

Functions

template<typename BaseExecutor, typename Voter, typename Validate>
replicate_executor<BaseExecutor, typename std::decay<Voter>::type, typename std::decay<Validate>::type> make_replicate_executor(BaseExecutor &exec, std::size_t n, Voter &&voter, Validate &&validate)#
template<typename BaseExecutor, typename Validate>
replicate_executor<BaseExecutor, detail::replicate_voter, typename std::decay<Validate>::type> make_replicate_executor(BaseExecutor &exec, std::size_t n, Validate &&validate)#
template<typename BaseExecutor>
replicate_executor<BaseExecutor, detail::replicate_voter, detail::replicate_validator> make_replicate_executor(BaseExecutor &exec, std::size_t n)#
template<typename BaseExecutor, typename Vote, typename Validate>
class replicate_executor#

Public Types

using execution_category = hpx::traits::executor_execution_category_t<BaseExecutor>#
using executor_parameters_type = hpx::traits::executor_parameters_type_t<BaseExecutor>#
template<typename Result>
using future_type = hpx::traits::executor_future_t<BaseExecutor, Result>#

Public Functions

template<typename V, typename F>
inline explicit replicate_executor(BaseExecutor &exec, std::size_t n, V &&v, F &&f)#
inline bool operator==(replicate_executor const &rhs) const noexcept#
inline bool operator!=(replicate_executor const &rhs) const noexcept#
inline replicate_executor const &context() const noexcept#

Public Static Attributes

static constexpr int num_spread = 4#
static constexpr int num_tasks = 128#

Private Functions

template<typename F, typename ...Ts>
inline decltype(auto) friend tag_invoke(hpx::parallel::execution::async_execute_t, replicate_executor const &exec, F &&f, Ts&&... ts)#
template<typename F, typename S, typename ...Ts>
inline decltype(auto) friend tag_invoke(hpx::parallel::execution::bulk_async_execute_t, replicate_executor const &exec, F &&f, S const &shape, Ts&&... ts)#

Private Members

BaseExecutor &exec_#
std::size_t replicate_count_#
Vote voter_#
Validate validator_#