HPX

PrevUpHomeNext

Header <hpx/lcos/gather.hpp>


HPX_REGISTER_GATHER_DECLARATION(type, name)
HPX_REGISTER_GATHER(type, name)
namespace hpx {
  namespace lcos {
    template<typename T> 
      hpx::future< std::vector< T > > 
      gather_here(char const *, hpx::future< T >, 
                  std::size_t = std::size_t(-1), 
                  std::size_t = std::size_t(-1), 
                  std::size_t = std::size_t(-1));
    template<typename T> 
      hpx::future< void > 
      gather_there(char const *, hpx::future< T >, 
                   std::size_t = std::size_t(-1), std::size_t = 0, 
                   std::size_t = std::size_t(-1));
    template<typename T> 
      hpx::future< std::vector< typename std::decay< T >::type > > 
      gather_here(char const *, T &&, std::size_t = std::size_t(-1), 
                  std::size_t = std::size_t(-1), 
                  std::size_t = std::size_t(-1));
    template<typename T> 
      hpx::future< void > 
      gather_there(char const *, T &&, std::size_t = std::size_t(-1), 
                   std::size_t = 0, std::size_t = std::size_t(-1));
  }
}

PrevUpHomeNext