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: Cyril Roelandt <cyril.roelandt@inria.fr>
  • To: Samuel Thibault <samuel.thibault@ens-lyon.org>, 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: Sun, 21 Oct 2012 17:00:43 +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>

On 10/18/2012 03:11 PM, Samuel Thibault wrote:
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.

Added in r.7728.


Cyril Roelandt.





Archives gérées par MHonArc 2.6.19+.

Haut de le page