Objet : Developers list for StarPU
Archives de la liste
- From: Xavier Lacoste <xavier.lacoste@inria.fr>
- To: starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] initialised SCRATCH buffer
- Date: Thu, 05 Jan 2012 14:54:01 +0100
- 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>
Le 05/01/2012 13:17, Samuel Thibault a écrit :
Xavier Lacoste, le Thu 05 Jan 2012 11:10:49 +0100, a écrit :Yes I could add an initialization task.
Yes this is what I mean this array depends on parameters of the task.So you mean that initialization can only be performed on a CPU? Isn't it
It is build from the bloc number and the whole sparse matrix structure which
are given through cl->args.
The bloc number is on the computing device but the sparse matrix is just a
pointer to the data and the GPU can't see what is pointed to as it is not
copied.
Yes I could build the array in my codelet using my cl->args, then send it to
the GPU.
possible you create a task just for it? That will declare the CPU-only
computation time, and still let StarPU perform the transfer as it sees
fit.
Samuel
That looks like a good solution. I'll try it.
Thanks.
XL.
- [Starpu-devel] initialised SCRATCH buffer, Xavier Lacoste, 05/01/2012
- <Suite(s) possible(s)>
- Re: [Starpu-devel] initialised SCRATCH buffer, Samuel Thibault, 05/01/2012
- Re: [Starpu-devel] initialised SCRATCH buffer, Xavier Lacoste, 05/01/2012
- Message indisponible
- Re: [Starpu-devel] initialised SCRATCH buffer, Samuel Thibault, 05/01/2012
- Re: [Starpu-devel] initialised SCRATCH buffer, Xavier Lacoste, 05/01/2012
- Re: [Starpu-devel] initialised SCRATCH buffer, Samuel Thibault, 05/01/2012
Archives gérées par MHonArc 2.6.19+.