Skip to content

Commit 8a9d492

Browse files
authored
Add default for blas_omp_threads_local
1 parent 87d31af commit 8a9d492

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

driver/others/blas_server.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ extern unsigned int openblas_thread_timeout(void);
113113
/* We need this global for checking if initialization is finished. */
114114
int blas_server_avail __attribute__((aligned(ATTRIBUTE_SIZE))) = 0;
115115

116+
int blas_omp_threads_local = 1;
117+
116118
/* Local Variables */
117119
#if defined(USE_PTHREAD_LOCK)
118120
static pthread_mutex_t server_lock = PTHREAD_MUTEX_INITIALIZER;

0 commit comments

Comments
 (0)