HPX - High Performance ParalleX

PrevUpHomeNext

Header <hpx/lcos/broadcast.hpp>

namespace hpx {
  namespace lcos {
    template<typename Action, typename ArgN, ... > 
      hpx::future< std::vector< decltype(Action(hpx::id_type, ArgN,...))> > 
      broadcast(std::vector< hpx::id_type > const &, ArgN, ...);
    template<typename Action, typename ArgN, ... > 
      void broadcast_apply(std::vector< hpx::id_type > const &, ArgN, ...);
    template<typename Action, typename ArgN, ... > 
      hpx::future< std::vector< decltype(Action(hpx::id_type, ArgN,..., std::size_t))> > 
      broadcast_with_index(std::vector< hpx::id_type > const &, ArgN, ...);
    template<typename Action, typename ArgN, ... > 
      void broadcast_apply_with_index(std::vector< hpx::id_type > const &, 
                                      ArgN, ...);
  }
}

PrevUpHomeNext