Computes an identity mapping of ids to partitions.
More...
|
Index | operator() (GID id) const |
|
std::pair< GID, GID > | domain (Index pid) const |
|
void | update (std::vector< std::tuple< std::pair< ContainerGID, ContainerGID >, CID, location_type >> const &, size_t) |
|
|
typedef GID | gid_type |
| Type of the id being mapped into partitions. Required by Core.
|
|
typedef Index | index_type |
| Type of the partition id. Required by Core.
|
|
template<typename GID, typename Index = GID, typename ContainerGID = GID, typename CID = unsigned long int>
struct stapl::identity_map< GID, Index, ContainerGID, CID >
Computes an identity mapping of ids to partitions.
The struct is used to implement view-based specifications of balanced distributions. The implementation assumes an instance of the GID is convertible to Index.
The documentation for this struct was generated from the following file:
- specification_functors.hpp