freepooma-devel
[Top][All Lists]
Advanced

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

[PATCH] Doof3d doesnt evaluate


From: Richard Guenther
Subject: [PATCH] Doof3d doesnt evaluate
Date: Fri, 19 Apr 2002 12:17:44 +0200 (CEST)

Hi!

The Doof3d benchmark doesnt evaluate for the P2 implementations
(neither in 2.3.0, nor in HEAD).

Richard.

Index: Doof3dInP2.h
===================================================================
RCS file: /home/pooma/Repository/r2/benchmarks/Doof3d/Doof3dInP2.h,v
retrieving revision 1.16
diff -u -r1.16 Doof3dInP2.h
--- Doof3dInP2.h        2000/07/04 05:06:39     1.16
+++ Doof3dInP2.h        2002/04/19 10:16:21
@@ -94,6 +94,8 @@
       a_m(I-1,J,  K+1) + a_m(I,  J,  K+1) + a_m(I+1,J,  K+1) +
       a_m(I-1,J+1,K+1) + a_m(I,  J+1,K+1) + a_m(I+1,J+1,K+1));

+    Pooma::blockAndEvaluate();
+
     // save results for checking
     check_m = b_m(n_m / 2, n_m / 2, n_m / 2);
   }
@@ -213,6 +215,8 @@
   void run() {
     // apply diffusion stencil
     b_m(I,J, K) = stencil_m( a_m );
+
+    Pooma::blockAndEvaluate();

     // save results for checking
     check_m = b_m(n_m/2,n_m/2,n_m/2);

--
Richard Guenther <address@hidden>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/
The GLAME Project: http://www.glame.de/

reply via email to

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