[PATCH] Doof3d doesnt evaluate
Richard Guenther
rguenth at tat.physik.uni-tuebingen.de
Fri Apr 19 10:17:44 UTC 2002
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 <richard.guenther at uni-tuebingen.de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/
The GLAME Project: http://www.glame.de/
More information about the pooma-dev
mailing list