STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions
stapl::skeletons::default_output_to_output_mapper< Dim > Class Template Reference

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
 

Detailed Description

template<int Dim>
class stapl::skeletons::default_output_to_output_mapper< Dim >

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.

Template Parameters
Dimdimension of skeleton

The documentation for this class was generated from the following file: