Hi,

suppose, we have the following code snippet.

                finish ateach (pt in v_src ) {
                   /* ... some lines left out ... */
                    /**
                     *  Scatter the vector v
                     */
                    v_src(pt).copyFrom(j_min(pt),
                                        v,j_min(pt),j_len(pt));
                   /* ... some more lines left out ... */
                }

I have read in the method description for class Array[T], method copyfrom(), 
that "If the source Array is in a different place, then this copy is performed 
asynchronously and the resulting activity will be registered with the 
dynamically enclosing finish." Is there another "silent" finish around the 
copyfrom call, or does this mean that I cannot expect v_src() to have the 
right values prior to the closing curly bracket in 
"finish ateach (pt in v_src ) { ...}" ?
-- 

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, Christoph Grandpierre, 
Klaus Lintelmann, Michael Diemer, Martina Koederitz 
Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 
14562 WEEE-Reg.-Nr. DE 99369940

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to