Browse Source

Change ifdef linux to __linux for C11 compatibility

tags/v0.3.11^2
Martin Kroeker GitHub 5 years ago
parent
commit
5464eb13ea
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
51 changed files with 51 additions and 51 deletions
  1. +1
    -1
      benchmark/amax.c
  2. +1
    -1
      benchmark/amin.c
  3. +1
    -1
      benchmark/asum.c
  4. +1
    -1
      benchmark/axpby.c
  5. +1
    -1
      benchmark/axpy.c
  6. +1
    -1
      benchmark/copy.c
  7. +1
    -1
      benchmark/dot.c
  8. +1
    -1
      benchmark/geev.c
  9. +1
    -1
      benchmark/gemm.c
  10. +1
    -1
      benchmark/gemm3m.c
  11. +1
    -1
      benchmark/gemv.c
  12. +1
    -1
      benchmark/ger.c
  13. +1
    -1
      benchmark/gesv.c
  14. +1
    -1
      benchmark/getri.c
  15. +1
    -1
      benchmark/hbmv.c
  16. +1
    -1
      benchmark/hemm.c
  17. +1
    -1
      benchmark/hemv.c
  18. +1
    -1
      benchmark/her.c
  19. +1
    -1
      benchmark/her2.c
  20. +1
    -1
      benchmark/her2k.c
  21. +1
    -1
      benchmark/herk.c
  22. +1
    -1
      benchmark/hpmv.c
  23. +1
    -1
      benchmark/iamax.c
  24. +1
    -1
      benchmark/iamin.c
  25. +1
    -1
      benchmark/imax.c
  26. +1
    -1
      benchmark/imin.c
  27. +1
    -1
      benchmark/linpack.c
  28. +1
    -1
      benchmark/max.c
  29. +1
    -1
      benchmark/min.c
  30. +1
    -1
      benchmark/nrm2.c
  31. +1
    -1
      benchmark/rot.c
  32. +1
    -1
      benchmark/rotm.c
  33. +1
    -1
      benchmark/scal.c
  34. +1
    -1
      benchmark/spmv.c
  35. +1
    -1
      benchmark/spr.c
  36. +1
    -1
      benchmark/spr2.c
  37. +1
    -1
      benchmark/swap.c
  38. +1
    -1
      benchmark/symm.c
  39. +1
    -1
      benchmark/symv.c
  40. +1
    -1
      benchmark/syr.c
  41. +1
    -1
      benchmark/syr2.c
  42. +1
    -1
      benchmark/syr2k.c
  43. +1
    -1
      benchmark/syrk.c
  44. +1
    -1
      benchmark/tpmv.c
  45. +1
    -1
      benchmark/tpsv.c
  46. +1
    -1
      benchmark/trmm.c
  47. +1
    -1
      benchmark/trmv.c
  48. +1
    -1
      benchmark/trsm.c
  49. +1
    -1
      benchmark/trsv.c
  50. +1
    -1
      benchmark/zdot-intel.c
  51. +1
    -1
      benchmark/zdot.c

+ 1
- 1
benchmark/amax.c View File

@@ -146,7 +146,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }
#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif


+ 1
- 1
benchmark/amin.c View File

@@ -145,7 +145,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }
#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif


+ 1
- 1
benchmark/asum.c View File

@@ -152,7 +152,7 @@ int main(int argc, char *argv[]){
} }




#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/axpby.c View File

@@ -152,7 +152,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/axpy.c View File

@@ -151,7 +151,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/copy.c View File

@@ -154,7 +154,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/dot.c View File

@@ -145,7 +145,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/geev.c View File

@@ -214,7 +214,7 @@ int main(int argc, char *argv[]){
} }




#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/gemm.c View File

@@ -197,7 +197,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/gemm3m.c View File

@@ -163,7 +163,7 @@ int main(int argc, char *argv[]){
loops = atoi(p); loops = atoi(p);




#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/gemv.c View File

@@ -181,7 +181,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/ger.c View File

@@ -165,7 +165,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/gesv.c View File

@@ -165,7 +165,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/getri.c View File

@@ -188,7 +188,7 @@ int main(int argc, char *argv[]){
} }




#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/hbmv.c View File

@@ -158,7 +158,7 @@ int main(int argc, char *argv[]){
exit(1); exit(1);
} }
#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif


+ 1
- 1
benchmark/hemm.c View File

@@ -151,7 +151,7 @@ int main(int argc, char *argv[]){






#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/hemv.c View File

@@ -152,7 +152,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/her.c View File

@@ -149,7 +149,7 @@ int main(int argc, char *argv[]){






#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/her2.c View File

@@ -151,7 +151,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/her2k.c View File

@@ -150,7 +150,7 @@ int main(int argc, char *argv[]){






#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/herk.c View File

@@ -149,7 +149,7 @@ int main(int argc, char *argv[]){






#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/hpmv.c View File

@@ -155,7 +155,7 @@ int main(int argc, char *argv[]){
exit(1); exit(1);
} }
#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif


+ 1
- 1
benchmark/iamax.c View File

@@ -145,7 +145,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/iamin.c View File

@@ -145,7 +145,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }
#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif


+ 1
- 1
benchmark/imax.c View File

@@ -139,7 +139,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }
#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif


+ 1
- 1
benchmark/imin.c View File

@@ -139,7 +139,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }
#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif


+ 1
- 1
benchmark/linpack.c View File

@@ -174,7 +174,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/max.c View File

@@ -139,7 +139,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }
#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif


+ 1
- 1
benchmark/min.c View File

@@ -139,7 +139,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }
#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif


+ 1
- 1
benchmark/nrm2.c View File

@@ -145,7 +145,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/rot.c View File

@@ -156,7 +156,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/rotm.c View File

@@ -168,7 +168,7 @@ int main(int argc, char *argv[])
exit(1); exit(1);
} }
#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif


+ 1
- 1
benchmark/scal.c View File

@@ -150,7 +150,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/spmv.c View File

@@ -163,7 +163,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }
#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif


+ 1
- 1
benchmark/spr.c View File

@@ -149,7 +149,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/spr2.c View File

@@ -153,7 +153,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/swap.c View File

@@ -151,7 +151,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/symm.c View File

@@ -162,7 +162,7 @@ int main(int argc, char *argv[]){






#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/symv.c View File

@@ -162,7 +162,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/syr.c View File

@@ -144,7 +144,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/syr2.c View File

@@ -150,7 +150,7 @@ int main(int argc, char *argv[]){






#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/syr2k.c View File

@@ -162,7 +162,7 @@ int main(int argc, char *argv[]){






#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/syrk.c View File

@@ -159,7 +159,7 @@ int main(int argc, char *argv[]){






#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/tpmv.c View File

@@ -132,7 +132,7 @@ int main(int argc, char *argv[])
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/tpsv.c View File

@@ -132,7 +132,7 @@ int main(int argc, char *argv[])
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/trmm.c View File

@@ -162,7 +162,7 @@ int main(int argc, char *argv[]){






#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/trmv.c View File

@@ -132,7 +132,7 @@ int main(int argc, char *argv[])
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/trsm.c View File

@@ -172,7 +172,7 @@ int main(int argc, char *argv[]){






#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/trsv.c View File

@@ -159,7 +159,7 @@ int main(int argc, char *argv[]){
uplo,diag,loops); uplo,diag,loops);




#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/zdot-intel.c View File

@@ -146,7 +146,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




+ 1
- 1
benchmark/zdot.c View File

@@ -145,7 +145,7 @@ int main(int argc, char *argv[]){
fprintf(stderr,"Out of Memory!!\n");exit(1); fprintf(stderr,"Out of Memory!!\n");exit(1);
} }


#ifdef linux
#ifdef __linux
srandom(getpid()); srandom(getpid());
#endif #endif




Loading…
Cancel
Save