projects
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ad09df
)
Fixed the undefined reference to blas_set_parameter
author
Dandan Zhang
<zhangdandan@loongson.cn>
Fri, 8 Nov 2024 13:59:11 +0000
(14:59 +0100)
committer
Gianfranco Costamagna
<locutusofborg@debian.org>
Fri, 8 Nov 2024 13:59:11 +0000
(14:59 +0100)
Applied-Upstream: <0.3.29>, <https://github.com/OpenMathLib/OpenBLAS/pull/4877>
Last-Update: 2024-11-01
Gbp-Pq: Name openblas-Fixed-undefined-reference-to-blas_set_parameter.patc
driver/others/blas_server_omp.c
patch
|
blob
|
history
diff --git
a/driver/others/blas_server_omp.c
b/driver/others/blas_server_omp.c
index 06862cec02ecf244e553a2349a59f901ea0b53c7..4341389d81e251b0b9d828ce2c6b84bfa24cf039 100644
(file)
--- a/
driver/others/blas_server_omp.c
+++ b/
driver/others/blas_server_omp.c
@@
-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) {