Browse Source

Merge pull request #4568 from martin-frbg/fixbenchloops

Fix bad assignment of OPENBLAS_LOOPS  variable in several benchmarks
tags/v0.3.27
Martin Kroeker GitHub 1 year ago
parent
commit
9ad9b52884
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      benchmark/getri.c
  2. +1
    -1
      benchmark/linpack.c
  3. +1
    -1
      benchmark/potrf.c
  4. +1
    -1
      benchmark/syr2.c

+ 1
- 1
benchmark/getri.c View File

@@ -92,7 +92,7 @@ int main(int argc, char *argv[]){

if ((p = getenv("OPENBLAS_TEST"))) btest=*p;
if ((p = getenv("OPENBLAS_LOOPS"))) loops=*p;
if ((p = getenv("OPENBLAS_LOOPS"))) loops=atoi(p);

fprintf(stderr, "From : %3d To : %3d Step = %3d\n", from, to, step);



+ 1
- 1
benchmark/linpack.c View File

@@ -85,7 +85,7 @@ int main(int argc, char *argv[]){
double time1, time2, timeg1,timeg2;

char *p;
if ((p = getenv("OPENBLAS_LOOPS"))) loops=*p;
if ((p = getenv("OPENBLAS_LOOPS"))) loops=atoi(p);
argc--;argv++;



+ 1
- 1
benchmark/potrf.c View File

@@ -120,7 +120,7 @@ int main(int argc, char *argv[]){

if ((p = getenv("OPENBLAS_TEST"))) btest=*p;

if ((p = getenv("OPENBLAS_LOOPS"))) loops=*p;
if ((p = getenv("OPENBLAS_LOOPS"))) loops=atoi(p);

fprintf(stderr, "From : %3d To : %3d Step = %3d Uplo = %c\n", from, to, step,*uplo[uplos]);



+ 1
- 1
benchmark/syr2.c View File

@@ -54,7 +54,7 @@ int main(int argc, char *argv[]){
int step = 1;
int loops = 1;

if ((p = getenv("OPENBLAS_LOOPS"))) loops=*p;
if ((p = getenv("OPENBLAS_LOOPS"))) loops=atoi(p);

double time1,timeg;



Loading…
Cancel
Save