Workfunction that is one possible algorithmic coarsening of the nested skeleton map_func(functional::map_reduce(), ...). More...
Classes | |
struct | map_wf |
Coarsened binary workfunction which is map operator for m_mr_transform_wf. More... | |
struct | reduce_wf |
Coarsened binary reduction workfunction defined for result type of map_wf. More... | |
Public Member Functions | |
template<typename V0 , typename V1 > | |
result_type | operator() (V0 &mat_columns, V1 &vector_piece) const |
Function operator. More... | |
Public Types | |
typedef std::vector< double > * | result_type |
Workfunction that is one possible algorithmic coarsening of the nested skeleton map_func(functional::map_reduce(), ...).
Transforms the fine grain specification into a map_reduce operating on a transposed version of the input two dimensional array view, with custom coarsened map and reduce workfunctions.
Implemented with matrix vector multiplication as driving example.
result_type stapl::composition::m_mr_transform_wf::operator() | ( | V0 & | mat_columns, |
V1 & | vector_piece | ||
) | const |
Function operator.
mat_columns | A two dimensional array view. |
vector_piece | A one dimensional array view. |
map_reduce
operation.