Browse Source
Merge pull request #3952 from martin-frbg/cleanup3936
Avoid unused variable warning in non-OpenMP builds
tags/v0.3.22^2
Martin Kroeker
GitHub
2 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
common_thread.h
|
|
@@ -138,9 +138,9 @@ typedef struct blas_queue { |
|
|
|
extern int blas_server_avail; |
|
|
|
|
|
|
|
static __inline int num_cpu_avail(int level) { |
|
|
|
int openmp_nthreads; |
|
|
|
|
|
|
|
#ifdef USE_OPENMP |
|
|
|
int openmp_nthreads; |
|
|
|
if (blas_num_threads_set == 0) |
|
|
|
openmp_nthreads=omp_get_max_threads(); |
|
|
|
else |
|
|
|