Browse Source

dead increments in driver/level2

pull/1380/head
Andrew 8 years ago
parent
commit
0278be9cac
4 changed files with 4 additions and 8 deletions
  1. +1
    -1
      driver/level2/gbmv_thread.c
  2. +1
    -1
      driver/level2/sbmv_thread.c
  3. +1
    -1
      driver/level2/tbmv_thread.c
  4. +1
    -5
      driver/level2/tpmv_thread.c

+ 1
- 1
driver/level2/gbmv_thread.c View File

@@ -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



+ 1
- 1
driver/level2/sbmv_thread.c View File

@@ -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,


+ 1
- 1
driver/level2/tbmv_thread.c View File

@@ -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;


+ 1
- 5
driver/level2/tpmv_thread.c View File

@@ -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];


Loading…
Cancel
Save