From 94a4abe2e5a856c290c5936c780c82995e9e6901 Mon Sep 17 00:00:00 2001 From: Edward Smyth Date: Wed, 7 Jun 2023 06:32:11 -0400 Subject: [PATCH] BLIS: Incorrect ifdef in cblas.h and cblas_f77.h Remove unnecessary ifdef BLIS_ENABLE_CBLAS statement from cblas.h and cblas_f77.h. These were erroneously added when fixing the --disable-blas functionality but are not needed in the CBLAS headers, as these files will not be generated when BLAS or CBLAS is disabled. This is a fix to commit 5bd2a777ba7fb939420899cd968fec5cabbc894a AMD-Internal: [CPUPL-3541] Change-Id: If38bd795d31098a7023d575672b0a913338c0d2d --- frame/compat/cblas/src/cblas.h | 4 ---- frame/compat/cblas/src/cblas_f77.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/frame/compat/cblas/src/cblas.h b/frame/compat/cblas/src/cblas.h index a880d4a5f..dcccb07ba 100644 --- a/frame/compat/cblas/src/cblas.h +++ b/frame/compat/cblas/src/cblas.h @@ -28,8 +28,6 @@ */ -#ifdef BLIS_ENABLE_CBLAS - #ifndef CBLAS_H #define CBLAS_H #include @@ -999,5 +997,3 @@ BLIS_EXPORT_BLAS f77_int cblas_izamin(f77_int N, const void *X, f77_int incX); } #endif #endif - -#endif // BLIS_ENABLE_CBLAS diff --git a/frame/compat/cblas/src/cblas_f77.h b/frame/compat/cblas/src/cblas_f77.h index 355a3a741..be02986ae 100644 --- a/frame/compat/cblas/src/cblas_f77.h +++ b/frame/compat/cblas/src/cblas_f77.h @@ -11,8 +11,6 @@ * */ -#ifdef BLIS_ENABLE_CBLAS - #ifndef CBLAS_F77_H #define CBLAS_F77_H @@ -394,5 +392,3 @@ #endif #endif /* CBLAS_F77_H */ - -#endif // BLIS_ENABLE_CBLAS