5
5
Univ. of Colorado, Denver
6
6
@date
7
7
8
- @author Azzam Haidar
9
- @author Tingxing Dong
8
+ @author Wajih-Halim Boukaram
9
+ @author Yang Liu
10
+ @author Sherry Li
10
11
11
12
@precisions normal z -> s d c
12
13
*/
@@ -56,7 +57,7 @@ magma_zgetrf_nopiv_vbatched_max_nocheck(
56
57
info_array, i, batchCount, queue);
57
58
58
59
if (arginfo != 0 ) return arginfo;
59
-
60
+
60
61
if ( (i + ib) < max_n){
61
62
// trsm
62
63
magmablas_ztrsm_vbatched_core (
@@ -92,13 +93,12 @@ magma_zgetrf_nopiv_vbatched_max_nocheck(
92
93
-------
93
94
ZGETRF NOPIV computes an LU factorization of a general M-by-N matrix A
94
95
without pivoting. It replaces tiny pivots smaller than a specified tolerance
95
- by that tolernace
96
+ by that tolerance
96
97
97
98
The factorization has the form
98
99
A = L * U
99
- where L is lower triangular with unit
100
- diagonal elements (lower trapezoidal if m > n), and U is upper
101
- triangular (upper trapezoidal if m < n).
100
+ where L is lower triangular with unit diagonal elements (lower trapezoidal
101
+ if m > n), and U is upper triangular (upper trapezoidal if m < n).
102
102
103
103
This is the right-looking Level 3 BLAS version of the algorithm.
104
104
@@ -145,8 +145,8 @@ magma_zgetrf_nopiv_vbatched_max_nocheck(
145
145
146
146
@param[in]
147
147
dtol_array Array of DOUBLEs, dimension (batchCount), for corresponding matrices.
148
- Each is an the tolerance that is compared to the diagonal element before
149
- the column is scaled by its inverse. If the value of the diagonal is less
148
+ Each is the tolerance that is compared to the diagonal element before
149
+ the column is scaled by its inverse. If the value of the diagonal is less
150
150
than the threshold, the diagonal is replaced by the threshold.
151
151
If the array is set to NULL, then the threshold is set to the eps parameter
152
152
@@ -163,7 +163,7 @@ magma_zgetrf_nopiv_vbatched_max_nocheck(
163
163
has been completed, but the factor U is exactly
164
164
singular, and division by zero will occur if it is used
165
165
to solve a system of equations. If a tolerance array is specified
166
- the value shows the number of times a tiny pivot was replaced
166
+ the value shows the number of times a tiny pivot was replaced
167
167
168
168
@param[in]
169
169
WORK VOID pointer
@@ -214,7 +214,7 @@ magma_zgetrf_nopiv_vbatched_max_nocheck_work(
214
214
215
215
// split workspace as needed by magma_zgetrf_nopiv_vbatched_max_nocheck
216
216
magma_int_t * minmn = (magma_int_t *)work;
217
-
217
+
218
218
// init
219
219
magma_ivec_min_vv ( batchCount, m, n, minmn, queue);
220
220
@@ -237,25 +237,24 @@ magma_zgetrf_nopiv_vbatched_max_nocheck_work(
237
237
-------
238
238
ZGETRF NOPIV computes an LU factorization of a general M-by-N matrix A
239
239
without pivoting. It replaces tiny pivots smaller than a specified tolerance
240
- by that tolernace
240
+ by that tolerance.
241
241
242
242
The factorization has the form
243
243
A = L * U
244
- where L is lower triangular with unit
245
- diagonal elements (lower trapezoidal if m > n), and U is upper
246
- triangular (upper trapezoidal if m < n).
244
+ where L is lower triangular with unit diagonal elements (lower trapezoidal
245
+ if m > n), and U is upper triangular (upper trapezoidal if m < n).
247
246
248
247
This is the right-looking Level 3 BLAS version of the algorithm.
249
248
250
249
This is the variable-size batched version, which factors batchCount matrices of
251
250
different sizes in parallel. Each matrix is assumed to have its own size and leading
252
251
dimension.
253
252
254
- This is the expert version taking an extra parameter for the tolerance for diagonal
253
+ This is the expert version taking an extra parameter for the tolerance for diagonal
255
254
elements. Small diagonal elements will be replaced by the specified tolerance preserving
256
- the sign and the info array will report the number of replacements. This is useful in the
255
+ the sign and the info array will report the number of replacements. This is useful in the
257
256
context of static pivoting used in sparse solvers such as SuperLU, where the tolerance would
258
- be the the norm of the matrix scaled by the machine epsilon for example.
257
+ be the the norm of the matrix scaled by the machine epsilon for example.
259
258
260
259
Arguments
261
260
---------
@@ -280,8 +279,8 @@ magma_zgetrf_nopiv_vbatched_max_nocheck_work(
280
279
281
280
@param[in]
282
281
dtol_array Array of DOUBLEs, dimension (batchCount), for corresponding matrices.
283
- Each is an the tolerance that is compared to the diagonal element before
284
- the column is scaled by its inverse. If the value of the diagonal is less
282
+ Each is the tolerance that is compared to the diagonal element before
283
+ the column is scaled by its inverse. If the value of the diagonal is less
285
284
than the threshold, the diagonal is replaced by the threshold.
286
285
If the array is set to NULL, then the threshold is set to the eps parameter
287
286
@@ -298,7 +297,7 @@ magma_zgetrf_nopiv_vbatched_max_nocheck_work(
298
297
has been completed, but the factor U is exactly
299
298
singular, and division by zero will occur if it is used
300
299
to solve a system of equations. If a tolerance array is specified
301
- the value shows the number of times a tiny pivot was replaced
300
+ the value shows the number of times a tiny pivot was replaced
302
301
303
302
@param[in]
304
303
batchCount INTEGER
@@ -374,14 +373,12 @@ magma_zgetrf_nopiv_expert_vbatched(
374
373
Purpose
375
374
-------
376
375
ZGETRF NOPIV computes an LU factorization of a general M-by-N matrix A
377
- without pivoting. It replaces tiny pivots smaller than a specified tolerance
378
- by that tolernace
376
+ without pivoting.
379
377
380
378
The factorization has the form
381
379
A = L * U
382
- where L is lower triangular with unit
383
- diagonal elements (lower trapezoidal if m > n), and U is upper
384
- triangular (upper trapezoidal if m < n).
380
+ where L is lower triangular with unit diagonal elements (lower trapezoidal
381
+ if m > n), and U is upper triangular (upper trapezoidal if m < n).
385
382
386
383
This is the right-looking Level 3 BLAS version of the algorithm.
387
384
@@ -415,7 +412,10 @@ magma_zgetrf_nopiv_expert_vbatched(
415
412
- = 0: successful exit
416
413
- < 0: if INFO = -i, the i-th argument had an illegal value
417
414
or another error occured, such as memory allocation failed.
418
- - > 0: if INFO = i, there were i tiny pivot replacements
415
+ - > 0: if INFO = i, U(i,i) is exactly zero. The factorization
416
+ has been completed, but the factor U is exactly
417
+ singular, and division by zero will occur if it is used
418
+ to solve a system of equations.
419
419
420
420
@param[in]
421
421
batchCount INTEGER
0 commit comments