Am 16.07.2014 02:33, schrieb David P Grove: > Olga Gryshchenko <gryshchenko.olg...@gmail.com> wrote on 07/15/2014 > 04:47:12 PM: >> >> Could someone please give a description of function makePEBlock >> (x10.array.Region r, x10.lang.Int axis, x10.util.List<ProcessingElement >>> pes) in PEDist class. What kind of distribution it returns? Thank you. >> > > Hi, > > I believe that class ( > http://pp.ipd.kit.edu/~zwinkau/invadeX10-0.4/x10doc/x10/array/PEDist.html) > is part of the Invasive X10 project at Karlsruher (http://pp.ipd.kit.edu/). > Not sure if anyone from that project regularly reads this list, so if you > don't hear in a day or two you might want to contact them directly. > > --dave
We are reading the list, but not every day. Fortunately, I have colleagues. ;) As to Olga's question: It does nearly the same as Dist.makeBlock. http://x10.sourceforge.net/x10doc/2.2.3/x10/array/Dist.html#makeBlock(x10.array.Region,x10.lang.Int) The difference is that it not necessarily divides evenly among places, but rather takes into account how many PEs are on each place. So places with more parallelism get more work to do. More precisely, it returns a PEBlockDist object, which is a BlockDist with some additional methods like blockRegionForPE.
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds
_______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users