GrPPI
1.0
Generic and Reusable Parallel Pattern Interface
|
Interface for applyinng the Stencil pattern. More...
Functions | |
template<typename Execution , typename ... InputIterators, typename OutputIt , typename StencilTransformer , typename Neighbourhood , requires_iterators< InputIterators... > = 0, requires_iterator< OutputIt > = 0> | |
void | grppi::stencil (const Execution &ex, std::tuple< InputIterators... > firsts, std::size_t size, OutputIt out, StencilTransformer &&transform_op, Neighbourhood &&neighbour_op) |
Invoke Stencil pattern on a data sequence with sequential execution. More... | |
template<typename Execution , typename ... InputIterators, typename InputIt , typename OutputIt , typename StencilTransformer , typename Neighbourhood , requires_iterators< InputIterators... > = 0, requires_iterator< InputIt > = 0, requires_iterator< OutputIt > = 0> | |
void | grppi::stencil (const Execution &ex, std::tuple< InputIterators... > firsts, InputIt last, OutputIt out, StencilTransformer &&transform_op, Neighbourhood &&neighbour_op) |
Invoke Stencil pattern on a data sequence with sequential execution. More... | |
template<typename Execution , typename InputIt , typename OutputIt , typename StencilTransformer , typename Neighbourhood , requires_iterator< InputIt > = 0, requires_iterator< OutputIt > = 0> | |
void | grppi::stencil (const Execution &ex, InputIt first, InputIt last, OutputIt out, StencilTransformer &&transform_op, Neighbourhood &&neighbour_op) |
Invoke Stencil pattern on a data sequence with sequential execution. More... | |
template<typename Execution , typename InputIt , typename OutputIt , typename StencilTransformer , typename Neighbourhood , typename ... OtherInputIts, requires_iterator< InputIt > = 0, requires_iterator< OutputIt > = 0> | |
void | grppi::stencil (const Execution &ex, InputIt first, InputIt last, OutputIt out, StencilTransformer &&transform_op, Neighbourhood &&neighbour_op, OtherInputIts ... other_firsts) |
Invoke Stencil pattern on multiple data sequences with sequential execution. More... | |
Interface for applyinng the Stencil pattern.
void grppi::stencil | ( | const Execution & | ex, |
InputIt | first, | ||
InputIt | last, | ||
OutputIt | out, | ||
StencilTransformer && | transform_op, | ||
Neighbourhood && | neighbour_op | ||
) |
Invoke Stencil pattern on a data sequence with sequential execution.
Execution | Execution type. |
InputIt | Iterator type used for the input sequence. |
OutputIt | Iterator type used for the output sequence |
Neighbourhood | Callable type for obtaining the neighbourhood. |
StencilTransformer | Callable type for performing the stencil transformation. |
ex | Execution policy object. |
first | Iterator to the first element in the input sequence. |
last | Iterator to one past the end of the input sequence. |
out | Iterator to the first element in the output sequence. |
transform_op | Stencil transformation operation. |
neighbour_op | Neighbourhood operation. |
void grppi::stencil | ( | const Execution & | ex, |
InputIt | first, | ||
InputIt | last, | ||
OutputIt | out, | ||
StencilTransformer && | transform_op, | ||
Neighbourhood && | neighbour_op, | ||
OtherInputIts ... | other_firsts | ||
) |
Invoke Stencil pattern on multiple data sequences with sequential execution.
Execution | Execution type. |
InputIt | Iterator type used for the input sequence. |
OutputIt | Iterator type used for the output sequence |
Neighbourhood | Callable type for obtaining the neighbourhood. |
StencilTransformer | Callable type for performing the stencil transformation. |
OtherInputIts | Iterator types for additional input sequences. |
ex | Execution policy object. |
first | Iterator to the first element in the input sequence. |
last | Iterator to one past the end of the input sequence. |
out | Iterator to the first element in the output sequence. |
transform_op | Stencil transformation operation. |
neighbour_op | Neighbourhood operation. |
other_firsts | Iterators to the first element of additional input sequences. |
void grppi::stencil | ( | const Execution & | ex, |
std::tuple< InputIterators... > | firsts, | ||
InputIt | last, | ||
OutputIt | out, | ||
StencilTransformer && | transform_op, | ||
Neighbourhood && | neighbour_op | ||
) |
Invoke Stencil pattern on a data sequence with sequential execution.
Execution | Execution type. |
InputIterators | Iterators types used for the input sequences. |
InputIt | Iterator type used for the input sequence. |
OutputIt | Iterator type used for the output sequence |
StencilTransformer | Callable type for performing the stencil transformation. |
Neighbourhood | Callable type for obtaining the neighbourhood. |
ex | Execution policy object. |
firsts | Tuple of iterator to the first elements of the input sequences. |
last | Iterator to one past the end of the input sequence. |
out | Iterator to the first element in the output sequence. |
transform_op | Stencil transformation operation. |
neighbour_op | Neighbourhood operation. |
void grppi::stencil | ( | const Execution & | ex, |
std::tuple< InputIterators... > | firsts, | ||
std::size_t | size, | ||
OutputIt | out, | ||
StencilTransformer && | transform_op, | ||
Neighbourhood && | neighbour_op | ||
) |
Invoke Stencil pattern on a data sequence with sequential execution.
Execution | Execution type. |
InputIterators | Iterators types used for the input sequences. |
OutputIt | Iterator type used for the output sequence |
StencilTransformer | Callable type for performing the stencil transformation. |
Neighbourhood | Callable type for obtaining the neighbourhood. |
ex | Execution policy object. |
firsts | Tuple of iterator to the first elements of the input sequences. |
size | Size of the input sequence to be proccess. |
out | Iterator to the first element in the output sequence. |
transform_op | Stencil transformation operation. |
neighbour_op | Neighbourhood operation. |