Fixed the undefined reference to blas_set_parameter

Fixed the undefined reference to blas_set_parameter when
enabling USE_OPENMP and DYNAMIC_ARCH.
This commit is contained in:
gxw 2024-08-15 16:48:48 +08:00
parent e1eef56e05
commit fd033467ac
1 changed files with 2 additions and 0 deletions

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) {