Define key to location mapping strategy used in the directory class based on the location of view element that the task is consuming from. If the task is not consuming from from a view element we use the default_key_mapper
.
More...
|
| skeleton_loc_mapper (domain_type const &dom, Mapper const &mapper=Mapper()) |
|
std::pair< location_type, loc_qual > | operator_helper (std::true_type, std::size_t tid) const |
|
std::pair< location_type, loc_qual > | operator_helper (std::false_type, std::size_t tid) const |
|
std::pair< location_type, loc_qual > | operator() (std::size_t tid) const |
|
void | set_num_locations (size_t nlocs) |
|
constexpr bool | is_perfect_mapper (void) const |
|
std::pair< location_type, loc_qual > | operator() (std::size_t const &key) const |
| Map key value to a location in this space. More...
|
|
template<typename Domain, typename Mapper = stapl::use_default>
class stapl::skeletons::skeleton_loc_mapper< Domain, Mapper >
Define key to location mapping strategy used in the directory class based on the location of view element that the task is consuming from. If the task is not consuming from from a view element we use the default_key_mapper
.
- Template Parameters
-
Domain | the domain type of the view that is used for location mapping. |
Mapper | location mapper type |
◆ operator()()
Map key value to a location in this space.
- Parameters
-
- Returns
- location identifier
The documentation for this class was generated from the following file: