summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>2020-03-07 22:26:00 +0100
committerGitHub <noreply@github.com>2020-03-07 22:26:00 +0100
commit14df234edb8d3e37801318fcd49ddebddd5bb247 (patch)
tree53d2f93c252464152ceaaabf8a93ef3309f003cd /benchmark
parent37d456f7e0bb8fe3a2c0247e648d3c204071e215 (diff)
parentbbeda55b7b528ae1926fb8074cdc9bddf7720e08 (diff)
downloadopenblas-14df234edb8d3e37801318fcd49ddebddd5bb247.tar.gz
openblas-14df234edb8d3e37801318fcd49ddebddd5bb247.tar.bz2
openblas-14df234edb8d3e37801318fcd49ddebddd5bb247.zip
Merge pull request #2489 from jijiwawa/brightness
Remove redundant code
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/hemm.c2
-rw-r--r--benchmark/her2k.c2
-rw-r--r--benchmark/herk.c2
-rw-r--r--benchmark/symm.c2
-rw-r--r--benchmark/syr2k.c2
-rw-r--r--benchmark/syrk.c2
-rw-r--r--benchmark/trmm.c2
7 files changed, 0 insertions, 14 deletions
diff --git a/benchmark/hemm.c b/benchmark/hemm.c
index a0c549292..2fe0f5c5f 100644
--- a/benchmark/hemm.c
+++ b/benchmark/hemm.c
@@ -178,8 +178,6 @@ int main(int argc, char *argv[]){
time1 = (double)(stop.tv_sec - start.tv_sec) + (double)((stop.tv_usec - start.tv_usec)) * 1.e-6;
- gettimeofday( &start, (struct timezone *)0);
-
fprintf(stderr,
" %10.2f MFlops\n",
COMPSIZE * COMPSIZE * 2. * (double)m * (double)m * (double)m / time1 * 1.e-6);
diff --git a/benchmark/her2k.c b/benchmark/her2k.c
index 55421878a..a0772feff 100644
--- a/benchmark/her2k.c
+++ b/benchmark/her2k.c
@@ -177,8 +177,6 @@ int main(int argc, char *argv[]){
time1 = (double)(stop.tv_sec - start.tv_sec) + (double)((stop.tv_usec - start.tv_usec)) * 1.e-6;
- gettimeofday( &start, (struct timezone *)0);
-
fprintf(stderr,
" %10.2f MFlops\n",
COMPSIZE * COMPSIZE * 2. * (double)m * (double)m * (double)m / time1 * 1.e-6);
diff --git a/benchmark/herk.c b/benchmark/herk.c
index bd336e6b1..eed8ed738 100644
--- a/benchmark/herk.c
+++ b/benchmark/herk.c
@@ -175,8 +175,6 @@ int main(int argc, char *argv[]){
time1 = (double)(stop.tv_sec - start.tv_sec) + (double)((stop.tv_usec - start.tv_usec)) * 1.e-6;
- gettimeofday( &start, (struct timezone *)0);
-
fprintf(stderr,
" %10.2f MFlops\n",
COMPSIZE * COMPSIZE * 1. * (double)m * (double)m * (double)m / time1 * 1.e-6);
diff --git a/benchmark/symm.c b/benchmark/symm.c
index 9c26d92fe..b979e8d51 100644
--- a/benchmark/symm.c
+++ b/benchmark/symm.c
@@ -189,8 +189,6 @@ int main(int argc, char *argv[]){
time1 = (double)(stop.tv_sec - start.tv_sec) + (double)((stop.tv_usec - start.tv_usec)) * 1.e-6;
- gettimeofday( &start, (struct timezone *)0);
-
fprintf(stderr,
" %10.2f MFlops\n",
COMPSIZE * COMPSIZE * 2. * (double)m * (double)m * (double)m / time1 * 1.e-6);
diff --git a/benchmark/syr2k.c b/benchmark/syr2k.c
index 6b51e4f2b..b1fcd8a18 100644
--- a/benchmark/syr2k.c
+++ b/benchmark/syr2k.c
@@ -189,8 +189,6 @@ int main(int argc, char *argv[]){
time1 = (double)(stop.tv_sec - start.tv_sec) + (double)((stop.tv_usec - start.tv_usec)) * 1.e-6;
- gettimeofday( &start, (struct timezone *)0);
-
fprintf(stderr,
" %10.2f MFlops\n",
COMPSIZE * COMPSIZE * 2. * (double)m * (double)m * (double)m / time1 * 1.e-6);
diff --git a/benchmark/syrk.c b/benchmark/syrk.c
index 06582b861..95625a6c4 100644
--- a/benchmark/syrk.c
+++ b/benchmark/syrk.c
@@ -185,8 +185,6 @@ int main(int argc, char *argv[]){
time1 = (double)(stop.tv_sec - start.tv_sec) + (double)((stop.tv_usec - start.tv_usec)) * 1.e-6;
- gettimeofday( &start, (struct timezone *)0);
-
fprintf(stderr,
" %10.2f MFlops\n",
COMPSIZE * COMPSIZE * 1. * (double)m * (double)m * (double)m / time1 * 1.e-6);
diff --git a/benchmark/trmm.c b/benchmark/trmm.c
index 6a5e59c7b..e095b85ee 100644
--- a/benchmark/trmm.c
+++ b/benchmark/trmm.c
@@ -188,8 +188,6 @@ int main(int argc, char *argv[]){
time1 = (double)(stop.tv_sec - start.tv_sec) + (double)((stop.tv_usec - start.tv_usec)) * 1.e-6;
- gettimeofday( &start, (struct timezone *)0);
-
fprintf(stderr,
" %10.2f MFlops %10.6f sec\n",
COMPSIZE * COMPSIZE * 1. * (double)m * (double)m * (double)m / time1 * 1.e-6, time1);