projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c856c0
)
Refs #47. Fixed the seting parameter bug on Loongson 3A single thread version.
author
Xianyi Zhang
<traits.zhang@gmail.com>
Thu, 8 Sep 2011 16:39:34 +0000
(16:39 +0000)
committer
Xianyi Zhang
<traits.zhang@gmail.com>
Thu, 8 Sep 2011 16:39:34 +0000
(16:39 +0000)
driver/others/parameter.c
patch
|
blob
|
history
diff --git
a/driver/others/parameter.c
b/driver/others/parameter.c
index
80f7084
..
4a8542a
100644
(file)
--- a/
driver/others/parameter.c
+++ b/
driver/others/parameter.c
@@
-684,13
+684,17
@@
void blas_set_parameter(void){
#if defined(ARCH_MIPS64)
void blas_set_parameter(void){
#if defined(LOONGSON3A)
+#ifdef SMP
if(blas_num_threads == 1){
+#endif
//single thread
dgemm_r = 1000;
+#ifdef SMP
}else{
//multi thread
dgemm_r = 300;
}
#endif
+#endif
}
#endif