Skip to Content.
Sympa Menu

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

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

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


Chronological Thread 
  • From: Phil Miller <mille121 AT illinois.edu>
  • To: Jozsef Bakosi <jbakosi AT gmail.com>
  • Cc: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: Re: [charm] reduction to a member function on the same array/group
  • Date: Fri, 15 Jul 2016 12:08:12 -0500

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.

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.

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