On Monday, January 03, 2011, Minor Gordon wrote: > Hi, > > I'll let Dave Cunningham comment on the GPU part, but I'd guess that the > IndexedMemoryChunk is the one you get from [a local] Array.raw() and > raw_len allows you to address a subset of the chunk. > > Your region literals also need to be 0..(n-1) rather than 0..n-1, now (if > you're using trunk) or in the future (in an upcoming release), per some > recent changes in trunk. > > Minor
Hi, I don't intend to run my program on GPGPUs any time soon, so a special explanation for this context is not needed - at least for me. I was only wondering whether this constructor could be used in a non-GPGPU context. Minor, I share your guess that the IndexedMemoryChunk is related to Array.raw(), but I am still wondering whether this is an input variable and I have to provide the memory to the call via a prior call to IndexedMemoryChunk.allocate(). Or does the constructor do the allocate and this is an output variable rather than an input variable (i.e. the variable I provide is a handle to the memory allocated by the constructor). -- Mit freundlichen Grüßen / Kind regards Dr. Christoph Pospiech High Performance & Parallel Computing Phone: +49-351 86269826 Mobile: +49-171-765 5871 E-Mail: christoph.pospi...@de.ibm.com ------------------------------------- IBM Deutschland GmbH Vorsitzender des Aufsichtsrats: Erich Clementi Geschäftsführung: Martin Jetter (Vorsitzender), Reinhard Reschke, Dieter Scholz, Gregor Pillen, Michael Diemer, Martina Koederitz Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 14562 WEEE-Reg.-Nr. DE 99369940 ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users