A mapper for mapping the result ids from the child skeleton to parent skeleton, for default case given the coordination of producer task, it will map to the new coordination in parent dimension. More...
Public Member Functions | |
void | set_direction (dir_t dir) |
void | set_dimensions (index_type const &cur_coord, index_type const &cur_dimension, index_type const &parent_dimension, index_type const &task_dimension) |
std::size_t | operator() (std::size_t idx) const |
template<typename Op , typename LevelDims > | |
void | compute_result_ids (Op &&op, LevelDims &&level_dims) |
bool | should_flow (std::size_t result_id) const |
should_flow_t | get_should_flow () const |
std::vector< std::size_t > | get_result_ids () const |
A mapper for mapping the result ids from the child skeleton to parent skeleton, for default case given the coordination of producer task, it will map to the new coordination in parent dimension.
Dim | dimension of skeleton |