Work function that implements the coarsened map reduce operation and uses the struct result to determine the result_type because the fine-grain reduce operation does not reflect a result_type. More...
Classes | |
struct | result< coarse_map_reduce_wf(V...)> |
Compute the type of result of the operation for the given view types. 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. | |
Work function that implements the coarsened map reduce operation and uses the struct result to determine the result_type because the fine-grain reduce operation does not reflect a result_type.