Specialization of the coarsened map-reduce operation for stapl::logical_or as the reduce operation. If the fine-grain map operation returns true the coarsened operation returns true immediately without applying the map operation to the remaining sets of elements from the views.
More...
|
| cmr_base (Map const &fmap, ::stapl::logical_or< bool > const &freduce) |
|
template<typename IterComp , typename ... Iter> |
bool | apply (IterComp &iter_compare, Iter... iter) |
|
template<typename V0 , typename... V> |
bool | 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.
|
|
|
::stapl::logical_or< bool > & | wf () |
| Return reference to wrapped workfunction instance.
|
|
template<typename Map>
struct stapl::cmr_base< Map, ::stapl::logical_or< bool > >
Specialization of the coarsened map-reduce operation for stapl::logical_or as the reduce operation. If the fine-grain map operation returns true the coarsened operation returns true immediately without applying the map operation to the remaining sets of elements from the views.
- Template Parameters
-
Map | Type of the fine-grain map operation. |
The documentation for this struct was generated from the following file: