root / www / HPL_numroc.html
Historique | Voir | Annoter | Télécharger (2,3 ko)
1 |
<HTML>
|
---|---|
2 |
<HEAD>
|
3 |
<TITLE>HPL_numroc 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_numroc</B> Compute the local number of row/columns. |
11 |
|
12 |
<H1>Synopsis</H1> |
13 |
<CODE>#include "hpl.h"</CODE><BR><BR> |
14 |
<CODE>int</CODE> |
15 |
<CODE>HPL_numroc(</CODE> |
16 |
<CODE>const int</CODE> |
17 |
<CODE>N</CODE>, |
18 |
<CODE>const int</CODE> |
19 |
<CODE>INB</CODE>, |
20 |
<CODE>const int</CODE> |
21 |
<CODE>NB</CODE>, |
22 |
<CODE>const int</CODE> |
23 |
<CODE>PROC</CODE>, |
24 |
<CODE>const int</CODE> |
25 |
<CODE>SRCPROC</CODE>, |
26 |
<CODE>const int</CODE> |
27 |
<CODE>NPROCS</CODE> |
28 |
<CODE>);</CODE> |
29 |
|
30 |
<H1>Description</H1> |
31 |
<B>HPL_numroc</B> |
32 |
returns the local number of matrix rows/columns process |
33 |
PROC will get if we give out N rows/columns starting from global |
34 |
index 0. |
35 |
|
36 |
<H1>Arguments</H1> |
37 |
<PRE>
|
38 |
N (input) const int |
39 |
On entry, N specifies the number of rows/columns being dealt |
40 |
out. N must be at least zero. |
41 |
</PRE>
|
42 |
<PRE>
|
43 |
INB (input) const int |
44 |
On entry, INB specifies the size of the first block of the |
45 |
global matrix. INB must be at least one. |
46 |
</PRE>
|
47 |
<PRE>
|
48 |
NB (input) const int |
49 |
On entry, NB specifies the blocking factor used to partition |
50 |
and distribute the matrix A. NB must be larger than one. |
51 |
</PRE>
|
52 |
<PRE>
|
53 |
PROC (input) const int |
54 |
On entry, PROC specifies the coordinate of the process whose |
55 |
local portion is determined. PROC must be at least zero and |
56 |
strictly less than NPROCS. |
57 |
</PRE>
|
58 |
<PRE>
|
59 |
SRCPROC (input) const int |
60 |
On entry, SRCPROC specifies the coordinate of the process |
61 |
that possesses the first row or column of the matrix. SRCPROC |
62 |
must be at least zero and strictly less than NPROCS. |
63 |
</PRE>
|
64 |
<PRE>
|
65 |
NPROCS (input) const int |
66 |
On entry, NPROCS specifies the total number of process rows |
67 |
or columns over which the matrix is distributed. NPROCS must |
68 |
be at least one. |
69 |
</PRE>
|
70 |
|
71 |
<H1>See Also</H1> |
72 |
<A HREF="HPL_indxg2l.html">HPL_indxg2l</A>, |
73 |
<A HREF="HPL_indxg2lp.html">HPL_indxg2lp</A>, |
74 |
<A HREF="HPL_indxg2p.html">HPL_indxg2p</A>, |
75 |
<A HREF="HPL_indxl2g.html">HPL_indxl2g</A>, |
76 |
<A HREF="HPL_numrocI.html">HPL_numrocI</A>. |
77 |
|
78 |
</BODY>
|
79 |
</HTML>
|