Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Add a few forgotten API_SUFFIX wrappers in the recently changed LAPACKE ?TFSM" #1058

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LAPACKE/src/lapacke_ctfsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ lapack_int API_SUFFIX(LAPACKE_ctfsm)( int matrix_layout, char transr, char side,
#ifndef LAPACK_DISABLE_NAN_CHECK
if( LAPACKE_get_nancheck() ) {
lapack_int mn = m;
if( API_SUFFIX(LAPACKE_lsame)( side, 'r' ) ) mn = n;
if( LAPACKE_lsame( side, 'r' ) ) mn = n;
/* Optionally check input matrices for NaNs */
if( IS_C_NONZERO(alpha) ) {
if( API_SUFFIX(LAPACKE_ctf_nancheck)( matrix_layout, transr, uplo, diag, mn, a ) ) {
Expand Down
2 changes: 1 addition & 1 deletion LAPACKE/src/lapacke_ctfsm_work.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ lapack_int API_SUFFIX(LAPACKE_ctfsm_work)( int matrix_layout, char transr, char
lapack_int mn = m;
lapack_complex_float* b_t = NULL;
lapack_complex_float* a_t = NULL;
if( API_SUFFIX(LAPACKE_lsame)( side, 'r' ) ) mn = n;
if( LAPACKE_lsame( side, 'r' ) ) mn = n;
/* Check leading dimension(s) */
if( ldb < m ) {
info = -12;
Expand Down
2 changes: 1 addition & 1 deletion LAPACKE/src/lapacke_dtfsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ lapack_int API_SUFFIX(LAPACKE_dtfsm)( int matrix_layout, char transr, char side,
if( LAPACKE_get_nancheck() ) {
/* Optionally check input matrices for NaNs */
lapack_int mn = m;
if( API_SUFFIX(LAPACKE_lsame)( side, 'r' ) ) mn = n;
if( LAPACKE_lsame( side, 'r' ) ) mn = n;
if( IS_D_NONZERO(alpha) ) {
if( API_SUFFIX(LAPACKE_dtf_nancheck)( matrix_layout, transr, uplo, diag, mn, a ) ) {
return -10;
Expand Down
2 changes: 1 addition & 1 deletion LAPACKE/src/lapacke_dtfsm_work.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ lapack_int API_SUFFIX(LAPACKE_dtfsm_work)( int matrix_layout, char transr, char
lapack_int mn = m;
double* b_t = NULL;
double* a_t = NULL;
if( API_SUFFIX(LAPACKE_lsame)( side, 'r' ) ) mn = n;
if( LAPACKE_lsame( side, 'r' ) ) mn = n;
/* Check leading dimension(s) */
if( ldb < m ) {
info = -12;
Expand Down
2 changes: 1 addition & 1 deletion LAPACKE/src/lapacke_stfsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ lapack_int API_SUFFIX(LAPACKE_stfsm)( int matrix_layout, char transr, char side,
#ifndef LAPACK_DISABLE_NAN_CHECK
if( LAPACKE_get_nancheck() ) {
lapack_int mn = m;
if( API_SUFFIX(LAPACKE_lsame)( side, 'r' ) ) mn = n;
if( LAPACKE_lsame( side, 'r' ) ) mn = n;
/* Optionally check input matrices for NaNs */
if( IS_S_NONZERO(alpha) ) {
if( API_SUFFIX(LAPACKE_stf_nancheck)( matrix_layout, transr, uplo, diag, mn, a ) ) {
Expand Down
2 changes: 1 addition & 1 deletion LAPACKE/src/lapacke_stfsm_work.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ lapack_int API_SUFFIX(LAPACKE_stfsm_work)( int matrix_layout, char transr, char
lapack_int mn = MAX(1,m);
float* b_t = NULL;
float* a_t = NULL;
if( API_SUFFIX(LAPACKE_lsame)( side, 'r' ) ) mn = n;
if( LAPACKE_lsame( side, 'r' ) ) mn = n;
/* Check leading dimension(s) */
if( ldb < m ) {
info = -12;
Expand Down
2 changes: 1 addition & 1 deletion LAPACKE/src/lapacke_ztfsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ lapack_int API_SUFFIX(LAPACKE_ztfsm)( int matrix_layout, char transr, char side,
#ifndef LAPACK_DISABLE_NAN_CHECK
if( LAPACKE_get_nancheck() ) {
lapack_int mn = m;
if( API_SUFFIX(LAPACKE_lsame)( side, 'r' ) ) mn = n;
if( LAPACKE_lsame( side, 'r' ) ) mn = n;
/* Optionally check input matrices for NaNs */
if( IS_Z_NONZERO(alpha) ) {
if( API_SUFFIX(LAPACKE_ztf_nancheck)( matrix_layout, transr, uplo, diag, mn, a ) ) {
Expand Down
4 changes: 2 additions & 2 deletions LAPACKE/src/lapacke_ztfsm_work.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ lapack_int API_SUFFIX(LAPACKE_ztfsm_work)( int matrix_layout, char transr, char
lapack_int mn = m;
lapack_complex_double* b_t = NULL;
lapack_complex_double* a_t = NULL;
if( API_SUFFIX(LAPACKE_lsame)( side, 'r' ) ) mn = n;
if( LAPACKE_lsame( side, 'r' ) ) mn = n;
/* Check leading dimension(s) */
if( ldb < m ) {
info = -12;
Expand Down Expand Up @@ -86,7 +86,7 @@ lapack_int API_SUFFIX(LAPACKE_ztfsm_work)( int matrix_layout, char transr, char
b_t, &ldb_t );
info = 0; /* LAPACK call is ok! */
/* Transpose output matrices */
API_SUFFIX(LAPACKE_zge_trans)( LAPACK_COL_MAJOR, m, n, b_t, ldb_t, b, ldb );
LAPACKE_zge_trans( LAPACK_COL_MAJOR, m, n, b_t, ldb_t, b, ldb );
/* Release memory and exit */
if( IS_Z_NONZERO(alpha) ) {
LAPACKE_free( a_t );
Expand Down
Loading