Add default for blas_omp_threads_local

This commit is contained in:
Martin Kroeker
2024-01-14 19:58:49 +01:00
committed by GitHub
parent 87d31af2ae
commit 8a9d492af7

View File

@@ -113,6 +113,8 @@ extern unsigned int openblas_thread_timeout(void);
/* We need this global for checking if initialization is finished. */
int blas_server_avail __attribute__((aligned(ATTRIBUTE_SIZE))) = 0;
int blas_omp_threads_local = 1;
/* Local Variables */
#if defined(USE_PTHREAD_LOCK)
static pthread_mutex_t server_lock = PTHREAD_MUTEX_INITIALIZER;