diff --git a/interface/ger.c b/interface/ger.c index eb3d224f0..0218d94dd 100644 --- a/interface/ger.c +++ b/interface/ger.c @@ -75,7 +75,7 @@ void NAME(blasint *M, blasint *N, FLOAT *Alpha, blasint incy = *INCY; blasint lda = *LDA; FLOAT *buffer; -#ifdef SMPTEST +#ifdef SMP int nthreads; #endif @@ -107,7 +107,7 @@ void CNAME(enum CBLAS_ORDER order, FLOAT *buffer; blasint info, t; -#ifdef SMPTEST +#ifdef SMP int nthreads; #endif @@ -167,7 +167,7 @@ void CNAME(enum CBLAS_ORDER order, buffer = (FLOAT *)blas_memory_alloc(1); -#ifdef SMPTEST +#ifdef SMP nthreads = num_cpu_avail(2); if (nthreads == 1) { @@ -175,7 +175,7 @@ void CNAME(enum CBLAS_ORDER order, GER(m, n, 0, alpha, x, incx, y, incy, a, lda, buffer); -#ifdef SMPTEST +#ifdef SMP } else { GER_THREAD(m, n, alpha, x, incx, y, incy, a, lda, buffer, nthreads); diff --git a/interface/zger.c b/interface/zger.c index 1b615a513..ad52f40bb 100644 --- a/interface/zger.c +++ b/interface/zger.c @@ -109,7 +109,7 @@ void NAME(blasint *M, blasint *N, FLOAT *Alpha, blasint incy = *INCY; blasint lda = *LDA; FLOAT *buffer; -#ifdef SMPTEST +#ifdef SMP int nthreads; #endif @@ -144,7 +144,7 @@ void CNAME(enum CBLAS_ORDER order, FLOAT *buffer; blasint info, t; -#ifdef SMPTEST +#ifdef SMP int nthreads; #endif @@ -205,7 +205,7 @@ void CNAME(enum CBLAS_ORDER order, buffer = (FLOAT *)blas_memory_alloc(1); -#ifdef SMPTEST +#ifdef SMP nthreads = num_cpu_avail(2); if (nthreads == 1) { @@ -221,7 +221,7 @@ void CNAME(enum CBLAS_ORDER order, } #endif -#ifdef SMPTEST +#ifdef SMP } else {