HPX - High Performance ParalleX

PrevUpHomeNext

Function get_initial_num_localities

hpx::get_initial_num_localities — Return the number of localities which were registered at startup for the running application.

Synopsis

// In header: <hpx/hpx_fwd.hpp>


boost::uint32_t get_initial_num_localities();

Description

The function get_initial_num_localities returns the number of localities which were connected to the console at application startup.

[Note] Note

As long as ec is not pre-initialized to hpx::throws this function doesn't throw but returns the result code using the parameter ec. Otherwise it throws an instance of hpx::exception.

See Also:

hpx::find_all_localities, hpx::get_num_localities


PrevUpHomeNext