Browse Source

fix improper function prototypes (empty parentheses)

tags/v0.3.25^2
Martin Kroeker GitHub 2 years ago
parent
commit
cf2174fb69
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      driver/others/blas_server_omp.c

+ 5
- 5
driver/others/blas_server_omp.c View File

@@ -70,7 +70,7 @@
int blas_server_avail = 0;
int blas_omp_number_max = 0;

extern int openblas_omp_adaptive_env();
extern int openblas_omp_adaptive_env(void);

static void * blas_thread_buffer[MAX_PARALLEL_NUMBER][MAX_CPU_NUMBER];
#ifdef HAVE_C11
@@ -79,7 +79,7 @@ static atomic_bool blas_buffer_inuse[MAX_PARALLEL_NUMBER];
static _Bool blas_buffer_inuse[MAX_PARALLEL_NUMBER];
#endif

static void adjust_thread_buffers() {
static void adjust_thread_buffers(void) {

int i=0, j=0;

@@ -124,9 +124,9 @@ void openblas_set_num_threads(int num_threads) {
}

int blas_thread_init(void){
if(blas_omp_number_max <= 0)
blas_omp_number_max = omp_get_max_threads();
if(blas_omp_number_max <= 0)
blas_omp_number_max = omp_get_max_threads();
blas_get_cpu_number();

adjust_thread_buffers();


Loading…
Cancel
Save