GrPPI  1.0
Generic and Reusable Parallel Pattern Interface
Functions

Interface for defining a new Context to run a given function or pattern. More...

Collaboration diagram for Context:

Functions

template<typename ExecutionPolicy , typename Transformer >
auto grppi::run_with (ExecutionPolicy &ex, Transformer &&transform_op)
 Define a new Context on a data stream that can be composed in other streaming patterns. More...
 

Detailed Description

Interface for defining a new Context to run a given function or pattern.

Function Documentation

◆ run_with()

template<typename ExecutionPolicy , typename Transformer >
auto grppi::run_with ( ExecutionPolicy &  ex,
Transformer &&  transform_op 
)

Define a new Context on a data stream that can be composed in other streaming patterns.

Template Parameters
ExecutionExecution policy type.
TransformerCallable type for the transformation operation.
Parameters
exExecution policy object.
transform_opTransformer operation.