1HPL_sum(3) HPL Library Functions HPL_sum(3)
2
3
4
6 HPL_sum - Combine (sum) two buffers.
7
9 #include "hpl.h"
10
11 void HPL_sum( const int N, const void * IN, void * INOUT, const
12 HPL_T_TYPE DTYPE );
13
15 HPL_sum combines (sum) two buffers.
16
18 N (input) const int
19 On entry, N specifies the length of the buffers to be
20 combined. N must be at least zero.
21
22 IN (input) const void *
23 On entry, IN points to the input-only buffer to be combined.
24
25 INOUT (input/output) void *
26 On entry, INOUT points to the input-output buffer to be
27 combined. On exit, the entries of this array contains the
28 combined results.
29
30 DTYPE (input) const HPL_T_TYPE
31 On entry, DTYPE specifies the type of the buffers operands.
32
34 HPL_broadcast (3), HPL_reduce (3), HPL_all_reduce (3), HPL_barrier (3),
35 HPL_min (3), HPL_max (3), HPL_sum (3).
36
37
38
39HPL 2.1 October 26, 2012 HPL_sum(3)