Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] STARPU_CSR_GET_DEV_HANDLE for OpenCL?

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] STARPU_CSR_GET_DEV_HANDLE for OpenCL?


Chronologique Discussions 
  • From: Samuel Thibault <samuel.thibault@ens-lyon.org>
  • To: Cyril Roelandt <cyril.roelandt@inria.fr>
  • Cc: Usman Dastgeer <usman.dastgeer@liu.se>, "<starpu-devel@lists.gforge.inria.fr>" <starpu-devel@lists.gforge.inria.fr>
  • Subject: Re: [Starpu-devel] STARPU_CSR_GET_DEV_HANDLE for OpenCL?
  • Date: Thu, 18 Oct 2012 15:11:14 +0200
  • 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>

Cyril Roelandt, le Thu 18 Oct 2012 15:14:21 +0200, a écrit :
> On 10/18/2012 02:58 PM, Samuel Thibault wrote:
> >Usman Dastgeer, le Thu 18 Oct 2012 12:13:33 +0200, a écrit :
> >>What is the equivalent of "STARPU_MATRIX_GET_DEV_HANDLE" and
> >>"STARPU_MATRIX_GET_OFFSET" for CSR?
> >
> >They are missing indeed. For a start you can assume offset as being
> >zero, and use nzval, colind, and rowptr for the device handles, but e.g.
> >the vertical block filter can not be used in OpenCL for now since we are
> >currently missing the device handle and the in-place offset.
> >
>
> Should we provide dummy INTERFACE_GET_DEV_HANDLE and INTERFACE_GET_OFFSET
> macros, that would return INTERfACE_GET_PTR and 0 ? This would be more
> consistent, and would allow users not to edit their code once we really
> implement the missing features in our interfaces.

Indeed.

Samuel





Archives gérées par MHonArc 2.6.19+.

Haut de le page