In writing the paper that served as the roadmap for user-defined
reductions and scans in Chapel, we definitely planned support for
non-commutative/non-associative operators, but I don't believe that
support was ever implemented. I'd need to review the paper and/or my
notes to recall what the strategy there was and whether I think it still
makes sense.
Here's a reference to the paper in case anyone else beats me to this:
Global-view Abstractions for User-Defined Reductions and Scans. Steven J.
Deitz, David Callahan, Bradford L. Chamberlain, Lawrence Snyder. In
Proceedings of the Eleventh ACM SIGPLAN Symposium on Principles and
Practice of Parallel Programming (PPoPP 2006), March 2006
http://chapel.cray.com/publications/ppopp06.html
-Brad
On Thu, 2 Jan 2014, Michael Ferguson wrote:
> Hi -
>
> I'd like to be able to concatenate an array of strings with
> + reduce arrayOfStrings
> but the result is that my strings are concatenated in a random
> order. That's almost certainly useless for + reduce on strings.
>
> Can we make + reduce on strings leave them in the original order?
> (Likewise, can we make reductions generally not assume that the
> operation is commutative?)
>
> test case is in test/users/ferguson/string_reduce.chpl
>
>
> Thanks,
>
>
> -michael
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Chapel-bugs mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/chapel-bugs
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Chapel-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-bugs