Skip to content

Commit 07ed01e

Browse files
authored
Merge pull request #1500 from martin-frbg/issue1474
Correct index variables used in MFlops calculation
2 parents c7b55b6 + 35c5a32 commit 07ed01e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/gemm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ int main(int argc, char *argv[]){
237237
timeg = time1/loops;
238238
fprintf(stderr,
239239
" %10.2f MFlops %10.6f sec\n",
240-
COMPSIZE * COMPSIZE * 2. * (double)m * (double)m * (double)n / timeg * 1.e-6, time1);
240+
COMPSIZE * COMPSIZE * 2. * (double)k * (double)m * (double)n / timeg * 1.e-6, time1);
241241

242242
}
243243

0 commit comments

Comments
 (0)