OpenMP parallel implementation of the Map pattern.
More...
|
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...
|
|
OpenMP parallel implementation of the Map pattern.
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
-
InputIt | Iterator type used for input sequence. |
OtuputIt | Iterator type used for the output sequence. |
Transformer | Callable type for the transformation operation. |
- Parameters
-
ex | Parallel OpenMP execution policy object |
first | Iterator to the first element in the input sequence. |
last | Iterator to one past the end of the input sequence. |
first_out | Iterator to first elemento of the output sequence. |
transf_op | Transformation 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
-
InputIt | Iterator type used for input sequence. |
OtuputIt | Iterator type used for the output sequence. |
Transformer | Callable type for the transformation operation. |
OtherInputIts | Iterator types used for additional input sequences. |
- Parameters
-
ex | Parallel OpenMP execution policy object |
first | Iterator to the first element in the input sequence. |
last | Iterator to one past the end of the input sequence. |
first_out | Iterator to first elemento of the output sequence. |
op | Transformation operation. |
more_firsts | Additional iterators with first elements of additional sequences. |