Container that represents the set of locations in the system. More...
Public Member Functions | |
system_container (location_type nlocs) | |
system_container (level const &lvl) | |
system_container (std::vector< location_type > const &locs) | |
distribution_type & | distribution (void) |
value_type | get_element (gid_type const &index) |
const_reference | operator[] (gid_type const &index) |
const_reference | make_reference (gid_type const &index) |
Returns a reference to the element indexed. More... | |
size_t | size (void) const |
bool | explicit_locs (void) const |
bool | level_specified (void) const |
level | level_spec (void) const |
domain_type | domain (void) const |
p_object const & | group (void) |
Create a gang representing the locations this system container instance refers to, on demand and return a reference to an p_object in that communication group, so that other p_objects can be initialized within it by utilizing gang switching. | |
template<typename F > | |
F::result_type | apply_get (gid_type const &gid, F const &f) const |
Public Types | |
typedef location_type | value_type |
typedef proxy< location_type, trivial_accessor< location_type > > | reference |
typedef reference | const_reference |
typedef domset1D< location_type > | domain_type |
typedef location_type | gid_type |
typedef unsigned int | cid_type |
typedef system_container_distribution | distribution_type |
typedef metadata::generator_extractor< system_container > | loc_dist_metadata |
Container that represents the set of locations in the system.
The identity_container was considered as an alternative to this implementation, but lacked the finite size required to represent the finite set of locations being used to execute an application.
const_reference stapl::dist_view_impl::system_container::make_reference | ( | gid_type const & | index | ) |
Returns a reference to the element indexed.
index | of element to return |