Add default for blas_omp_threads_local
This commit is contained in:
parent
87d31af2ae
commit
8a9d492af7
|
@ -113,6 +113,8 @@ extern unsigned int openblas_thread_timeout(void);
|
||||||
/* We need this global for checking if initialization is finished. */
|
/* We need this global for checking if initialization is finished. */
|
||||||
int blas_server_avail __attribute__((aligned(ATTRIBUTE_SIZE))) = 0;
|
int blas_server_avail __attribute__((aligned(ATTRIBUTE_SIZE))) = 0;
|
||||||
|
|
||||||
|
int blas_omp_threads_local = 1;
|
||||||
|
|
||||||
/* Local Variables */
|
/* Local Variables */
|
||||||
#if defined(USE_PTHREAD_LOCK)
|
#if defined(USE_PTHREAD_LOCK)
|
||||||
static pthread_mutex_t server_lock = PTHREAD_MUTEX_INITIALIZER;
|
static pthread_mutex_t server_lock = PTHREAD_MUTEX_INITIALIZER;
|
||||||
|
|
Loading…
Reference in New Issue