GrPPI  0.2
Generic and Reusable Parallel Pattern Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Functions
OpenMP parallel pipeline pattern

OpenMP parallel implementation of the Pipeline pattern. More...

Collaboration diagram for OpenMP parallel pipeline pattern:

Functions

template<typename Generator , typename... Transformers, requires_no_arguments< Generator > = 0>
void grppi::pipeline (parallel_execution_omp &ex, Generator &&generate_op, Transformers &&...transform_ops)
 Invoke Pipeline pattern on a data stream with OpenMP parallel execution. More...
 

Detailed Description

OpenMP parallel implementation of the Pipeline pattern.

Function Documentation

template<typename Generator , typename... Transformers, requires_no_arguments< Generator > = 0>
void grppi::pipeline ( parallel_execution_omp ex,
Generator &&  generate_op,
Transformers &&...  transform_ops 
)

Invoke Pipeline pattern on a data stream with OpenMP parallel execution.

Template Parameters
GeneratorCallable type for the stream generator.
TransformersCallable type for each transformation stage.
Parameters
exOpenMP parallel execution policy object.
generate_opGenerator operation.
trasnform_opsTransformation operations for each stage.
Remarks
Generator shall be a zero argument callable type.