Skip to Content.
Sympa Menu

charm - [charm] Fwd: reduction to a member function on the same array/group

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] Fwd: reduction to a member function on the same array/group


Chronological Thread 
  • From: Jozsef Bakosi <jbakosi AT gmail.com>
  • To: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: [charm] Fwd: reduction to a member function on the same array/group
  • Date: Fri, 15 Jul 2016 11:12:25 -0600

On Fri, Jul 15, 2016 at 11:08 AM, Phil Miller <mille121 AT illinois.edu> wrote:
It depends what proxy you pass as the reduction client callback
argument. If you pass `thisProxy`, then the result will be broadcast
to every element. If you pass `thisProxy[someIndex]`, then the result
will be delivered to just that element.


Great, thanks, Phil, for the clarification.
 
The same applies to proxies representing some array/group that's not
the one performing the reduction - you can pass either the collection
proxy, or a proxy to an individual element of the collection.

Very cool.
 

On Fri, Jul 15, 2016 at 12:04 PM, Jozsef Bakosi <jbakosi AT gmail.com> wrote:
> Hi folks,
>
> I have done typed reductions where all chare array (or group) elements
> contributed to a member function of a single chare (of an object different
> than the contributions originate). However, I'm not sure what happens if the
> target of the reduction is a member function of the same chare array (or
> group). Does the final aggregated result show up on every array (or group)
> element or just on one? I.e., will I get an all-to-all or an all-to-one? (I
> think the answer is the former, but I just want to make sure I understand
> it).
>
> Thanks,
> Jozsef





Archive powered by MHonArc 2.6.16.

Top of Page