GrPPI  0.2
Generic and Reusable Parallel Pattern Interface
Functions
TBB parallelref md_map pattern.

TBB parallel implementation of Map pattern. More...

Collaboration diagram for TBB parallelref md_map pattern.:

Functions

template<typename InputIt , typename OutputIt , typename Transformer >
void grppi::map (parallel_execution_tbb &ex, InputIt first, InputIt last, OutputIt first_out, Transformer &&transf_op)
 Invoke Map pattern on a data sequence with TBB parallel execution. More...
 
template<typename InputIt , typename OutputIt , typename Transformer , typename... OtherInputIts>
void grppi::map (parallel_execution_tbb &ex, InputIt first, InputIt last, OutputIt first_out, Transformer &&transf_op, OtherInputIts...more_firsts)
 Invoke Map pattern on a data sequence with TBB parallel execution. More...
 

Detailed Description

TBB parallel implementation of Map pattern.

Function Documentation

template<typename InputIt , typename OutputIt , typename Transformer >
void grppi::map ( parallel_execution_tbb ex,
InputIt  first,
InputIt  last,
OutputIt  first_out,
Transformer &&  transf_op 
)

Invoke Map pattern on a data sequence with TBB parallel execution.

Template Parameters
InputItIterator type used for input sequence.
OtuputItIterator type used for the output sequence.
TransformerCallable type for the transformation operation.
Parameters
exParallel TBB execution policy object.
firstIterator to the first element in the input sequence.
lastIterator to one past the end of the input sequence.
first_outIterator to first elemento of the output sequence.
transf_opTransformation operation.
template<typename InputIt , typename OutputIt , typename Transformer , typename... OtherInputIts>
void grppi::map ( parallel_execution_tbb ex,
InputIt  first,
InputIt  last,
OutputIt  first_out,
Transformer &&  transf_op,
OtherInputIts...  more_firsts 
)

Invoke Map pattern on a data sequence with TBB parallel execution.

Template Parameters
InputItIterator type used for input sequence.
OtuputItIterator type used for the output sequence.
TransformerCallable type for the transformation operation.
OtherInputItsIterator types used for additional input sequences.
Parameters
exParallel TBB execution policy object.
firstIterator to the first element in the input sequence.
lastIterator to one past the end of the input sequence.
first_outIterator to first elemento of the output sequence.
transf_opTransformation operation.
more_firstsAdditional iterators with first elements of additional sequences.