Browse Source

Update common_thread.h

pull/3166/head
Martin Kroeker GitHub 5 years ago
parent
commit
1999b8f978
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common_thread.h

+ 1
- 1
common_thread.h View File

@@ -151,7 +151,7 @@ static __inline int num_cpu_avail(int level) {
) return 1;

#ifdef USE_OPENMP
openmp_nthreads = omp_get_max_threads();
openmp_nthreads = 2; //omp_get_max_threads();
if (blas_cpu_number != openmp_nthreads) {
goto_set_num_threads(openmp_nthreads);
}


Loading…
Cancel
Save