GrPPI  0.2
Generic and Reusable Parallel Pattern Interface
Modules | Functions
Farm pattern

Interface for applyinng the Farm pattern. More...

Collaboration diagram for Farm pattern:

Modules

 Native parallel farm pattern
 Sequential implementation of the Farm pattern.
 
 OpenMP parallel farm pattern
 OpenMP implementation of the Farm pattern.
 
 Polymorphic execution farm pattern
 Polymorphic execution implementation of the Farm pattern.
 
 Sequential farm pattern
 Sequential implementation of the Farm pattern.
 
 TBB parallel farm pattern
 TBB parallel implementation of the Farm pattern.
 

Functions

template<typename Execution , typename Transformer >
auto grppi::farm (Execution &ex, Transformer &&transform_op)
 Invoke Farm pattern on a data stream that can be composed in other streaming patterns. More...
 

Detailed Description

Interface for applyinng the Farm pattern.

Function Documentation

template<typename Execution , typename Transformer >
auto grppi::farm ( Execution &  ex,
Transformer &&  transform_op 
)

Invoke Farm pattern on a data stream that can be composed in other streaming patterns.

Template Parameters
ExecutionExecution policy type.
TransformerCallable type for the transformation operation.
Parameters
exExecution policy object.
transform_opTransformer operation.