Dear List,

     I've been trying to use some BLAS routines through X10, so basically
most of the BLAS routines deal with vectors or matrices
which are represented in the form of arrays, so basically I have to call use
the NATIVE annotation in X10 for example* @Native("c++", "run((#1)->raw(),
(#2)->raw(), (#3)->raw())")*
. The three parameters are arrays, what I understood is that the X10
compiler converts the "Rail" type to its corresponding type in the back end,
which is basically an ordinary
array "double [ ]". So it worked well with me when I used Rails, or the
Array type, but I had to convert it into Rail by calling the raw( ) method,
but now I want to parallelize the array into
different places, how can I DistArray and call the raw method, if its
protected. *My Question is how can I access portions of the DisArray (for
example portion of DistArray at Place 0) and pass it as an argument of a
BLAS routine that takes double [ ] as an argument*?

-- 
Thank you for your concern.
Regards,
Mohammed El Sayed
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to