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 70
70
int blas_server_avail = 0 ;
71
71
int blas_omp_number_max = 0 ;
72
72
73
- extern int openblas_omp_adaptive_env ();
73
+ extern int openblas_omp_adaptive_env (void );
74
74
75
75
static void * blas_thread_buffer [MAX_PARALLEL_NUMBER ][MAX_CPU_NUMBER ];
76
76
#ifdef HAVE_C11
@@ -79,7 +79,7 @@ static atomic_bool blas_buffer_inuse[MAX_PARALLEL_NUMBER];
79
79
static _Bool blas_buffer_inuse [MAX_PARALLEL_NUMBER ];
80
80
#endif
81
81
82
- static void adjust_thread_buffers () {
82
+ static void adjust_thread_buffers (void ) {
83
83
84
84
int i = 0 , j = 0 ;
85
85
@@ -124,9 +124,9 @@ void openblas_set_num_threads(int num_threads) {
124
124
}
125
125
126
126
int 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
+
130
130
blas_get_cpu_number ();
131
131
132
132
adjust_thread_buffers ();
You can’t perform that action at this time.
0 commit comments