Browse Source

Merge branch 'develop' of https://github.com/aaawuanjun/OpenBLAS into develop

tags/v0.3.10^2
wuanjun 00447568 5 years ago
parent
commit
87baf9cfe6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      benchmark/trmv.c

+ 2
- 2
benchmark/trmv.c View File

@@ -106,7 +106,7 @@ int main(int argc, char *argv[])
if ((p = getenv("OPENBLAS_LOOPS"))) loops = atoi(p);
if ((p = getenv("OPENBLAS_INCX"))) inc_x = atoi(p);

long n, i, j;
blasint n, i, j;

int from = 1;
int to = 200;
@@ -144,7 +144,7 @@ int main(int argc, char *argv[])
fprintf(stderr, " %6d : ", (int)n);
for(j = 0; j < n; j++) {
for(i = 0; i < n * COMPSIZE; i++) {
a[i + j * n * COMPSIZE] = ((FLOAT) rand() / (FLOAT) RAND_MAX) - 0.5;
a[(long)i + (long)j * (long)n * COMPSIZE] = ((FLOAT) rand() / (FLOAT) RAND_MAX) - 0.5;
}
}



Loading…
Cancel
Save