Skip to content

Commit

Permalink
Merge pull request #537 from eshpc/LAPACKE_fixes
Browse files Browse the repository at this point in the history
Lapacke fixes
  • Loading branch information
langou committed Apr 22, 2021
2 parents 287ca57 + adbad2f commit f02daa6
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 18 deletions.
36 changes: 18 additions & 18 deletions LAPACKE/include/lapack.h
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,8 @@ void LAPACK_cgbrfsx(
lapack_int const* n, lapack_int const* kl, lapack_int const* ku, lapack_int const* nrhs,
lapack_complex_float const* AB, lapack_int const* ldab,
lapack_complex_float const* AFB, lapack_int const* ldafb, lapack_int const* ipiv,
float* R,
float* C,
const float* R,
const float* C,
lapack_complex_float const* B, lapack_int const* ldb,
lapack_complex_float* X, lapack_int const* ldx,
float* rcond,
Expand All @@ -591,8 +591,8 @@ void LAPACK_dgbrfsx(
lapack_int const* n, lapack_int const* kl, lapack_int const* ku, lapack_int const* nrhs,
double const* AB, lapack_int const* ldab,
double const* AFB, lapack_int const* ldafb, lapack_int const* ipiv,
double* R,
double* C,
const double* R,
const double* C,
double const* B, lapack_int const* ldb,
double* X, lapack_int const* ldx,
double* rcond,
Expand All @@ -610,8 +610,8 @@ void LAPACK_sgbrfsx(
lapack_int const* n, lapack_int const* kl, lapack_int const* ku, lapack_int const* nrhs,
float const* AB, lapack_int const* ldab,
float const* AFB, lapack_int const* ldafb, lapack_int const* ipiv,
float* R,
float* C,
const float* R,
const float* C,
float const* B, lapack_int const* ldb,
float* X, lapack_int const* ldx,
float* rcond,
Expand All @@ -629,8 +629,8 @@ void LAPACK_zgbrfsx(
lapack_int const* n, lapack_int const* kl, lapack_int const* ku, lapack_int const* nrhs,
lapack_complex_double const* AB, lapack_int const* ldab,
lapack_complex_double const* AFB, lapack_int const* ldafb, lapack_int const* ipiv,
double* R,
double* C,
const double* R,
const double* C,
lapack_complex_double const* B, lapack_int const* ldb,
lapack_complex_double* X, lapack_int const* ldx,
double* rcond,
Expand Down Expand Up @@ -4964,7 +4964,7 @@ void LAPACK_cherfsx(
lapack_int const* n, lapack_int const* nrhs,
lapack_complex_float const* A, lapack_int const* lda,
lapack_complex_float const* AF, lapack_int const* ldaf, lapack_int const* ipiv,
float* S,
const float* S,
lapack_complex_float const* B, lapack_int const* ldb,
lapack_complex_float* X, lapack_int const* ldx,
float* rcond,
Expand All @@ -4982,7 +4982,7 @@ void LAPACK_zherfsx(
lapack_int const* n, lapack_int const* nrhs,
lapack_complex_double const* A, lapack_int const* lda,
lapack_complex_double const* AF, lapack_int const* ldaf, lapack_int const* ipiv,
double* S,
const double* S,
lapack_complex_double const* B, lapack_int const* ldb,
lapack_complex_double* X, lapack_int const* ldx,
double* rcond,
Expand Down Expand Up @@ -8074,7 +8074,7 @@ void LAPACK_cporfsx(
lapack_int const* n, lapack_int const* nrhs,
lapack_complex_float const* A, lapack_int const* lda,
lapack_complex_float const* AF, lapack_int const* ldaf,
float* S,
const float* S,
lapack_complex_float const* B, lapack_int const* ldb,
lapack_complex_float* X, lapack_int const* ldx,
float* rcond,
Expand All @@ -8092,7 +8092,7 @@ void LAPACK_dporfsx(
lapack_int const* n, lapack_int const* nrhs,
double const* A, lapack_int const* lda,
double const* AF, lapack_int const* ldaf,
double* S,
const double* S,
double const* B, lapack_int const* ldb,
double* X, lapack_int const* ldx,
double* rcond,
Expand All @@ -8110,7 +8110,7 @@ void LAPACK_sporfsx(
lapack_int const* n, lapack_int const* nrhs,
float const* A, lapack_int const* lda,
float const* AF, lapack_int const* ldaf,
float* S,
const float* S,
float const* B, lapack_int const* ldb,
float* X, lapack_int const* ldx,
float* rcond,
Expand All @@ -8128,7 +8128,7 @@ void LAPACK_zporfsx(
lapack_int const* n, lapack_int const* nrhs,
lapack_complex_double const* A, lapack_int const* lda,
lapack_complex_double const* AF, lapack_int const* ldaf,
double* S,
const double* S,
lapack_complex_double const* B, lapack_int const* ldb,
lapack_complex_double* X, lapack_int const* ldx,
double* rcond,
Expand Down Expand Up @@ -10825,7 +10825,7 @@ void LAPACK_csyrfsx(
lapack_int const* n, lapack_int const* nrhs,
lapack_complex_float const* A, lapack_int const* lda,
lapack_complex_float const* AF, lapack_int const* ldaf, lapack_int const* ipiv,
float* S,
const float* S,
lapack_complex_float const* B, lapack_int const* ldb,
lapack_complex_float* X, lapack_int const* ldx,
float* rcond,
Expand All @@ -10843,7 +10843,7 @@ void LAPACK_dsyrfsx(
lapack_int const* n, lapack_int const* nrhs,
double const* A, lapack_int const* lda,
double const* AF, lapack_int const* ldaf, lapack_int const* ipiv,
double* S,
const double* S,
double const* B, lapack_int const* ldb,
double* X, lapack_int const* ldx,
double* rcond,
Expand All @@ -10861,7 +10861,7 @@ void LAPACK_ssyrfsx(
lapack_int const* n, lapack_int const* nrhs,
float const* A, lapack_int const* lda,
float const* AF, lapack_int const* ldaf, lapack_int const* ipiv,
float* S,
const float* S,
float const* B, lapack_int const* ldb,
float* X, lapack_int const* ldx,
float* rcond,
Expand All @@ -10879,7 +10879,7 @@ void LAPACK_zsyrfsx(
lapack_int const* n, lapack_int const* nrhs,
lapack_complex_double const* A, lapack_int const* lda,
lapack_complex_double const* AF, lapack_int const* ldaf, lapack_int const* ipiv,
double* S,
const double* S,
lapack_complex_double const* B, lapack_int const* ldb,
lapack_complex_double* X, lapack_int const* ldx,
double* rcond,
Expand Down
1 change: 1 addition & 0 deletions LAPACKE/src/lapacke_clascl.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ lapack_int LAPACKE_clascl( int matrix_layout, char type, lapack_int kl,
LAPACKE_cgb_nancheck( LAPACK_COL_MAJOR, n, m, n-1, 1, a-1, lda+1 ) ) {
return -9;
}
break;
case 'B':
// TYPE = 'B' - lower part of symmetric band matrix (assume m==n)
if( LAPACKE_chb_nancheck( matrix_layout, 'L', n, kl, a, lda ) ) {
Expand Down
1 change: 1 addition & 0 deletions LAPACKE/src/lapacke_dlascl.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ lapack_int LAPACKE_dlascl( int matrix_layout, char type, lapack_int kl,
LAPACKE_dgb_nancheck( LAPACK_COL_MAJOR, n, m, n-1, 1, a-1, lda+1 ) ) {
return -9;
}
break;
case 'B':
// TYPE = 'B' - lower part of symmetric band matrix (assume m==n)
if( LAPACKE_dsb_nancheck( matrix_layout, 'L', n, kl, a, lda ) ) {
Expand Down
1 change: 1 addition & 0 deletions LAPACKE/src/lapacke_slascl.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ lapack_int LAPACKE_slascl( int matrix_layout, char type, lapack_int kl,
LAPACKE_sgb_nancheck( LAPACK_COL_MAJOR, n, m, n-1, 1, a-1, lda+1 ) ) {
return -9;
}
break;
case 'B':
// TYPE = 'B' - lower part of symmetric band matrix (assume m==n)
if( LAPACKE_ssb_nancheck( matrix_layout, 'L', n, kl, a, lda ) ) {
Expand Down
1 change: 1 addition & 0 deletions LAPACKE/src/lapacke_zlascl.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ lapack_int LAPACKE_zlascl( int matrix_layout, char type, lapack_int kl,
LAPACKE_zgb_nancheck( LAPACK_COL_MAJOR, n, m, n-1, 1, a-1, lda+1 ) ) {
return -9;
}
break;
case 'B':
// TYPE = 'B' - lower part of symmetric band matrix (assume m==n)
if( LAPACKE_zhb_nancheck( matrix_layout, 'L', n, kl, a, lda ) ) {
Expand Down

0 comments on commit f02daa6

Please sign in to comment.