mohammed elsaeedy <mohammed.elsae...@kaust.edu.sa> wrote on 07/08/2010
10:47:57 AM:
>
>
>     I'm trying to use the BLAS libraries with X10, and I was able to use
the
> rails to be sent as parameters to BLAS routines,
> now I want to parallelize these rails into places and call in each place
a
> BLAS routine.
>
>   When I call a BLAS routine, I define a native function for example :
> "*...@native("c++",
> "run((#1)->raw(), (#2)->raw(), (#3)->raw())")*"
> these parameters are Arrays "*double[ ]*" in C-BLAS routines, as I
> understand X10 has to take them in the form of Rail to convert them to
the
> back-ends
> corresponding type basically "arrays", so when I used the "Array" type in
> X10 I had to call the raw( ) function, but what if I want to use the
> DistArray, the raw function is
> protected.
>
> Am I missing something?
>

You could change the raw() method if DistArray to be public for
experimental purposes.

We are still doing some re-design on the internal of DistArray, so didn't
want to commit to make the raw() method be part of its public API yet.  The
way distributions map the points in the region into the local storage might
still be evolving.  It will be stablized by X10 2.1.0 (end of August).

--dave
------------------------------------------------------------------------------
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