Skip to Content.
Sympa Menu

charm - Re: [charm] Reduction along one dimension in a 2-D chare Array

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Reduction along one dimension in a 2-D chare Array


Chronological Thread 
  • From: Phil Miller <mille121 AT illinois.edu>
  • To: Abhishek Gupta <gupta59 AT illinois.edu>
  • Cc: charm AT cs.uiuc.edu
  • Subject: Re: [charm] Reduction along one dimension in a 2-D chare Array
  • Date: Tue, 4 May 2010 07:36:19 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

On Tue, May 4, 2010 at 01:10, Abhishek Gupta
<gupta59 AT illinois.edu>
wrote:
> I have a 2-D partitioned matrix and I want to do a reduction along x
> dimension in this 2-D chare Array and this needs to be done for each
> column.  What is the best way to do that ? Using array section proxies ?

Instinctively, I'm inclined to say that there's no baked-in support
for that at present. Depending on how performance critical this
reduction is, you may be best off implementing it in your application
as "everyone sends to (0,y)" and have one element calculate the
reduction, or by manually sending the data up a tree.

It looks like the libraries in
src/libs/ck-libs/{sparseReducer,sparseContiguousReducer} may serve
your purpose.





Archive powered by MHonArc 2.6.16.

Top of Page