1HPL_all_reduce(3) HPL Library Functions HPL_all_reduce(3)
2
3
4
6 HPL_all_reduce - All reduce operation.
7
9 #include "hpl.h"
10
11 int HPL_all_reduce( void * BUFFER, const int COUNT, const HPL_T_TYPE
12 DTYPE, const HPL_T_OP OP, MPI_Comm COMM );
13
15 HPL_all_reduce performs a global reduce operation across all
16 processes of a group leaving the results on all processes.
17
19 BUFFER (local input/global out void *
20 On entry, BUFFER points to the buffer to be combined. On
21 exit, this array contains the combined data and is identical
22 on all processes in the group.
23
24 COUNT (global input) const int
25 On entry, COUNT indicates the number of entries in BUFFER.
26 COUNT must be at least zero.
27
28 DTYPE (global input) const HPL_T_TYPE
29 On entry, DTYPE specifies the type of the buffers operands.
30
31 OP (global input) const HPL_T_OP
32 On entry, OP is a pointer to the local combine function.
33
34 COMM (global/local input) MPI_Comm
35 The MPI communicator identifying the process collection.
36
38 HPL_broadcast (3), HPL_reduce (3), HPL_barrier (3), HPL_min (3),
39 HPL_max (3), HPL_sum (3).
40
41
42
43HPL 2.2 February 24, 2016 HPL_all_reduce(3)