Statistiques
| Révision :

root / www / HPL_sum.html

Historique | Voir | Annoter | Télécharger (1,58 ko)

1
<HTML>
2
<HEAD>
3
<TITLE>HPL_sum HPL 2.0 Library Functions September 10, 2008</TITLE> 
4
</HEAD>
5

    
6
<BODY BGCOLOR="WHITE" TEXT = "#000000" LINK = "#0000ff" VLINK = "#000099"
7
      ALINK = "#ffff00">
8

    
9
<H1>Name</H1>
10
<B>HPL_sum</B> Combine (sum) two buffers.
11

    
12
<H1>Synopsis</H1>
13
<CODE>#include "hpl.h"</CODE><BR><BR>
14
<CODE>void</CODE>
15
<CODE>HPL_sum(</CODE>
16
<CODE>const int</CODE>
17
<CODE>N</CODE>,
18
<CODE>const void *</CODE>
19
<CODE>IN</CODE>,
20
<CODE>void *</CODE>
21
<CODE>INOUT</CODE>,
22
<CODE>const HPL_T_TYPE</CODE>
23
<CODE>DTYPE</CODE>
24
<CODE>);</CODE>
25

    
26
<H1>Description</H1>
27
<B>HPL_sum</B>
28
combines (sum) two buffers.
29

    
30
<H1>Arguments</H1>
31
<PRE>
32
N       (input)                       const int
33
        On entry, N  specifies  the  length  of  the  buffers  to  be
34
        combined. N must be at least zero.
35
</PRE>
36
<PRE>
37
IN      (input)                       const void *
38
        On entry, IN points to the input-only buffer to be combined.
39
</PRE>
40
<PRE>
41
INOUT   (input/output)                void *
42
        On entry, INOUT  points  to  the  input-output  buffer  to be
43
        combined.  On exit,  the  entries of this array contains  the
44
        combined results.
45
</PRE>
46
<PRE>
47
DTYPE   (input)                       const HPL_T_TYPE
48
        On entry,  DTYPE  specifies the type of the buffers operands.
49
</PRE>
50

    
51
<H1>See Also</H1>
52
<A HREF="HPL_broadcast.html">HPL_broadcast</A>,
53
<A HREF="HPL_reduce.html">HPL_reduce</A>,
54
<A HREF="HPL_all_reduce.html">HPL_all_reduce</A>,
55
<A HREF="HPL_barrier.html">HPL_barrier</A>,
56
<A HREF="HPL_min.html">HPL_min</A>,
57
<A HREF="HPL_max.html">HPL_max</A>,
58
<A HREF="HPL_sum.html">HPL_sum</A>.
59

    
60
</BODY>
61
</HTML>