[PATCH] make Evaluator/ReductionTest4 compile

Richard Guenther rguenth at tat.physik.uni-tuebingen.de
Wed Jul 17 11:13:53 UTC 2002


The attached patch/changelog makes Evaluator/ReductionTest4.cpp compile
by adding the required DistributedTag() to the layout constructor calls.
Test compiles and passes now.

Richard.

--
Richard Guenther <richard.guenther at uni-tuebingen.de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/
The GLAME Project: http://www.glame.de/

-------------- next part --------------
2002Jul17  Richard Guenther <richard.guenther at uni-tuebingen.de>

        * Evaluator/tests/ReductionTest4.cpp (main): Add DistributedTag()       
        to layout constructor invocation

        Tested using g++ 3.1.1 on sequential Linux by compiling and 
        running Pooma Evaluator testsuite.

-------------- next part --------------
diff -u -r1.2 ReductionTest4.cpp
--- src/Evaluator/tests/ReductionTest4.cpp	2000/05/03 18:58:59	1.2
+++ src/Evaluator/tests/ReductionTest4.cpp	2002/07/17 11:06:23
@@ -45,8 +45,8 @@
 
   Loc<1> blocks2(2), blocks5(5);
   UniformGridPartition<1> partition2(blocks2), partition5(blocks5);   
-  UniformGridLayout<1> layout2(Interval<1>(10), partition2),
-    layout5(Interval<1>(10), partition5);
+  UniformGridLayout<1> layout2(Interval<1>(10), partition2, DistributedTag()),
+    layout5(Interval<1>(10), partition5, DistributedTag());
   Array<1, int, MultiPatch<UniformTag, Remote<Brick> > > a(layout2),
     b(layout5);
   Array<1, int> c(10);


More information about the pooma-dev mailing list