Browse Source

Add default for blas_omp_threads_local

tags/v0.3.27
Martin Kroeker GitHub 1 year ago
parent
commit
8a9d492af7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      driver/others/blas_server.c

+ 2
- 0
driver/others/blas_server.c 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;


Loading…
Cancel
Save