GrPPI  0.2
Generic and Reusable Parallel Pattern Interface
Functions
Native parallel map pattern

Native parallel implementation of Map pattern. More...

Collaboration diagram for Native parallel map pattern:

Functions

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

Detailed Description

Native parallel implementation of Map pattern.

Function Documentation

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

Invoke Map pattern on a data sequence with native paralell execution.

Template Parameters
InputItIterator type used for input sequence.
OtuputItIterator type used for the output sequence.
TransformerCallable type for the transformation operation.
Parameters
exNative parallel 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_native ex,
InputIt  first,
InputIt  last,
OutputIt  first_out,
Transformer &&  transf_op,
OtherInputIts...  more_inputs 
)

Invoke Map pattern on a data sequence with native 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
exNative parallel 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.