Update common_thread.h
This commit is contained in:
parent
1592c1f708
commit
8917203ebd
|
@ -159,7 +159,7 @@ static __inline int num_cpu_avail(int level) {
|
||||||
goto_set_num_threads(openmp_nthreads);
|
goto_set_num_threads(openmp_nthreads);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
if (blas_cpu_number > MAX_CPU_NUMBER) blas_cpu_number=MAX_CPU_NUMBER;
|
||||||
return blas_cpu_number;
|
return blas_cpu_number;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue