Statistiques
| Révision :

root / www / HPL_rollN.html @ 1

Historique | Voir | Annoter | Télécharger (2,97 ko)

1
<HTML>
2
<HEAD>
3
<TITLE>HPL_rollN 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_rollN</B> Roll U and forward the column panel.
11

    
12
<H1>Synopsis</H1>
13
<CODE>#include "hpl.h"</CODE><BR><BR>
14
<CODE>void</CODE>
15
<CODE>HPL_rollN(</CODE>
16
<CODE>HPL_T_panel *</CODE>
17
<CODE>PBCST</CODE>,
18
<CODE>int *</CODE>
19
<CODE>IFLAG</CODE>,
20
<CODE>HPL_T_panel *</CODE>
21
<CODE>PANEL</CODE>,
22
<CODE>const int</CODE>
23
<CODE>N</CODE>,
24
<CODE>double *</CODE>
25
<CODE>U</CODE>,
26
<CODE>const int</CODE>
27
<CODE>LDU</CODE>,
28
<CODE>const int *</CODE>
29
<CODE>IPLEN</CODE>,
30
<CODE>const int *</CODE>
31
<CODE>IPMAP</CODE>,
32
<CODE>const int *</CODE>
33
<CODE>IPMAPM1</CODE>
34
<CODE>);</CODE>
35

    
36
<H1>Description</H1>
37
<B>HPL_rollN</B>
38
rolls the local arrays containing the local pieces of U, so
39
that on exit to this function  U  is replicated in every process row.
40
In addition, this function probe for the presence of the column panel
41
and forwards it when available.
42

    
43
<H1>Arguments</H1>
44
<PRE>
45
PBCST   (local input/output)          HPL_T_panel *
46
        On entry,  PBCST  points to the data structure containing the
47
        panel (to be broadcast) information.
48
</PRE>
49
<PRE>
50
IFLAG   (local input/output)          int *
51
        On entry, IFLAG  indicates  whether or not  the broadcast has
52
        already been completed.  If not,  probing will occur, and the
53
        outcome will be contained in IFLAG on exit.
54
</PRE>
55
<PRE>
56
PANEL   (local input/output)          HPL_T_panel *
57
        On entry,  PANEL  points to the data structure containing the
58
        panel (to be rolled) information.
59
</PRE>
60
<PRE>
61
N       (local input)                 const int
62
        On entry, N specifies the number of columns of  U.  N must be
63
        at least zero.
64
</PRE>
65
<PRE>
66
U       (local input/output)          double *
67
        On entry,  U  is an array of dimension (LDU,*) containing the
68
        local pieces of U in each process row.
69
</PRE>
70
<PRE>
71
LDU     (local input)                 const int
72
        On entry, LDU specifies the local leading dimension of U. LDU
73
        should be at least  MAX(1,IPLEN[NPROW]).
74
</PRE>
75
<PRE>
76
IPLEN   (global input)                const int *
77
        On entry, IPLEN is an array of dimension NPROW+1.  This array
78
        is such that IPLEN[i+1] - IPLEN[i] is the number of rows of U
79
        in each process row.
80
</PRE>
81
<PRE>
82
IPMAP   (global input)                const int *
83
        On entry, IMAP  is an array of dimension  NPROW.  This  array
84
        contains  the  logarithmic mapping of the processes. In other
85
        words,  IMAP[myrow]  is the absolute coordinate of the sorted
86
        process.
87
</PRE>
88
<PRE>
89
IPMAPM1 (global input)                const int *
90
        On entry,  IMAPM1  is an array of dimension NPROW. This array
91
        contains  the inverse of the logarithmic mapping contained in
92
        IMAP: For i in [0.. NPROW) IMAPM1[IMAP[i]] = i.
93
</PRE>
94

    
95
<H1>See Also</H1>
96
<A HREF="HPL_pdlaswp01N.html">HPL_pdlaswp01N</A>.
97

    
98
</BODY>
99
</HTML>