Skip to content

Commit 4dcd51c

Browse files
committed
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 5bd2a77 AMD-Internal: [CPUPL-3541] Change-Id: If38bd795d31098a7023d575672b0a913338c0d2d (cherry picked from commit 94a4abe)
1 parent 9438254 commit 4dcd51c

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

frame/compat/cblas/src/cblas.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
2929
*/
3030

31-
#ifdef BLIS_ENABLE_CBLAS
32-
3331
#ifndef CBLAS_H
3432
#define CBLAS_H
3533
#include <stddef.h>
@@ -999,5 +997,3 @@ BLIS_EXPORT_BLAS f77_int cblas_izamin(f77_int N, const void *X, f77_int incX);
999997
}
1000998
#endif
1001999
#endif
1002-
1003-
#endif // BLIS_ENABLE_CBLAS

frame/compat/cblas/src/cblas_f77.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
*
1212
*/
1313

14-
#ifdef BLIS_ENABLE_CBLAS
15-
1614
#ifndef CBLAS_F77_H
1715
#define CBLAS_F77_H
1816

@@ -394,5 +392,3 @@
394392
#endif
395393

396394
#endif /* CBLAS_F77_H */
397-
398-
#endif // BLIS_ENABLE_CBLAS

0 commit comments

Comments
 (0)