[PATCH] Fix ReduceOverContexts wrt WhereProxy

Richard Guenther rguenth at tat.physik.uni-tuebingen.de
Tue Dec 9 19:39:43 UTC 2003


Hi!

This fixes a missing Unwrap<> for ReduceOverContexts. Caught by regression
testing with Cheetah today.

Ok?

Richard.


2003Dec09  Richard Guenther <richard.guenther at uni-tuebingen.de>

	* src/Tulip/ReduceOverContexts.h: unwrap reduction op.

Index: ReduceOverContexts.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Tulip/ReduceOverContexts.h,v
retrieving revision 1.10
diff -u -u -r1.10 ReduceOverContexts.h
--- ReduceOverContexts.h	2 Dec 2003 19:15:04 -0000	1.10
+++ ReduceOverContexts.h	9 Dec 2003 19:32:15 -0000
@@ -48,6 +48,7 @@
 #include "Pooma/Pooma.h"
 #include "Tulip/Messaging.h"
 #include "Tulip/RemoteProxy.h"
+#include "Evaluator/OpMask.h"


 /**
@@ -272,7 +273,7 @@
 	  }
 	else
 	  {
-	    ReductionOp()(me->value_m, v.value());
+	    Unwrap<ReductionOp>::Op_t()(me->value_m, v.value());
 	  }
       }




More information about the pooma-dev mailing list