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:
fd0c388
)
Refs #225. Fixed a bug in GEMM OpenMP threading.
author
Zhang Xianyi
<traits.zhang@gmail.com>
Mon, 15 Jul 2013 01:56:19 +0000
(09:56 +0800)
committer
Zhang Xianyi
<traits.zhang@gmail.com>
Mon, 15 Jul 2013 01:56:19 +0000
(09:56 +0800)
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
c567ed6
..
0a484f3
100644
(file)
--- a/
driver/others/blas_server_omp.c
+++ b/
driver/others/blas_server_omp.c
@@
-231,7
+231,10
@@
static void exec_threads(blas_queue_t *queue){
release_flag=1;
}
- if (sa == NULL) sa = (void *)((BLASLONG)buffer + GEMM_OFFSET_A);
+ if (sa == NULL) {
+ sa = (void *)((BLASLONG)buffer + GEMM_OFFSET_A);
+ queue->sa=sa;
+ }
if (sb == NULL) {
if (!(queue -> mode & BLAS_COMPLEX)){