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

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

Collaboration diagram for OpenMP parallel map pattern.:

Functions

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

Detailed Description

OpenMP parallel implementation of the Map pattern.

Function Documentation

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

Invoke Map pattern on a data sequence with OpenMP 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 OpenMP 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_omp ex,
InputIt  first,
InputIt  last,
OutputIt  first_out,
Transformer &&  transf_op,
OtherInputIts...  more_firsts 
)

Invoke Map pattern on a data sequence with OpenMP 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 OpenMP 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.
opTransformation operation.
more_firstsAdditional iterators with first elements of additional sequences.