checked, that zher is OK

This commit is contained in:
wernsaar 2014-05-11 10:36:34 +02:00
parent 47e8950e77
commit 5e4b4f6712
1 changed files with 5 additions and 5 deletions

View File

@ -61,7 +61,7 @@ static int (*her[])(BLASLONG, FLOAT, FLOAT *, BLASLONG, FLOAT *, BLASLONG, FLOAT
#endif #endif
}; };
#ifdef SMPTEST #ifdef SMP
static int (*her_thread[])(BLASLONG, FLOAT, FLOAT *, BLASLONG, FLOAT *, BLASLONG, FLOAT *, int) = { static int (*her_thread[])(BLASLONG, FLOAT, FLOAT *, BLASLONG, FLOAT *, BLASLONG, FLOAT *, int) = {
#ifdef XDOUBLE #ifdef XDOUBLE
xher_thread_U, xher_thread_L, xher_thread_V, xher_thread_M, xher_thread_U, xher_thread_L, xher_thread_V, xher_thread_M,
@ -87,7 +87,7 @@ void NAME(char *UPLO, blasint *N, FLOAT *ALPHA,
blasint info; blasint info;
int uplo; int uplo;
FLOAT *buffer; FLOAT *buffer;
#ifdef SMPTEST #ifdef SMP
int nthreads; int nthreads;
#endif #endif
@ -118,7 +118,7 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint n, FLOAT alpha,
FLOAT *buffer; FLOAT *buffer;
int trans, uplo; int trans, uplo;
blasint info; blasint info;
#ifdef SMPTEST #ifdef SMP
int nthreads; int nthreads;
#endif #endif
@ -174,7 +174,7 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint n, FLOAT alpha,
buffer = (FLOAT *)blas_memory_alloc(1); buffer = (FLOAT *)blas_memory_alloc(1);
#ifdef SMPTEST #ifdef SMP
nthreads = num_cpu_avail(2); nthreads = num_cpu_avail(2);
if (nthreads == 1) { if (nthreads == 1) {
@ -182,7 +182,7 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, blasint n, FLOAT alpha,
(her[uplo])(n, alpha, x, incx, a, lda, buffer); (her[uplo])(n, alpha, x, incx, a, lda, buffer);
#ifdef SMPTEST #ifdef SMP
} else { } else {
(her_thread[uplo])(n, alpha, x, incx, a, lda, buffer, nthreads); (her_thread[uplo])(n, alpha, x, incx, a, lda, buffer, nthreads);