[PATCH] Fix ReduceOverContexts wrt WhereProxy

Jeffrey D. Oldham oldham at codesourcery.com
Tue Dec 9 21:50:20 UTC 2003


Richard Guenther wrote:
> Hi!
> 
> This fixes a missing Unwrap<> for ReduceOverContexts. Caught by regression
> testing with Cheetah today.
> 
> Ok?

Yes.  Thanks for the regression testing.

> 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());
>  	  }
>        }
> 


-- 
Jeffrey D. Oldham
oldham at codesourcery.com




More information about the pooma-dev mailing list