checked that axpy is OK
authorwernsaar <wernsaar@googlemail.com>
Sat, 10 May 2014 20:09:49 +0000 (22:09 +0200)
committerwernsaar <wernsaar@googlemail.com>
Sat, 10 May 2014 20:09:49 +0000 (22:09 +0200)
interface/axpy.c
interface/zaxpy.c

index b8a96c9..82b0ee2 100644 (file)
@@ -57,7 +57,7 @@ void CNAME(blasint n, FLOAT alpha, FLOAT *x, blasint incx, FLOAT *y, blasint inc
 
 #endif
 
-#ifdef SMPTEST
+#ifdef SMP
   int mode, nthreads;
 #endif
 
@@ -78,7 +78,7 @@ void CNAME(blasint n, FLOAT alpha, FLOAT *x, blasint incx, FLOAT *y, blasint inc
   if (incx < 0) x -= (n - 1) * incx;
   if (incy < 0) y -= (n - 1) * incy;
 
-#ifdef SMPTEST
+#ifdef SMP
   nthreads = num_cpu_avail(1);
 
   //disable multi-thread when incx==0 or incy==0
@@ -95,7 +95,7 @@ void CNAME(blasint n, FLOAT alpha, FLOAT *x, blasint incx, FLOAT *y, blasint inc
 
   AXPYU_K(n, 0, 0, alpha, x, incx, y, incy, NULL, 0);
 
-#ifdef SMPTEST
+#ifdef SMP
   } else {
 
 #ifdef XDOUBLE
index 5ae3955..9ed72ef 100644 (file)
@@ -59,7 +59,7 @@ void CNAME(blasint n, FLOAT *ALPHA, FLOAT *x, blasint incx, FLOAT *y, blasint in
   FLOAT alpha_r = *(ALPHA + 0);
   FLOAT alpha_i = *(ALPHA + 1);
 
-#ifdef SMPTEST
+#ifdef SMP
   int mode, nthreads;
 #endif
 
@@ -80,7 +80,7 @@ void CNAME(blasint n, FLOAT *ALPHA, FLOAT *x, blasint incx, FLOAT *y, blasint in
   if (incx < 0) x -= (n - 1) * incx * 2;
   if (incy < 0) y -= (n - 1) * incy * 2;
 
-#ifdef SMPTEST
+#ifdef SMP
   nthreads = num_cpu_avail(1);
 
   //disable multi-thread when incx==0 or incy==0
@@ -97,7 +97,7 @@ void CNAME(blasint n, FLOAT *ALPHA, FLOAT *x, blasint incx, FLOAT *y, blasint in
     AXPYC_K(n, 0, 0, alpha_r, alpha_i, x, incx, y, incy, NULL, 0);
 #endif
     
-#ifdef SMPTEST
+#ifdef SMP
   } else {
     
 #ifdef XDOUBLE