Responsible for determining the home location for elements of the map container, specifically for non-discrete GID types. More...
Public Member Functions | |
| map_manager (Partition const &ps, Mapper const &map) | |
| Create a manager with a given partition and mapper. More... | |
| std::pair< location_type, loc_qual > | operator() (gid_type const &index) const |
| Compute the home / manager location of a given GID. More... | |
| std::tuple< boost::icl::interval_set< key_type >, cid_type > | range_of (gid_type const &index) const |
| Partition const & | partition () const |
| Mapper & | mapper () |
| Mapper const & | mapper () const |
Public Types | |
| typedef Partition::value_type::index_type | gid_type |
| GID of the container. | |
| typedef gid_type | key_type |
| GID of the container. | |
| typedef std::pair< gid_type, gid_type > | interval_t |
| Simple intervals of GIDs. | |
| typedef location_type | value_type |
| The result of invoking the function operator. | |
| typedef size_t | cid_type |
| Partition ID type. | |
| typedef Mapper | mapper_type |
Responsible for determining the home location for elements of the map container, specifically for non-discrete GID types.
This differs from the discrete case in that it cannot map GIDs in fixed blocks, and thus it simply uses the original partition and mapper information.
| Partitioner | Used to specify how to partition the elements. |
| Mapper | Maps the different partitions to the available locations. |
| stapl::map_manager< Partition, Mapper, bool, bool >::map_manager | ( | Partition const & | ps, |
| Mapper const & | map | ||
| ) |
Create a manager with a given partition and mapper.
| ps | The partition of the container |
| map | The mapper of the container |
| std::pair<location_type, loc_qual> stapl::map_manager< Partition, Mapper, bool, bool >::operator() | ( | gid_type const & | index | ) | const |
Compute the home / manager location of a given GID.
| index | The GID to map |
1.8.13