GrPPI
0.2
Generic and Reusable Parallel Pattern Interface
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
include
farm.h
Go to the documentation of this file.
1
21
#ifndef GRPPI_FARM_H
22
#define GRPPI_FARM_H
23
24
#include "
seq/farm.h
"
25
#include "
native/farm.h
"
26
#include "
omp/farm.h
"
27
#include "
tbb/farm.h
"
28
#include "
poly/farm.h
"
29
30
#include "
common/patterns.h
"
31
32
namespace
grppi
{
33
50
template
<
typename
Execution,
typename
Transformer>
51
auto
farm
(Execution & ex, Transformer && transform_op)
52
{
53
return
farm_info<Execution,Transformer>
{ex,
54
std::forward<Transformer>(transform_op)};
55
}
56
62
}
63
64
#endif
grppi
Definition:
callable_traits.h:24
farm.h
farm.h
farm.h
farm.h
grppi::farm_info
Definition:
patterns.h:51
grppi::farm
auto farm(Execution &ex, Transformer &&transform_op)
Invoke Farm pattern on a data stream that can be composed in other streaming patterns.
Definition:
farm.h:51
farm.h
patterns.h
Generated by
1.8.11