Fixed a bug when compiling dynamic ARCH x86 in GotoBLAS2.
This commit is contained in:
parent
dbf3780a6d
commit
5c9f1ebbf9
|
@ -198,9 +198,9 @@ void gotoblas_dynamic_init(void) {
|
||||||
gotoblas = get_coretype();
|
gotoblas = get_coretype();
|
||||||
|
|
||||||
#ifdef ARCH_X86
|
#ifdef ARCH_X86
|
||||||
if (gotoblas == NULL) gotoblas = gotoblas_KATMAI;
|
if (gotoblas == NULL) gotoblas = &gotoblas_KATMAI;
|
||||||
#else
|
#else
|
||||||
if (gotoblas == NULL) gotoblas = gotoblas_PRESCOTT;
|
if (gotoblas == NULL) gotoblas = &gotoblas_PRESCOTT;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (gotoblas && gotoblas -> init) {
|
if (gotoblas && gotoblas -> init) {
|
||||||
|
|
Loading…
Reference in New Issue