| @@ -13,9 +13,9 @@ met: | |||||
| notice, this list of conditions and the following disclaimer in | notice, this list of conditions and the following disclaimer in | ||||
| the documentation and/or other materials provided with the | the documentation and/or other materials provided with the | ||||
| distribution. | distribution. | ||||
| 3. Neither the name of the OpenBLAS project nor the names of | |||||
| its contributors may be used to endorse or promote products | |||||
| derived from this software without specific prior written | |||||
| 3. Neither the name of the OpenBLAS project nor the names of | |||||
| its contributors may be used to endorse or promote products | |||||
| derived from this software without specific prior written | |||||
| permission. | permission. | ||||
| THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||||
| @@ -63,6 +63,9 @@ static char* openblas_config_str="" | |||||
| #ifdef USE_TLS | #ifdef USE_TLS | ||||
| "USE_TLS " | "USE_TLS " | ||||
| #endif | #endif | ||||
| #ifdef USE_LOCKING | |||||
| "USE_LOCKING " | |||||
| #endif | |||||
| #ifndef DYNAMIC_ARCH | #ifndef DYNAMIC_ARCH | ||||
| CHAR_CORENAME | CHAR_CORENAME | ||||
| #endif | #endif | ||||
| @@ -83,7 +86,7 @@ char tmpstr[20]; | |||||
| #endif | #endif | ||||
| if (openblas_get_parallel() == 0) | if (openblas_get_parallel() == 0) | ||||
| sprintf(tmpstr, " SINGLE_THREADED"); | sprintf(tmpstr, " SINGLE_THREADED"); | ||||
| else | |||||
| else | |||||
| snprintf(tmpstr,19," MAX_THREADS=%d",MAX_CPU_NUMBER); | snprintf(tmpstr,19," MAX_THREADS=%d",MAX_CPU_NUMBER); | ||||
| strcat(tmp_config_str, tmpstr); | strcat(tmp_config_str, tmpstr); | ||||
| return tmp_config_str; | return tmp_config_str; | ||||
| @@ -91,7 +94,7 @@ char tmpstr[20]; | |||||
| char* openblas_get_corename(void) { | char* openblas_get_corename(void) { | ||||
| #ifndef DYNAMIC_ARCH | |||||
| #ifndef DYNAMIC_ARCH | |||||
| return CHAR_CORENAME; | return CHAR_CORENAME; | ||||
| #else | #else | ||||
| return gotoblas_corename(); | return gotoblas_corename(); | ||||