Objet : Developers list for StarPU
Archives de la liste
- From: Nathalie Furmento <nathalie.furmento@labri.fr>
- To: Xavier Lacoste <xavier.lacoste@inria.fr>
- Cc: starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] Temporary buffer initialization
- Date: Thu, 17 Apr 2014 16:03:56 +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>
All,
Hello,
As a side remark, STARPU_PROLOGUE_CALLBACK is now (from revision 12706 in the trunk) properly recognised in the starpu_mpi_insert_task() function. Cheers, Nathalie On 16/04/2014 14:59, Xavier Lacoste wrote: I want to have a temporary buffer, allocated by starpu, and
initialized (to zero).
Some task will add values in it afterward and then it will be
send to an other process for a remote task.
These local tasks can be executed in any order.
In order to initialize the buffer (memset(data, 0, size))
should I use prologue callback function to check if the buffer
is already allocated and if not tell starpu to allocate it and
call my memset ? Or is the data already allocated in prologue ?
Can I have a way to know if it's the first time it's used ?
If the prologue solution is the one to use, it would be nice
if it was available in the starpu_mpi_insert_task() function.
I could insert a task to initialize it but it would allocate
the buffer too early, when it is not used...
Regards,
XL.
----------------------------------------
Xavier Lacoste
xavier.lacoste@inria.fr
INRIA Bordeaux Sud-Ouest
200, avenue de la Vieille Tour
33405 Talence Cedex
Tél : +33 (0)5 24 57 40 69
_______________________________________________ Starpu-devel mailing list Starpu-devel@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/starpu-devel |
- Re: [Starpu-devel] Temporary buffer initialization, (suite)
- Re: [Starpu-devel] Temporary buffer initialization, Samuel Thibault, 17/04/2014
- Re: [Starpu-devel] Temporary buffer initialization, Xavier Lacoste, 17/04/2014
- Re: [Starpu-devel] Temporary buffer initialization, Samuel Thibault, 17/04/2014
- Re: [Starpu-devel] Temporary buffer initialization, Xavier Lacoste, 17/04/2014
- Re: [Starpu-devel] Temporary buffer initialization, Xavier Lacoste, 17/04/2014
- Re: [Starpu-devel] Temporary buffer initialization, Xavier Lacoste, 18/04/2014
- Re: [Starpu-devel] Temporary buffer initialization, Samuel Thibault, 18/04/2014
- Re: [Starpu-devel] Temporary buffer initialization, Xavier Lacoste, 18/04/2014
- Re: [Starpu-devel] Temporary buffer initialization, Xavier Lacoste, 18/04/2014
- Re: [Starpu-devel] Temporary buffer initialization, Xavier Lacoste, 18/04/2014
- Re: [Starpu-devel] Temporary buffer initialization, Xavier Lacoste, 17/04/2014
- Re: [Starpu-devel] Temporary buffer initialization, Samuel Thibault, 18/04/2014
- Re: [Starpu-devel] Temporary buffer initialization, Xavier Lacoste, 17/04/2014
- Re: [Starpu-devel] Temporary buffer initialization, Samuel Thibault, 17/04/2014
- Re: [Starpu-devel] Temporary buffer initialization, Xavier Lacoste, 17/04/2014
- Re: [Starpu-devel] Temporary buffer initialization, Samuel Thibault, 17/04/2014
Archives gérées par MHonArc 2.6.19+.