summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>2020-09-30 22:59:41 +0200
committerGitHub <noreply@github.com>2020-09-30 22:59:41 +0200
commit5464eb13ea362012047d98dd7c6ecd33ca58b27b (patch)
treea44a188710adfb663c43f458e5bf09063c20784c /benchmark
parente1574cbc83a691f2f0ff898c9976e1f5861d9686 (diff)
downloadopenblas-5464eb13ea362012047d98dd7c6ecd33ca58b27b.tar.gz
openblas-5464eb13ea362012047d98dd7c6ecd33ca58b27b.tar.bz2
openblas-5464eb13ea362012047d98dd7c6ecd33ca58b27b.zip
Change ifdef linux to __linux for C11 compatibility
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/amax.c2
-rw-r--r--benchmark/amin.c2
-rw-r--r--benchmark/asum.c2
-rw-r--r--benchmark/axpby.c2
-rw-r--r--benchmark/axpy.c2
-rw-r--r--benchmark/copy.c2
-rw-r--r--benchmark/dot.c2
-rw-r--r--benchmark/geev.c2
-rw-r--r--benchmark/gemm.c2
-rw-r--r--benchmark/gemm3m.c2
-rw-r--r--benchmark/gemv.c2
-rw-r--r--benchmark/ger.c2
-rw-r--r--benchmark/gesv.c2
-rw-r--r--benchmark/getri.c2
-rw-r--r--benchmark/hbmv.c2
-rw-r--r--benchmark/hemm.c2
-rw-r--r--benchmark/hemv.c2
-rw-r--r--benchmark/her.c2
-rw-r--r--benchmark/her2.c2
-rw-r--r--benchmark/her2k.c2
-rw-r--r--benchmark/herk.c2
-rw-r--r--benchmark/hpmv.c2
-rw-r--r--benchmark/iamax.c2
-rw-r--r--benchmark/iamin.c2
-rw-r--r--benchmark/imax.c2
-rw-r--r--benchmark/imin.c2
-rw-r--r--benchmark/linpack.c2
-rw-r--r--benchmark/max.c2
-rw-r--r--benchmark/min.c2
-rw-r--r--benchmark/nrm2.c2
-rw-r--r--benchmark/rot.c2
-rw-r--r--benchmark/rotm.c2
-rw-r--r--benchmark/scal.c2
-rw-r--r--benchmark/spmv.c2
-rwxr-xr-xbenchmark/spr.c2
-rwxr-xr-xbenchmark/spr2.c2
-rw-r--r--benchmark/swap.c2
-rw-r--r--benchmark/symm.c2
-rw-r--r--benchmark/symv.c2
-rw-r--r--benchmark/syr.c2
-rw-r--r--benchmark/syr2.c2
-rw-r--r--benchmark/syr2k.c2
-rw-r--r--benchmark/syrk.c2
-rw-r--r--benchmark/tpmv.c2
-rw-r--r--benchmark/tpsv.c2
-rw-r--r--benchmark/trmm.c2
-rw-r--r--benchmark/trmv.c2
-rw-r--r--benchmark/trsm.c2
-rw-r--r--benchmark/trsv.c2
-rw-r--r--benchmark/zdot-intel.c2
-rw-r--r--benchmark/zdot.c2
51 files changed, 51 insertions, 51 deletions
diff --git a/benchmark/amax.c b/benchmark/amax.c
index 32f55ce83..19ae95c8b 100644
--- a/benchmark/amax.c
+++ b/benchmark/amax.c
@@ -146,7 +146,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/amin.c b/benchmark/amin.c
index 218f0ea9f..d0cadbd3b 100644
--- a/benchmark/amin.c
+++ b/benchmark/amin.c
@@ -145,7 +145,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/asum.c b/benchmark/asum.c
index e3d16acfd..bcccd9089 100644
--- a/benchmark/asum.c
+++ b/benchmark/asum.c
@@ -152,7 +152,7 @@ int main(int argc, char *argv[]){
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/axpby.c b/benchmark/axpby.c
index 3b3dd9979..793ee7e40 100644
--- a/benchmark/axpby.c
+++ b/benchmark/axpby.c
@@ -152,7 +152,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/axpy.c b/benchmark/axpy.c
index e40f93c70..760703c1d 100644
--- a/benchmark/axpy.c
+++ b/benchmark/axpy.c
@@ -151,7 +151,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/copy.c b/benchmark/copy.c
index d7f58c94f..eb5148fff 100644
--- a/benchmark/copy.c
+++ b/benchmark/copy.c
@@ -154,7 +154,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/dot.c b/benchmark/dot.c
index 50d05e532..aae3c04b0 100644
--- a/benchmark/dot.c
+++ b/benchmark/dot.c
@@ -145,7 +145,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/geev.c b/benchmark/geev.c
index ef9271220..4fd2c8d6f 100644
--- a/benchmark/geev.c
+++ b/benchmark/geev.c
@@ -214,7 +214,7 @@ int main(int argc, char *argv[]){
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/gemm.c b/benchmark/gemm.c
index d2235330b..84dd292c5 100644
--- a/benchmark/gemm.c
+++ b/benchmark/gemm.c
@@ -197,7 +197,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/gemm3m.c b/benchmark/gemm3m.c
index f4048c436..98c13e1be 100644
--- a/benchmark/gemm3m.c
+++ b/benchmark/gemm3m.c
@@ -163,7 +163,7 @@ int main(int argc, char *argv[]){
loops = atoi(p);
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/gemv.c b/benchmark/gemv.c
index a9dee67d2..fb1f541d3 100644
--- a/benchmark/gemv.c
+++ b/benchmark/gemv.c
@@ -181,7 +181,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/ger.c b/benchmark/ger.c
index ca7e94e15..d53d328f0 100644
--- a/benchmark/ger.c
+++ b/benchmark/ger.c
@@ -165,7 +165,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/gesv.c b/benchmark/gesv.c
index 80f644e69..057cbd243 100644
--- a/benchmark/gesv.c
+++ b/benchmark/gesv.c
@@ -165,7 +165,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/getri.c b/benchmark/getri.c
index e8b82a758..a07014768 100644
--- a/benchmark/getri.c
+++ b/benchmark/getri.c
@@ -188,7 +188,7 @@ int main(int argc, char *argv[]){
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/hbmv.c b/benchmark/hbmv.c
index b9dcc03bb..60ba9fb89 100644
--- a/benchmark/hbmv.c
+++ b/benchmark/hbmv.c
@@ -158,7 +158,7 @@ int main(int argc, char *argv[]){
exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/hemm.c b/benchmark/hemm.c
index 2fe0f5c5f..2bc165458 100644
--- a/benchmark/hemm.c
+++ b/benchmark/hemm.c
@@ -151,7 +151,7 @@ int main(int argc, char *argv[]){
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/hemv.c b/benchmark/hemv.c
index b6ff512ce..98618a04e 100644
--- a/benchmark/hemv.c
+++ b/benchmark/hemv.c
@@ -152,7 +152,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/her.c b/benchmark/her.c
index f4e10b684..010f8120d 100644
--- a/benchmark/her.c
+++ b/benchmark/her.c
@@ -149,7 +149,7 @@ int main(int argc, char *argv[]){
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/her2.c b/benchmark/her2.c
index e10b7e98e..0f80f3ed9 100644
--- a/benchmark/her2.c
+++ b/benchmark/her2.c
@@ -151,7 +151,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/her2k.c b/benchmark/her2k.c
index a0772feff..021873beb 100644
--- a/benchmark/her2k.c
+++ b/benchmark/her2k.c
@@ -150,7 +150,7 @@ int main(int argc, char *argv[]){
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/herk.c b/benchmark/herk.c
index eed8ed738..c09d35c1f 100644
--- a/benchmark/herk.c
+++ b/benchmark/herk.c
@@ -149,7 +149,7 @@ int main(int argc, char *argv[]){
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/hpmv.c b/benchmark/hpmv.c
index 6e6634fcf..b0157094e 100644
--- a/benchmark/hpmv.c
+++ b/benchmark/hpmv.c
@@ -155,7 +155,7 @@ int main(int argc, char *argv[]){
exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/iamax.c b/benchmark/iamax.c
index 736f02b89..c87044ab4 100644
--- a/benchmark/iamax.c
+++ b/benchmark/iamax.c
@@ -145,7 +145,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/iamin.c b/benchmark/iamin.c
index b2c779811..e7c8e59e4 100644
--- a/benchmark/iamin.c
+++ b/benchmark/iamin.c
@@ -145,7 +145,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/imax.c b/benchmark/imax.c
index c7060af84..b56ef64ba 100644
--- a/benchmark/imax.c
+++ b/benchmark/imax.c
@@ -139,7 +139,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/imin.c b/benchmark/imin.c
index f8bdc2537..4a92c8bd0 100644
--- a/benchmark/imin.c
+++ b/benchmark/imin.c
@@ -139,7 +139,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/linpack.c b/benchmark/linpack.c
index e4b20e99d..661a44175 100644
--- a/benchmark/linpack.c
+++ b/benchmark/linpack.c
@@ -174,7 +174,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/max.c b/benchmark/max.c
index 2fa6e5a14..a19a386a2 100644
--- a/benchmark/max.c
+++ b/benchmark/max.c
@@ -139,7 +139,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/min.c b/benchmark/min.c
index 9abed8e80..4df8fb0fd 100644
--- a/benchmark/min.c
+++ b/benchmark/min.c
@@ -139,7 +139,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/nrm2.c b/benchmark/nrm2.c
index d3718f9e0..0f416621a 100644
--- a/benchmark/nrm2.c
+++ b/benchmark/nrm2.c
@@ -145,7 +145,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/rot.c b/benchmark/rot.c
index 8ec8b1d97..69698988d 100644
--- a/benchmark/rot.c
+++ b/benchmark/rot.c
@@ -156,7 +156,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/rotm.c b/benchmark/rotm.c
index 8dea2d08c..17c8d5416 100644
--- a/benchmark/rotm.c
+++ b/benchmark/rotm.c
@@ -168,7 +168,7 @@ int main(int argc, char *argv[])
exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/scal.c b/benchmark/scal.c
index 453c3234d..8bd62c77c 100644
--- a/benchmark/scal.c
+++ b/benchmark/scal.c
@@ -150,7 +150,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/spmv.c b/benchmark/spmv.c
index 2a26c9416..cff504d3b 100644
--- a/benchmark/spmv.c
+++ b/benchmark/spmv.c
@@ -163,7 +163,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/spr.c b/benchmark/spr.c
index c91e587b1..5dcaa4f8b 100755
--- a/benchmark/spr.c
+++ b/benchmark/spr.c
@@ -149,7 +149,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/spr2.c b/benchmark/spr2.c
index e8ee345d7..a5f2791f7 100755
--- a/benchmark/spr2.c
+++ b/benchmark/spr2.c
@@ -153,7 +153,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/swap.c b/benchmark/swap.c
index 368c59cd4..76d545995 100644
--- a/benchmark/swap.c
+++ b/benchmark/swap.c
@@ -151,7 +151,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/symm.c b/benchmark/symm.c
index b979e8d51..bb9849eb5 100644
--- a/benchmark/symm.c
+++ b/benchmark/symm.c
@@ -162,7 +162,7 @@ int main(int argc, char *argv[]){
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/symv.c b/benchmark/symv.c
index 789c3560f..e4c892b5a 100644
--- a/benchmark/symv.c
+++ b/benchmark/symv.c
@@ -162,7 +162,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/syr.c b/benchmark/syr.c
index 458bc6edb..a9dd293e6 100644
--- a/benchmark/syr.c
+++ b/benchmark/syr.c
@@ -144,7 +144,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/syr2.c b/benchmark/syr2.c
index 0129dd09a..9efbca315 100644
--- a/benchmark/syr2.c
+++ b/benchmark/syr2.c
@@ -150,7 +150,7 @@ int main(int argc, char *argv[]){
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/syr2k.c b/benchmark/syr2k.c
index b1fcd8a18..a906559eb 100644
--- a/benchmark/syr2k.c
+++ b/benchmark/syr2k.c
@@ -162,7 +162,7 @@ int main(int argc, char *argv[]){
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/syrk.c b/benchmark/syrk.c
index 95625a6c4..0fbb943f6 100644
--- a/benchmark/syrk.c
+++ b/benchmark/syrk.c
@@ -159,7 +159,7 @@ int main(int argc, char *argv[]){
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/tpmv.c b/benchmark/tpmv.c
index ee5b97f24..fe9d07534 100644
--- a/benchmark/tpmv.c
+++ b/benchmark/tpmv.c
@@ -132,7 +132,7 @@ int main(int argc, char *argv[])
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/tpsv.c b/benchmark/tpsv.c
index 46d78fd17..8472ac261 100644
--- a/benchmark/tpsv.c
+++ b/benchmark/tpsv.c
@@ -132,7 +132,7 @@ int main(int argc, char *argv[])
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/trmm.c b/benchmark/trmm.c
index e095b85ee..23af122b4 100644
--- a/benchmark/trmm.c
+++ b/benchmark/trmm.c
@@ -162,7 +162,7 @@ int main(int argc, char *argv[]){
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/trmv.c b/benchmark/trmv.c
index f5a5fe31a..46641b3e4 100644
--- a/benchmark/trmv.c
+++ b/benchmark/trmv.c
@@ -132,7 +132,7 @@ int main(int argc, char *argv[])
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/trsm.c b/benchmark/trsm.c
index 6ce1d532c..17676946a 100644
--- a/benchmark/trsm.c
+++ b/benchmark/trsm.c
@@ -172,7 +172,7 @@ int main(int argc, char *argv[]){
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/trsv.c b/benchmark/trsv.c
index c60890de4..1734e2adb 100644
--- a/benchmark/trsv.c
+++ b/benchmark/trsv.c
@@ -159,7 +159,7 @@ int main(int argc, char *argv[]){
uplo,diag,loops);
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/zdot-intel.c b/benchmark/zdot-intel.c
index bb2c40f38..ba1515365 100644
--- a/benchmark/zdot-intel.c
+++ b/benchmark/zdot-intel.c
@@ -146,7 +146,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif
diff --git a/benchmark/zdot.c b/benchmark/zdot.c
index 136135c9c..fa624e859 100644
--- a/benchmark/zdot.c
+++ b/benchmark/zdot.c
@@ -145,7 +145,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1);
}
-#ifdef linux
+#ifdef __linux
srandom(getpid());
#endif