GrPPI  0.2
Generic and Reusable Parallel Pattern Interface
Namespaces | Functions
omp/farm.h File Reference
#include "parallel_execution_omp.h"
#include <experimental/optional>
Include dependency graph for omp/farm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 grppi
 

Functions

template<typename Generator , typename Consumer >
void grppi::farm (parallel_execution_omp &ex, Generator generate_op, Consumer consume_op)
 Invoke the Farm pattern on a data stream with OpenMP parallel execution with a generator and a consumer. More...
 
template<typename Generator , typename Transformer , typename Consumer >
void grppi::farm (parallel_execution_omp &ex, Generator generate_op, Transformer transform_op, Consumer consume_op)
 Invoke the Farm pattern on a data stream with OpenMP parallel execution with a generator, a transformer, and a consumer. More...