1HPL_dlocmax(3) HPL Library Functions HPL_dlocmax(3)
2
3
4
6 HPL_dlocmax - finds the maximum entry in matrix column.
7
9 #include "hpl.h"
10
11 void HPL_dlocmax( HPL_T_panel * PANEL, const int N, const int II, const
12 int JJ, double * WORK );
13
15 HPL_dlocmax finds the maximum entry in the current column and packs
16 the useful information in WORK[0:3]. On exit, WORK[0] contains the
17 local maximum absolute value scalar, WORK[1] is the corresponding
18 local row index, WORK[2] is the corresponding global row index, and
19 WORK[3] is the coordinate of the process owning this max. When N is
20 less than 1, the WORK[0:2] is initialized to zero, and WORK[3] is set
21 to the total number of process rows.
22
24 PANEL (local input/output) HPL_T_panel *
25 On entry, PANEL points to the data structure containing the
26 panel information.
27
28 N (local input) const int
29 On entry, N specifies the local number of rows of the column
30 of A on which we operate.
31
32 II (local input) const int
33 On entry, II specifies the row offset where the column to be
34 operated on starts with respect to the panel.
35
36 JJ (local input) const int
37 On entry, JJ specifies the column offset where the column to
38 be operated on starts with respect to the panel.
39
40 WORK (local workspace) double *
41 On entry, WORK is a workarray of size at least 4. On exit,
42 WORK[0] contains the local maximum absolute value scalar,
43 WORK[1] contains the corresponding local row index, WORK[2]
44 contains the corresponding global row index, and WORK[3] is
45 the coordinate of process owning this max.
46
48 HPL_dlocswpN (3), HPL_dlocswpT (3), HPL_pdmxswp (3), HPL_pdpancrN (3),
49 HPL_pdpancrT (3), HPL_pdpanllN (3), HPL_pdpanllT (3), HPL_pdpanrlN (3),
50 HPL_pdpanrlT (3), HPL_pdrpancrN (3), HPL_pdrpancrT (3), HPL_pdrpan‐
51 llN (3), HPL_pdrpanllT (3), HPL_pdrpanrlN (3), HPL_pdrpanrlT (3),
52 HPL_pdfact (3).
53
54
55
56HPL 2.2 February 24, 2016 HPL_dlocmax(3)