Objet : Developers list for StarPU
Archives de la liste
- From: Alfredo Buttari <alfredo.buttari@enseeiht.fr>
- To: starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] Fortran interface for StarPU
- Date: Thu, 14 Apr 2016 17:30:36 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=alfredo.buttari@gmail.com; spf=Pass smtp.mailfrom=alfredo.buttari@gmail.com; spf=None smtp.helo=postmaster@mail-wm0-f49.google.com
- Ironport-phdr: 9a23:1BNd9R1seu42VY+tsmDT+DRfVm0co7zxezQtwd8ZsegQKfad9pjvdHbS+e9qxAeQG96Lu7QZ1aGG6+jJYi8p39WoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6kO74TNaIBjjLw09fr2zQd6CyZnpnLDqs7ToICx2xxOFKYtoKxu3qQiD/uI3uqBFbpgL9x3Sv3FTcP5Xz247bXianhL7+9vitMU7q3cY6Lod8JtbTazgZ7l9QbFGATAON2Eu+NatuhfEVwSCoHoaSGQf1BRSUCbf6xSvd5P/qCb2saJXxTWGNNf3BeQ9XTq44qtsDhX1lDsOLT8R/WfMh8FxjL4drgj39E83+JLdfIzAbKk2RajaZ95PHWc=
- List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel/>
- List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>
sorry but the attachment didn't make it through.
Here you can find the package:
https://cloud.irit.fr/index.php/s/u7aWgOgIEx5gL0s
ciao
alfredo
Alfredo Buttari writes:
> Dear StarPU developers,
> in order to port the qr_mumps solver on StarPU, I have written (and
> re-written quite a few times) a module containing fortran interfaces for
> StarPU methods as well as a few wrappers for those methods that cannot be
> interfaced in a portable way. These wrappers are necessary mostly because
> of the following issues:
>
> 1) C variadic functions are not interoperable and (as far as I know)
> there's no portable way to call them in a fortran code other than going
> through a C wrapper.
>
> 2) some StarPU structs (for example starpu_codelet) are not interoperable.
>
> 3) the arguments of some functions are not of interoperable type. One weird
> and very common case is the unsigned type which (for some obscure reason)
> is not fortran interoperable. For arguments of this type we can use the
> fortran integer type and it will just work although, on paper, this is not
> portable.
>
> In the attachment you can find the starpu_f_mod.f90 file containing a
> number of interfaces and a starpu_f_wrappers.c containing C wrappers. The
> package also contains a main program that shows how to use most of the
> interfaced routines.
>
> I discussed with Sam Thibault about the possibility to integrate this
> interface in StarPU to make it available to the other concerned users. The
> module is far from being complete and only contains a small fraction of all
> the StarPU methods but if we agree on the approach and the syntax then it's
> just a matter of coding the rest gradually, as needed.
>
>
> Ciao
> Alfredo
--
Alfredo Buttari, PhD
http://buttari.perso.enseeiht.fr
- [Starpu-devel] Fortran interface for StarPU, Alfredo Buttari, 14/04/2016
- Re: [Starpu-devel] Fortran interface for StarPU, Alfredo Buttari, 14/04/2016
Archives gérées par MHonArc 2.6.19+.