Browse Source

Fixed the undefined reference to blas_set_parameter

Fixed the undefined reference to blas_set_parameter when
enabling USE_OPENMP and DYNAMIC_ARCH.
tags/v0.3.29
gxw 1 year ago
parent
commit
fd033467ac
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      driver/others/blas_server_omp.c

+ 2
- 0
driver/others/blas_server_omp.c View File

@@ -114,9 +114,11 @@ void goto_set_num_threads(int num_threads) {

adjust_thread_buffers();
#if defined(ARCH_MIPS64) || defined(ARCH_LOONGARCH64)
#ifndef DYNAMIC_ARCH
//set parameters for different number of threads.
blas_set_parameter();
#endif
#endif

}
void openblas_set_num_threads(int num_threads) {


Loading…
Cancel
Save