freepooma-devel
[Top][All Lists]
Advanced

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

[PATCH] fix Doof3d benchmark


From: Richard Guenther
Subject: [PATCH] fix Doof3d benchmark
Date: Wed, 18 Dec 2002 23:41:00 +0100 (CET)

2002Dec18  Richard Guenther <address@hidden>

        * benchmarks/Doof3d/Doof3dInP2.h: add Pooma::blockAndEvaluate()
        before accessing result.

--- benchmarks/Doof3d/Doof3dInP2.h      4 Jul 2000 05:06:39 -0000       1.16
+++ benchmarks/Doof3d/Doof3dInP2.h      18 Dec 2002 22:20:15 -0000
@@ -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);

reply via email to

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