Skip to content

Commit 6c4efb0

Browse files
committed
address @mgates' suggestion: "A comment that joba == e is using V as workspace would be helpful. (Per later comment when transposing results.)"
1 parent bb1afab commit 6c4efb0

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

LAPACKE/src/lapacke_cgesvdq_work.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ lapack_int API_SUFFIX(LAPACKE_cgesvdq_work)( int matrix_layout, char joba, char
7474
ncols_u = 1;
7575
}
7676

77+
/* in the case joba == 'e', v_t is used as a workspace */
7778
if( API_SUFFIX(LAPACKE_lsame)( jobv, 'a' ) ||
7879
API_SUFFIX(LAPACKE_lsame)( jobv, 'v' ) ||
7980
API_SUFFIX(LAPACKE_lsame)( jobv, 'r' ) ||

LAPACKE/src/lapacke_dgesvdq_work.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ lapack_int API_SUFFIX(LAPACKE_dgesvdq_work)( int matrix_layout, char joba, char
7474
ncols_u = 1;
7575
}
7676

77+
/* in the case joba == 'e', v_t is used as a workspace */
7778
if( API_SUFFIX(LAPACKE_lsame)( jobv, 'a' ) ||
7879
API_SUFFIX(LAPACKE_lsame)( jobv, 'v' ) ||
7980
API_SUFFIX(LAPACKE_lsame)( jobv, 'r' ) ||

LAPACKE/src/lapacke_sgesvdq_work.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ lapack_int API_SUFFIX(LAPACKE_sgesvdq_work)( int matrix_layout, char joba, char
7474
ncols_u = 1;
7575
}
7676

77+
/* in the case joba == 'e', v_t is used as a workspace */
7778
if( API_SUFFIX(LAPACKE_lsame)( jobv, 'a' ) ||
7879
API_SUFFIX(LAPACKE_lsame)( jobv, 'v' ) ||
7980
API_SUFFIX(LAPACKE_lsame)( jobv, 'r' ) ||

LAPACKE/src/lapacke_zgesvdq_work.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ lapack_int API_SUFFIX(LAPACKE_zgesvdq_work)( int matrix_layout, char joba, char
7474
ncols_u = 1;
7575
}
7676

77+
/* in the case joba == 'e', v_t is used as a workspace */
7778
if( API_SUFFIX(LAPACKE_lsame)( jobv, 'a' ) ||
7879
API_SUFFIX(LAPACKE_lsame)( jobv, 'v' ) ||
7980
API_SUFFIX(LAPACKE_lsame)( jobv, 'r' ) ||

0 commit comments

Comments
 (0)