projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ab5bf1
)
Correct index variables used in MFlops calculation
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Tue, 27 Mar 2018 19:52:29 +0000
(21:52 +0200)
committer
GitHub
<noreply@github.com>
Tue, 27 Mar 2018 19:52:29 +0000
(21:52 +0200)
Fixes #1474
benchmark/gemm.c
patch
|
blob
|
history
diff --git
a/benchmark/gemm.c
b/benchmark/gemm.c
index
809813c
..
85bcbc7
100644
(file)
--- a/
benchmark/gemm.c
+++ b/
benchmark/gemm.c
@@
-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);
}