Objet : Developers list for StarPU
Archives de la liste
- From: ludovic.courtes@inria.fr (Ludovic Courtès)
- To: mehdi.amini@silkan.com
- Cc: starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] GCC plugin and registering address of scalar
- Date: Thu, 14 Jun 2012 11:41:12 +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 Mehdi,
Mehdi AMINI <mehdi.amini@silkan.com> skribis:
> I'm still playing with the GCC plugin, it seems that there is no
> support for registering a scalar, I would expect to be able to write
> something like :
>
> int a;
> #pragma starpu register &a
>
> my_task(..., &a, ...)
>
> #pragma unregister &a
>
>
> Do you plan to support such syntax in the future?
I don’t think so. Registering is meant to be used for large data
buffers, whose transfer between GPUs and the main memory influences the
scheduler.
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?
> Is there another workaround that declaring a as int a[1];?
No, that would be the workaround. :-)
Thanks,
Ludo’.
PS: I haven’t forgotten about your other requests, but am slightly busy
with other things currently.
- [Starpu-devel] GCC plugin and registering address of scalar, Mehdi AMINI, 13/06/2012
- Re: [Starpu-devel] GCC plugin and registering address of scalar, Ludovic Courtès, 14/06/2012
- Re: [Starpu-devel] GCC plugin and registering address of scalar, Mehdi AMINI, 14/06/2012
- Re: [Starpu-devel] GCC plugin and registering address of scalar, Ludovic Courtès, 15/06/2012
- Re: [Starpu-devel] GCC plugin and registering address of scalar, Mehdi AMINI, 15/06/2012
- Re: [Starpu-devel] GCC plugin and registering address of scalar, Ludovic Courtès, 15/06/2012
- Re: [Starpu-devel] GCC plugin and registering address of scalar, Mehdi AMINI, 15/06/2012
- Re: [Starpu-devel] GCC plugin and registering address of scalar, Ludovic Courtès, 15/06/2012
- Re: [Starpu-devel] GCC plugin and registering address of scalar, Mehdi AMINI, 14/06/2012
- Re: [Starpu-devel] GCC plugin and registering address of scalar, Ludovic Courtès, 14/06/2012
Archives gérées par MHonArc 2.6.19+.