STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Private Member Functions
stapl::cmr_base< Map, ::stapl::logical_or< bool > > Struct Template Reference

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...

Public Member Functions

 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.
 

Private Member Functions

::stapl::logical_or< bool > & wf ()
 Return reference to wrapped workfunction instance.
 

Detailed Description

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
MapType of the fine-grain map operation.

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