File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 7070int blas_server_avail = 0 ;
7171int blas_omp_number_max = 0 ;
7272
73- extern int openblas_omp_adaptive_env ();
73+ extern int openblas_omp_adaptive_env (void );
7474
7575static void * blas_thread_buffer [MAX_PARALLEL_NUMBER ][MAX_CPU_NUMBER ];
7676#ifdef HAVE_C11
@@ -79,7 +79,7 @@ static atomic_bool blas_buffer_inuse[MAX_PARALLEL_NUMBER];
7979static _Bool blas_buffer_inuse [MAX_PARALLEL_NUMBER ];
8080#endif
8181
82- static void adjust_thread_buffers () {
82+ static void adjust_thread_buffers (void ) {
8383
8484 int i = 0 , j = 0 ;
8585
@@ -124,9 +124,9 @@ void openblas_set_num_threads(int num_threads) {
124124}
125125
126126int blas_thread_init (void ){
127- if (blas_omp_number_max <= 0 )
128- blas_omp_number_max = omp_get_max_threads ();
129-
127+ if (blas_omp_number_max <= 0 )
128+ blas_omp_number_max = omp_get_max_threads ();
129+
130130 blas_get_cpu_number ();
131131
132132 adjust_thread_buffers ();
You can’t perform that action at this time.
0 commit comments