File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,10 +46,9 @@ option (ENABLE_AUTODETECT_F77_UNDERSCORING "Enable autodetect F77 Underscore" OF
4646option (ENABLE_UPPERCASE_BLAS "Enable invocation of Blas with Flame" OFF )
4747option (ENABLE_UPPERCASE_LAPACK "Enable invocation of Lapack with Flame" OFF )
4848option (ENABLE_GPU "Enable gpu advantage" OFF )
49-
49+ option ( ENABLE_XBLAS "Enable xblas API's" OFF )
5050
5151set (ENABLE_WINDOWS_BUILD "Enables windows build" ON )
52- add_compile_definitions (FLA_ENABLE_WINDOWS_BUILD=1 )
5352
5453if (ENABLE_UPPERCASE)
5554add_definitions (-DBLIS1_ENABLE_UPPERCASE_F77 )
@@ -58,6 +57,9 @@ elseif(NOT ENABLE_UPPERCASE)
5857add_definitions (-DNOCHANGE )
5958endif ()
6059
60+ if (ENABLE_XBLAS)
61+ add_definitions (-DFLA_ENABLE_XBLAS )
62+ endif ()
6163if (ENABLE_NON_CRITICAL_CODE)
6264 set (FLA_ENABLE_NON_CRITICAL_CODE TRUE )
6365endif ()
@@ -102,7 +104,7 @@ if (ENABLE_BLAS3_FRNTEND_CNTL_TREES)
102104endif ()
103105
104106if (ENABLE_WINDOWS_BUILD)
105- add_compile_definitions (FLA_ENABLE_WINDOWS_BUILD=1 )
107+ set (FLA_ENABLE_WINDOWS_BUILD TRUE )
106108endif ()
107109
108110if (ENABLE_PORTABLE_TIMER)
Original file line number Diff line number Diff line change @@ -1746,7 +1746,7 @@ typedef doublereal E_f; /* real function with -R not specified */
17461746#define sorgrq_ SORGRQ
17471747#define sorgtr_ SORGTR
17481748#define sorgtsqr_ SORGTSQR
1749- #define sorhr_col_ SORHR_OL
1749+ #define sorhr_col_ SORHR_COL
17501750#define sorm22_ SORM22
17511751#define sorm2l_ SORM2L
17521752#define sorm2r_ SORM2R
@@ -3888,7 +3888,7 @@ typedef doublereal E_f; /* real function with -R not specified */
38883888#define sorgrq_ sorgrq
38893889#define sorgtr_ sorgtr
38903890#define sorgtsqr_ sorgtsqr
3891- #define sorhr_col_ sorhr_ol
3891+ #define sorhr_col_ sorhr_col
38923892#define sorm22_ sorm22
38933893#define sorm2l_ sorm2l
38943894#define sorm2r_ sorm2r
Original file line number Diff line number Diff line change 3232#if !defined FLA_ENABLE_MULTITHREADING && !defined FLA_ENABLE_SUPERMATRIX
3333#define ENABLE_THREAD_LOCAL_STORAGE 1
3434#define LIBFLAME_IMPORT
35+ #else
36+ #define ENABLE_THREAD_LOCAL_STORAGE 0
37+ #define LIBFLAME_IMPORT
3538#endif
3639#endif
3740
You can’t perform that action at this time.
0 commit comments