Work function that implements the coarsened map reduce operation and reflects the result_type defined by the fine-grain reduce operation. More...
Public Member Functions | |
coarse_map_reduce_wf (Map const &fmap, Reduce const &freduce) | |
template<typename R , typename IterComp , typename ... Iter> | |
R | apply (IterComp &iter_compare, Iter... iter) |
template<typename R , typename Scheduler , typename IterComp , typename ... Iter> | |
R | apply (paragraph_impl::paragraph_view< Scheduler > &tgv, IterComp &iter_compare, Iter... iter) |
template<typename V0 , typename... V> | |
boost::result_of< Reduce(typename boost::result_of< Map(typename V0::reference, typename V::reference...)>::type, typename boost::result_of< Map(typename V0::reference, typename V::reference...)>::type) >::type | operator() (V0 &view0, V &... view) |
Function operator signatures for different number of views. The map operation is applied to sets of elements, one from each view, where the elements of a set all have the same offset from the start of their respective view. | |
template<typename Scheduler , typename V0 , typename... V> | |
boost::result_of< Reduce(typename boost::result_of< Map(paragraph_impl::paragraph_view< Scheduler >, typename V0::reference, typename V::reference...)>::type, typename boost::result_of< Map(paragraph_impl::paragraph_view< Scheduler >, typename V0::reference, typename V::reference...)>::type) >::type | operator() (paragraph_impl::paragraph_view< Scheduler > &tgv, V0 &view0, V &... view) |
Function operator signatures for different number of views. The map operation is applied to sets of elements, one from each view, where the elements of a set all have the same offset from the start of their respective view. | |
Public Types | |
typedef Reduce::result_type | result_type |
Work function that implements the coarsened map reduce operation and reflects the result_type defined by the fine-grain reduce operation.