Browse Source

THUNDERX2T99: Fix bug in SNRM2

tags/v0.2.20^2
Ashwin Sekhar T K 9 years ago
parent
commit
8e89668f62
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      kernel/arm64/snrm2_thunderx2t99.c

+ 1
- 1
kernel/arm64/snrm2_thunderx2t99.c View File

@@ -243,7 +243,7 @@ FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)

ptr = (double *)result;
for (i = 0; i < nthreads; i++) {
nrm2_double = nrm2_double + (*ptr) * (*ptr);
nrm2_double = nrm2_double + (*ptr);
ptr = (double *)(((char *)ptr) + sizeof(double) * 2);
}
}


Loading…
Cancel
Save