Statistiques
| Révision :

root / man / man3 / HPL_indxg2l.3 @ 1

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

1
.TH HPL_indxg2l 3 "September 10, 2008" "HPL 2.0" "HPL Library Functions"
2
.SH NAME
3
HPL_indxg2l \- Map a global index into a local one.
4
.SH SYNOPSIS
5
\fB\&#include "hpl.h"\fR
6
 
7
\fB\&int\fR
8
\fB\&HPL_indxg2l(\fR
9
\fB\&const int\fR
10
\fI\&IG\fR,
11
\fB\&const int\fR
12
\fI\&INB\fR,
13
\fB\&const int\fR
14
\fI\&NB\fR,
15
\fB\&const int\fR
16
\fI\&SRCPROC\fR,
17
\fB\&const int\fR
18
\fI\&NPROCS\fR
19
\fB\&);\fR
20
.SH DESCRIPTION
21
\fB\&HPL_indxg2l\fR
22
computes  the local index of a matrix entry pointed to by
23
the  global index IG.  This  local  returned index is the same in all
24
processes.
25
.SH ARGUMENTS
26
.TP 8
27
IG      (input)                 const int
28
On entry, IG specifies the global index of the matrix  entry.
29
IG must be at least zero.
30
.TP 8
31
INB     (input)                 const int
32
On entry,  INB  specifies  the size of the first block of the
33
global matrix. INB must be at least one.
34
.TP 8
35
NB      (input)                 const int
36
On entry,  NB specifies the blocking factor used to partition
37
and distribute the matrix. NB must be larger than one.
38
.TP 8
39
SRCPROC (input)                 const int
40
On entry, if SRCPROC = -1, the data  is not  distributed  but
41
replicated,  in  which  case  this  routine returns IG in all
42
processes. Otherwise, the value of SRCPROC is ignored.
43
.TP 8
44
NPROCS  (input)                 const int
45
On entry,  NPROCS  specifies the total number of process rows
46
or columns over which the matrix is distributed.  NPROCS must
47
be at least one.
48
.SH SEE ALSO
49
.BR HPL_indxg2lp \ (3),
50
.BR HPL_indxg2p \ (3),
51
.BR HPL_indxl2g \ (3),
52
.BR HPL_numroc \ (3),
53
.BR HPL_numrocI \ (3).