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