freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Kill use of POOMA_NO_RESTRICT


From: Richard Guenther
Subject: [PATCH] Kill use of POOMA_NO_RESTRICT
Date: Mon, 4 Aug 2003 21:36:26 +0200 (CEST)

The following patch kills the use of POOMA_NO_RESTRICT in benchmarks (the
only place it is used currently).  The restrict keyword is guaranteed to
be bound by the configure script.

Ok?

Richard.

2003Aug04 Richard Guenther <address@hidden>

        benchmarks/ABCTest/ABCInC.c: Remove POOMA_NO_RESTRICT check.
        benchmarks/Acoustic2d/Acoustic2dInC.c: likewise.
        benchmarks/BlitzLoops/Loop18InC.c: likewise.
        benchmarks/Doof2d/Doof2dInC.c: likewise.
        benchmarks/Doof3d/Doof3dInC.c: likewise.
        benchmarks/GKPoisson/GKPoissonInC.c: likewise.
        benchmarks/SimpleArray/atestInC.c: likewise.
        benchmarks/Solvers/Jacobi/JacobiInC.c: likewise.
        benchmarks/Solvers/Krylov/CGAInC.c: likewise.
        benchmarks/rbSOR/rbSORinC.c: likewise.

Index: benchmarks/ABCTest/ABCInC.c
===================================================================
RCS file: /home/pooma/Repository/r2/benchmarks/ABCTest/ABCInC.c,v
retrieving revision 1.10
diff -u -r1.10 ABCInC.c
--- benchmarks/ABCTest/ABCInC.c 12 Oct 2001 23:27:06 -0000      1.10
+++ benchmarks/ABCTest/ABCInC.c 4 Aug 2003 19:31:45 -0000
@@ -32,11 +32,6 @@
 #include "Pooma/Configuration.h"
 #include <math.h>

-/* define away "restrict" if it is not supported */
-
-#if POOMA_NO_RESTRICT
-#define restrict /**/
-#endif

 /* wrapper for integrated C/C++ compilers */

Index: benchmarks/Acoustic2d/Acoustic2dInC.c
===================================================================
RCS file: /home/pooma/Repository/r2/benchmarks/Acoustic2d/Acoustic2dInC.c,v
retrieving revision 1.7
diff -u -r1.7 Acoustic2dInC.c
--- benchmarks/Acoustic2d/Acoustic2dInC.c       7 Mar 2000 13:14:43 -0000       
1.7
+++ benchmarks/Acoustic2d/Acoustic2dInC.c       4 Aug 2003 19:31:45 -0000
@@ -31,11 +31,6 @@

 #include "Pooma/Configuration.h"

-/* define away "restrict" if it is not supported */
-
-#if POOMA_NO_RESTRICT
-#define restrict /**/
-#endif

 /* wrapper for integrated C/C++ compilers */

Index: benchmarks/BlitzLoops/Loop18InC.c
===================================================================
RCS file: /home/pooma/Repository/r2/benchmarks/BlitzLoops/Loop18InC.c,v
retrieving revision 1.8
diff -u -r1.8 Loop18InC.c
--- benchmarks/BlitzLoops/Loop18InC.c   7 Mar 2000 13:14:44 -0000       1.8
+++ benchmarks/BlitzLoops/Loop18InC.c   4 Aug 2003 19:31:45 -0000
@@ -31,11 +31,6 @@

 #include "Pooma/Configuration.h"

-/* define away "restrict" keyword if not available */
-
-#if POOMA_NO_RESTRICT
-#define restrict /**/
-#endif

 /* wrapper for integrated C/C++ compilers */

Index: benchmarks/Doof2d/Doof2dInC.c
===================================================================
RCS file: /home/pooma/Repository/r2/benchmarks/Doof2d/Doof2dInC.c,v
retrieving revision 1.15
diff -u -r1.15 Doof2dInC.c
--- benchmarks/Doof2d/Doof2dInC.c       15 Oct 2001 17:34:27 -0000      1.15
+++ benchmarks/Doof2d/Doof2dInC.c       4 Aug 2003 19:31:46 -0000
@@ -31,11 +31,6 @@

 #include "Pooma/Configuration.h"

-/* define away "restrict" if it is not supported */
-
-#if POOMA_NO_RESTRICT
-#define restrict /**/
-#endif

 /* wrapper for integrated C/C++ compilers */

Index: benchmarks/Doof3d/Doof3dInC.c
===================================================================
RCS file: /home/pooma/Repository/r2/benchmarks/Doof3d/Doof3dInC.c,v
retrieving revision 1.4
diff -u -r1.4 Doof3dInC.c
--- benchmarks/Doof3d/Doof3dInC.c       7 Mar 2000 13:14:56 -0000       1.4
+++ benchmarks/Doof3d/Doof3dInC.c       4 Aug 2003 19:31:47 -0000
@@ -31,11 +31,6 @@

 #include "Pooma/Configuration.h"

-/* define away "restrict" if it is not supported */
-
-#if POOMA_NO_RESTRICT
-#define restrict /**/
-#endif

 /* wrapper for integrated C/C++ compilers */

Index: benchmarks/GKPoisson/GKPoissonInC.c
===================================================================
RCS file: /home/pooma/Repository/r2/benchmarks/GKPoisson/GKPoissonInC.c,v
retrieving revision 1.6
diff -u -r1.6 GKPoissonInC.c
--- benchmarks/GKPoisson/GKPoissonInC.c 7 Mar 2000 13:14:58 -0000       1.6
+++ benchmarks/GKPoisson/GKPoissonInC.c 4 Aug 2003 19:31:47 -0000
@@ -31,11 +31,6 @@

 #include "Pooma/Configuration.h"

-/* define away "restrict" if it is not supported */
-
-#if POOMA_NO_RESTRICT
-#define restrict /**/
-#endif

 /* wrapper for integrated C/C++ compilers */

Index: benchmarks/SimpleArray/atestInC.c
===================================================================
RCS file: /home/pooma/Repository/r2/benchmarks/SimpleArray/atestInC.c,v
retrieving revision 1.8
diff -u -r1.8 atestInC.c
--- benchmarks/SimpleArray/atestInC.c   7 Mar 2000 13:15:02 -0000       1.8
+++ benchmarks/SimpleArray/atestInC.c   4 Aug 2003 19:31:47 -0000
@@ -31,11 +31,6 @@

 #include "Pooma/Configuration.h"

-/* define away "restrict" if it is not supported */
-
-#if POOMA_NO_RESTRICT
-#define restrict /**/
-#endif

 /* wrapper for integrated C/C++ compilers */

Index: benchmarks/Solvers/Jacobi/JacobiInC.c
===================================================================
RCS file: /home/pooma/Repository/r2/benchmarks/Solvers/Jacobi/JacobiInC.c,v
retrieving revision 1.8
diff -u -r1.8 JacobiInC.c
--- benchmarks/Solvers/Jacobi/JacobiInC.c       7 Mar 2000 13:15:03 -0000       
1.8
+++ benchmarks/Solvers/Jacobi/JacobiInC.c       4 Aug 2003 19:31:47 -0000
@@ -31,11 +31,6 @@

 #include "Pooma/Configuration.h"

-/* define away "restrict" if it is not supported */
-
-#if POOMA_NO_RESTRICT
-#define restrict /**/
-#endif

 /* wrapper for integrated C/C++ compilers */

Index: benchmarks/Solvers/Krylov/CGAInC.c
===================================================================
RCS file: /home/pooma/Repository/r2/benchmarks/Solvers/Krylov/CGAInC.c,v
retrieving revision 1.9
diff -u -r1.9 CGAInC.c
--- benchmarks/Solvers/Krylov/CGAInC.c  7 Mar 2000 13:15:05 -0000       1.9
+++ benchmarks/Solvers/Krylov/CGAInC.c  4 Aug 2003 19:31:47 -0000
@@ -31,11 +31,6 @@

 #include "Pooma/Configuration.h"

-/* define away "restrict" if it is not supported */
-
-#if POOMA_NO_RESTRICT
-#define restrict /**/
-#endif

 /* wrapper for integrated C/C++ compiler */

Index: benchmarks/rbSOR/rbSORinC.c
===================================================================
RCS file: /home/pooma/Repository/r2/benchmarks/rbSOR/rbSORinC.c,v
retrieving revision 1.1
diff -u -r1.1 rbSORinC.c
--- benchmarks/rbSOR/rbSORinC.c 14 Mar 2000 08:00:18 -0000      1.1
+++ benchmarks/rbSOR/rbSORinC.c 4 Aug 2003 19:31:47 -0000
@@ -31,11 +31,6 @@

 #include "Pooma/Configuration.h"

-/* define away "restrict" keyword if not available */
-
-#if POOMA_NO_RESTRICT
-#define restrict /**/
-#endif

 /* wrapper for integrated C/C++ compilers */


reply via email to

[Prev in Thread] Current Thread [Next in Thread]