GrPPI  0.2
Generic and Reusable Parallel Pattern Interface
Namespaces | Functions
tbb/farm.h File Reference
#include "parallel_execution_tbb.h"
#include <experimental/optional>
#include <tbb/tbb.h>
Include dependency graph for tbb/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_tbb &ex, Generator generate_op, Consumer consume_op)
 Invoke Farm pattern on a data stream with TBB parallel execution with a generator and a consumer. More...
 
template<typename Generator , typename Transformer , typename Consumer >
void grppi::farm (parallel_execution_tbb &ex, Generator generate_op, Transformer transform_op, Consumer consume_op)
 Invoke Farm pattern on a data stream with TBB parallel execution with a generator and a consumer. More...