Merge pull request #3951 from martin-frbg/issue3940
Do not change the global OMP_NUM_THREADS
This commit is contained in:
commit
2885e4d898
|
@ -112,8 +112,6 @@ void goto_set_num_threads(int num_threads) {
|
|||
|
||||
blas_cpu_number = num_threads;
|
||||
|
||||
omp_set_num_threads(blas_cpu_number);
|
||||
|
||||
adjust_thread_buffers();
|
||||
#if defined(ARCH_MIPS64)
|
||||
//set parameters for different number of threads.
|
||||
|
|
Loading…
Reference in New Issue