Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] share a structure between devices?

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] share a structure between devices?


Chronologique Discussions 
  • From: Samuel Thibault <samuel.thibault@ens-lyon.org>
  • To: Miguel Palhas <mpalhas@gmail.com>
  • Cc: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] share a structure between devices?
  • Date: Sat, 13 Jul 2013 11:50:35 +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>

Miguel Palhas, le Thu 11 Jul 2013 21:12:17 +0200, a écrit :
> I'm working with a structure which is composed of multiple dynamically
> allocated arrays (although they remain static during the computational part
>
> What i need is to be able to send it to my tasks. So far i've only worked
> with
> simple arrays using the "starpu_vector_data_register"
>
> From what i can see the way to do this would be to use the
> "starpu_data_register". Or maybe using the multiformat interface
>
> But i'm not sure which one, or how to do it. I couldn't find any good
> examples
> on either of these options

You probably want to have a look at the example of custom interface, in
examples/interface/

Samuel





Archives gérées par MHonArc 2.6.19+.

Haut de le page