summaryrefslogtreecommitdiff
path: root/interface/sbmv.c
diff options
context:
space:
mode:
authorwernsaar <wernsaar@googlemail.com>2014-05-10 23:18:35 +0200
committerwernsaar <wernsaar@googlemail.com>2014-05-10 23:18:35 +0200
commitde00e2937a3eb13d7cfc52b8a7a0b77deda1e550 (patch)
tree04af59bbcbd0d2be0a754440d446e7b293f11daa /interface/sbmv.c
parente187b5e9d0e70fc2b976e83070fa00aa1c18869e (diff)
downloadopenblas-de00e2937a3eb13d7cfc52b8a7a0b77deda1e550.tar.gz
openblas-de00e2937a3eb13d7cfc52b8a7a0b77deda1e550.tar.bz2
openblas-de00e2937a3eb13d7cfc52b8a7a0b77deda1e550.zip
marked as smp bug
Diffstat (limited to 'interface/sbmv.c')
-rw-r--r--interface/sbmv.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/interface/sbmv.c b/interface/sbmv.c
index f82ca537c..c481d5609 100644
--- a/interface/sbmv.c
+++ b/interface/sbmv.c
@@ -61,7 +61,7 @@ static int (*sbmv[])(BLASLONG, BLASLONG, FLOAT, FLOAT *, BLASLONG, FLOAT *, BLA
#endif
};
-#ifdef SMPTEST
+#ifdef SMPBUG
static int (*sbmv_thread[])(BLASLONG, BLASLONG, FLOAT, FLOAT *, BLASLONG, FLOAT *, BLASLONG, FLOAT *, BLASLONG, FLOAT *, int) = {
#ifdef XDOUBLE
qsbmv_thread_U, qsbmv_thread_L,
@@ -90,7 +90,7 @@ void NAME(char *UPLO, blasint *N, blasint *K, FLOAT *ALPHA, FLOAT *a, blasint *
blasint info;
int uplo;
FLOAT *buffer;
-#ifdef SMPTEST
+#ifdef SMPBUG
int nthreads;
#endif
@@ -130,7 +130,7 @@ void CNAME(enum CBLAS_ORDER order,
FLOAT *buffer;
int uplo;
blasint info;
-#ifdef SMPTEST
+#ifdef SMPBUG
int nthreads;
#endif
@@ -189,7 +189,7 @@ void CNAME(enum CBLAS_ORDER order,
buffer = (FLOAT *)blas_memory_alloc(1);
-#ifdef SMPTEST
+#ifdef SMPBUG
nthreads = num_cpu_avail(2);
if (nthreads == 1) {
@@ -197,7 +197,7 @@ void CNAME(enum CBLAS_ORDER order,
(sbmv[uplo])(n, k, alpha, a, lda, x, incx, y, incy, buffer);
-#ifdef SMPTEST
+#ifdef SMPBUG
} else {
(sbmv_thread[uplo])(n, k, alpha, a, lda, x, incx, y, incy, buffer, nthreads);