Browse Source

Correct index variables used in MFlops calculation

Fixes #1474
tags/v0.3.0
Martin Kroeker GitHub 8 years ago
parent
commit
35c5a32309
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      benchmark/gemm.c

+ 1
- 1
benchmark/gemm.c View File

@@ -237,7 +237,7 @@ int main(int argc, char *argv[]){
timeg = time1/loops;
fprintf(stderr,
" %10.2f MFlops %10.6f sec\n",
COMPSIZE * COMPSIZE * 2. * (double)m * (double)m * (double)n / timeg * 1.e-6, time1);
COMPSIZE * COMPSIZE * 2. * (double)k * (double)m * (double)n / timeg * 1.e-6, time1);
}



Loading…
Cancel
Save