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

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

Collaboration diagram for TBB parallel pipeline pattern:

Functions

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

Detailed Description

TBB parallel implementation of the Pipeline pattern.

Function Documentation

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

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

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