revert accidental changes
This commit is contained in:
parent
60ff5872af
commit
2dba455d2e
|
@ -141,14 +141,14 @@ static __inline int num_cpu_avail(int level) {
|
|||
|
||||
#ifdef USE_OPENMP
|
||||
int openmp_nthreads;
|
||||
openmp_nthreads=omp_get_max_threads(void);
|
||||
openmp_nthreads=omp_get_max_threads();
|
||||
#endif
|
||||
|
||||
#ifndef USE_OPENMP
|
||||
if (blas_cpu_number == 1
|
||||
#endif
|
||||
#ifdef USE_OPENMP
|
||||
if (openmp_nthreads == 1 || omp_in_parallel(void)
|
||||
if (openmp_nthreads == 1 || omp_in_parallel()
|
||||
#endif
|
||||
) return 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue