From 0278be9cac8d49fbee7000b6a634f4c7cb92d7e1 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sat, 2 Dec 2017 21:28:46 +0100 Subject: [PATCH] dead increments in driver/level2 --- driver/level2/gbmv_thread.c | 2 +- driver/level2/sbmv_thread.c | 2 +- driver/level2/tbmv_thread.c | 2 +- driver/level2/tpmv_thread.c | 6 +----- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/driver/level2/gbmv_thread.c b/driver/level2/gbmv_thread.c index 9d374676e..c0cb947dc 100644 --- a/driver/level2/gbmv_thread.c +++ b/driver/level2/gbmv_thread.c @@ -96,7 +96,7 @@ static int gbmv_kernel(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, F COPY_K(args -> m, x, incx, buffer, 1); x = buffer; - buffer += ((COMPSIZE * args -> m + 1023) & ~1023); + // buffer += ((COMPSIZE * args -> m + 1023) & ~1023); } #endif diff --git a/driver/level2/sbmv_thread.c b/driver/level2/sbmv_thread.c index ce841ee0e..e59451c5a 100644 --- a/driver/level2/sbmv_thread.c +++ b/driver/level2/sbmv_thread.c @@ -91,7 +91,7 @@ static int sbmv_kernel(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, F COPY_K(n, x, incx, buffer, 1); x = buffer; - buffer += ((COMPSIZE * n + 1023) & ~1023); + // buffer += ((COMPSIZE * n + 1023) & ~1023); } SCAL_K(n, 0, 0, ZERO, diff --git a/driver/level2/tbmv_thread.c b/driver/level2/tbmv_thread.c index aaf4958e2..35e5ff1cd 100644 --- a/driver/level2/tbmv_thread.c +++ b/driver/level2/tbmv_thread.c @@ -107,7 +107,7 @@ static int trmv_kernel(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, F COPY_K(args -> n, x, incx, buffer, 1); x = buffer; - buffer += ((args -> n * COMPSIZE + 1023) & ~1023); + // buffer += ((args -> n * COMPSIZE + 1023) & ~1023); } if (range_n) y += *range_n * COMPSIZE; diff --git a/driver/level2/tpmv_thread.c b/driver/level2/tpmv_thread.c index 79438ba29..b7eb10571 100644 --- a/driver/level2/tpmv_thread.c +++ b/driver/level2/tpmv_thread.c @@ -112,7 +112,7 @@ static int tpmv_kernel(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, F #endif x = buffer; - buffer += ((COMPSIZE * args -> m + 1023) & ~1023); + // buffer += ((COMPSIZE * args -> m + 1023) & ~1023); } #ifndef TRANS @@ -234,11 +234,7 @@ static int tpmv_kernel(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, F return 0; } -#ifndef COMPLEX int CNAME(BLASLONG m, FLOAT *a, FLOAT *x, BLASLONG incx, FLOAT *buffer, int nthreads){ -#else -int CNAME(BLASLONG m, FLOAT *a, FLOAT *x, BLASLONG incx, FLOAT *buffer, int nthreads){ -#endif blas_arg_t args; blas_queue_t queue[MAX_CPU_NUMBER];