34 template <
class InputIterator,
class OutputIterator,
class ReduceOp>
36 const ReduceOp&,
bool *IncludeVal = 0);
39 template <
class InputIterator,
class OutputIterator,
class ReduceOp>
40 bool reduce(InputIterator, InputIterator, OutputIterator,
41 const ReduceOp&,
bool *IncludeVal = 0);
45 template <
class T,
class ReduceOp>
49 template <
class T,
class ReduceOp>
50 bool reduce(
T& input,
T& output,
const ReduceOp& op);
58 template <
class T,
class ReduceOp>
63 template <
class T,
class ReduceOp>
70 template <
class T,
class ReduceOp>
77 template <
class T,
class ReduceOp>
78 bool reduce(
T& input,
T& output,
const ReduceOp& op)
93 template <
class InputIterator,
class RandomIterator,
class ScatterOp>
95 int *,
int *,
const ScatterOp&);
98 template <
class InputIterator,
class RandomIterator,
class ScatterOp>
99 bool scatter(InputIterator, InputIterator, RandomIterator,
100 int *,
int *,
const ScatterOp&);
107 template <
typename T>
108 void gather(
const T* input,
T* output,
int count,
int root = 0);
114 template <
typename T>
115 void scatter(
const T* input,
T* output,
int count,
int root = 0);
121 template <
typename T,
class Op>
122 void reduce(
const T* input,
T* output,
int count, Op op,
int root = 0);
124 template <
typename T,
class Op>
125 void new_reduce(
const T* input,
T* output,
int count, Op op,
int root = 0);
127 template <
typename T,
class Op>
128 void new_reduce(
T* inout,
int count, Op op,
int root = 0);
130 template <
typename T,
class Op>
131 void reduce(
const T& input,
T& output,
int count, Op op,
int root = 0);
133 template <
typename T,
class Op>
134 void allreduce(
const T* input,
T* output,
int count, Op op);
136 template <
typename T,
class Op>
137 void allreduce(
const T& input,
T& output,
int count, Op op);
139 template <
typename T,
class Op>
142 template <
typename T,
class Op>
void allreduce(const T *input, T *output, int count, Op op)
bool reduce_masked(Communicate &comm, T &input, T &output, const ReduceOp &op, bool IncludeVal)
bool reduce(Communicate &, InputIterator, InputIterator, OutputIterator, const ReduceOp &, bool *IncludeVal=0)
bool scatter(Communicate &, InputIterator, InputIterator, RandomIterator, int *, int *, const ScatterOp &)
void new_reduce(const T *input, T *output, int count, Op op, int root=0)
void gather(const T *input, T *output, int count, int root=0)