root / www / HPL_broadcast.html
Historique | Voir | Annoter | Télécharger (1,77 ko)
1 |
<HTML>
|
---|---|
2 |
<HEAD>
|
3 |
<TITLE>HPL_broadcast 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_broadcast</B> Broadcast operation. |
11 |
|
12 |
<H1>Synopsis</H1> |
13 |
<CODE>#include "hpl.h"</CODE><BR><BR> |
14 |
<CODE>int</CODE> |
15 |
<CODE>HPL_broadcast(</CODE> |
16 |
<CODE>void *</CODE> |
17 |
<CODE>BUFFER</CODE>, |
18 |
<CODE>const int</CODE> |
19 |
<CODE>COUNT</CODE>, |
20 |
<CODE>const HPL_T_TYPE</CODE> |
21 |
<CODE>DTYPE</CODE>, |
22 |
<CODE>const int</CODE> |
23 |
<CODE>ROOT</CODE>, |
24 |
<CODE>MPI_Comm</CODE> |
25 |
<CODE>COMM</CODE> |
26 |
<CODE>);</CODE> |
27 |
|
28 |
<H1>Description</H1> |
29 |
<B>HPL_broadcast</B> |
30 |
broadcasts a message from the process with rank ROOT to |
31 |
all processes in the group. |
32 |
|
33 |
<H1>Arguments</H1> |
34 |
<PRE>
|
35 |
BUFFER (local input/output) void * |
36 |
On entry, BUFFER points to the buffer to be broadcast. On |
37 |
exit, this array contains the broadcast data and is identical |
38 |
on all processes in the group. |
39 |
</PRE>
|
40 |
<PRE>
|
41 |
COUNT (global input) const int |
42 |
On entry, COUNT indicates the number of entries in BUFFER. |
43 |
COUNT must be at least zero. |
44 |
</PRE>
|
45 |
<PRE>
|
46 |
DTYPE (global input) const HPL_T_TYPE |
47 |
On entry, DTYPE specifies the type of the buffers operands. |
48 |
</PRE>
|
49 |
<PRE>
|
50 |
ROOT (global input) const int |
51 |
On entry, ROOT is the coordinate of the source process. |
52 |
</PRE>
|
53 |
<PRE>
|
54 |
COMM (global/local input) MPI_Comm |
55 |
The MPI communicator identifying the process collection. |
56 |
</PRE>
|
57 |
|
58 |
<H1>See Also</H1> |
59 |
<A HREF="HPL_reduce.html">HPL_reduce</A>, |
60 |
<A HREF="HPL_all_reduce.html">HPL_all_reduce</A>, |
61 |
<A HREF="HPL_barrier.html">HPL_barrier</A>, |
62 |
<A HREF="HPL_min.html">HPL_min</A>, |
63 |
<A HREF="HPL_max.html">HPL_max</A>, |
64 |
<A HREF="HPL_sum.html">HPL_sum</A>. |
65 |
|
66 |
</BODY>
|
67 |
</HTML>
|