We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60ff587 commit 2dba455Copy full SHA for 2dba455
common_thread.h
@@ -141,14 +141,14 @@ static __inline int num_cpu_avail(int level) {
141
142
#ifdef USE_OPENMP
143
int openmp_nthreads;
144
- openmp_nthreads=omp_get_max_threads(void);
+ openmp_nthreads=omp_get_max_threads();
145
#endif
146
147
#ifndef USE_OPENMP
148
if (blas_cpu_number == 1
149
150
151
- if (openmp_nthreads == 1 || omp_in_parallel(void)
+ if (openmp_nthreads == 1 || omp_in_parallel()
152
153
) return 1;
154
0 commit comments