Dear list,
I want to use a RemoteArray and tried out this example given by Vijay
Saraswat:
http://groups.google.com/group/coms4995pppp/browse_thread/thread/3081478f5fc6fa2c?pli=1
It works fine, it copies data from a local Array to a RemoteArray. When I
tried
to copy data from a RemoteArray to a local Array it doesn't work. Here is my
code:
1 val arr1 = new Array[Int](MAX_VALUE, (i:Int) => i);
2
3 val arr2 = at (Place(1)) {
4 val arr = new RemoteArray[Int](arr1);
5 return arr;
6 };
7
8 val arr3 = new Array[Int](MAX_VALUE);
9 finish Array.asyncCopy(arr2, arr3);
But there a are not the expected values in arr3.
Can anybody give me a working example of copying data from a RemoteArray to
a local Array?
Best regards,
Sascha
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
X10-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/x10-users