1HPL_numrocI(3) HPL Library Functions HPL_numrocI(3)
2
3
4
6 HPL_numrocI - Compute the local number of row/columns.
7
9 #include "hpl.h"
10
11 int HPL_numrocI( const int N, const int I, const int INB, const int NB,
12 const int PROC, const int SRCPROC, const int NPROCS );
13
15 HPL_numrocI returns the local number of matrix rows/columns process
16 PROC will get if we give out N rows/columns starting from global
17 index I.
18
20 N (input) const int
21 On entry, N specifies the number of rows/columns being dealt
22 out. N must be at least zero.
23
24 I (input) const int
25 On entry, I specifies the global index of the matrix entry I
26 must be at least zero.
27
28 INB (input) const int
29 On entry, INB specifies the size of the first block of th
30 global matrix. INB must be at least one.
31
32 NB (input) const int
33 On entry, NB specifies the blocking factor used to partition
34 and distribute the matrix A. NB must be larger than one.
35
36 PROC (input) const int
37 On entry, PROC specifies the coordinate of the process whos
38 local portion is determined. PROC must be at least zero an
39 strictly less than NPROCS.
40
41 SRCPROC (input) const int
42 On entry, SRCPROC specifies the coordinate of the proces
43 that possesses the first row or column of the matrix. SRCPRO
44 must be at least zero and strictly less than NPROCS.
45
46 NPROCS (input) const int
47 On entry, NPROCS specifies the total number of process row or
48 columns over which the matrix is distributed. NPROCS mus be at
49 least one.
50
52 HPL_indxg2l (3), HPL_indxg2lp (3), HPL_indxg2p (3), HPL_indxl2g (3),
53 HPL_numroc (3).
54
55
56
57HPL 2.2 February 24, 2016 HPL_numrocI(3)