HPX

PrevUpHomeNext

Header <hpx/runtime/get_num_localities.hpp>

namespace hpx {
  std::uint32_t get_initial_num_localities();
  lcos::future< std::uint32_t > get_num_localities();
  std::uint32_t get_num_localities(launch::sync_policy, error_code & = throws);
  lcos::future< std::uint32_t > get_num_localities(components::component_type);
  std::uint32_t 
  get_num_localities(launch::sync_policy, components::component_type, 
                     error_code & = throws);
}

PrevUpHomeNext