From 1999b8f97825f2aca782c424c85868e086459bc2 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Tue, 13 Apr 2021 10:47:58 +0200 Subject: [PATCH] Update common_thread.h --- common_thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common_thread.h b/common_thread.h index 2c0e24e21..e0e067949 100644 --- a/common_thread.h +++ b/common_thread.h @@ -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); }