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:
f430e54
)
Refs #119 #118. Fixed disabling hyper threading bug.
author
Xianyi Zhang
<xianyi@iscas.ac.cn>
Fri, 29 Jun 2012 07:53:24 +0000
(15:53 +0800)
committer
Xianyi Zhang
<xianyi@iscas.ac.cn>
Fri, 29 Jun 2012 07:53:24 +0000
(15:53 +0800)
driver/others/init.c
patch
|
blob
|
history
diff --git
a/driver/others/init.c
b/driver/others/init.c
index 4a6f0aae8a21823da3a28b047e7bf3df0490ee17..f6924d5f4a7eeab5a2ac646e93278daeedcf6e8f 100644
(file)
--- a/
driver/others/init.c
+++ b/
driver/others/init.c
@@
-447,6
+447,9
@@
static void disable_hyperthread(void) {
//When the shared cpu are in different element of share & avail array, this may be a bug.
for (i = 0; i < count ; i++){
+
+ share[i] &= common->avail[i];
+
if (popcount(share[i]) > 1) {
#ifdef DEBUG