Debian Codegraph @

hpl/www/HPL_indxl2g.html

raw
1 <HTML>
2 <HEAD>
3 <TITLE>HPL_indxl2g 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_indxl2g</B> Map a index-process pair into a global index.
11
12 <H1>Synopsis</H1>
13 <CODE>#include "hpl.h"</CODE><BR><BR>
14 <CODE>int</CODE>
15 <CODE>HPL_indxl2g(</CODE>
16 <CODE>const int</CODE>
17 <CODE>IL</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_indxl2g</B>
32 computes the global index of a matrix entry pointed to
33 by the local index IL of the process indicated by PROC.
34
35 <H1>Arguments</H1>
36 <PRE>
37 IL (input) const int
38 On entry, IL specifies the local index of the matrix entry.
39 IL must be at least zero.
40 </PRE>
41 <PRE>
42 INB (input) const int
43 On entry, INB specifies the size of the first block of the
44 global matrix. INB must be at least one.
45 </PRE>
46 <PRE>
47 NB (input) const int
48 On entry, NB specifies the blocking factor used to partition
49 and distribute the matrix A. NB must be larger than one.
50 </PRE>
51 <PRE>
52 PROC (input) const int
53 On entry, PROC specifies the coordinate of the process whose
54 local array row or column is to be determined. PROC must be
55 at least zero and strictly less than NPROCS.
56 </PRE>
57 <PRE>
58 SRCPROC (input) const int
59 On entry, SRCPROC specifies the coordinate of the process
60 that possesses the first row or column of the matrix. SRCPROC
61 must be at least zero and strictly less than NPROCS.
62 </PRE>
63 <PRE>
64 NPROCS (input) const int
65 On entry, NPROCS specifies the total number of process rows
66 or columns over which the matrix is distributed. NPROCS must
67 be at least one.
68 </PRE>
69
70 <H1>See Also</H1>
71 <A HREF="HPL_indxg2l.html">HPL_indxg2l</A>,
72 <A HREF="HPL_indxg2lp.html">HPL_indxg2lp</A>,
73 <A HREF="HPL_indxg2p.html">HPL_indxg2p</A>,
74 <A HREF="HPL_numroc.html">HPL_numroc</A>,
75 <A HREF="HPL_numrocI.html">HPL_numrocI</A>.
76
77 </BODY>
78 </HTML>