Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] GCC plugin and registering address of scalar

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] GCC plugin and registering address of scalar


Chronologique Discussions 
  • From: Mehdi AMINI <mehdi.amini@silkan.com>
  • To: Ludovic Courtès <ludovic.courtes@inria.fr>
  • Cc: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] GCC plugin and registering address of scalar
  • Date: Thu, 14 Jun 2012 11:47:41 +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>

Hi,

However, I suppose you’d like the task to return an int to indicate
success or failure, right?

I confess that the assumption has been that tasks are purely
computational, and that their result is typically stored in a large
array passed as an output parameter.

Could you tell us more about your use case?

I'm generating code automatically using StarPU as a backend. Sometimes an integer can be produced and its value used later, in a different task. Sometimes it just that I don't know if its value will be used later and I have to pass it to the task by reference.
I'll go for the int a[1]; solution :-)

Thanks,

Mehdi






Archives gérées par MHonArc 2.6.19+.

Haut de le page