Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Execute on 2 OpenCL devices

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Execute on 2 OpenCL devices


Chronologique Discussions 
  • From: Julian Holzmüller <h-julian@gmx.at>
  • To: Samuel Thibault <samuel.thibault@ens-lyon.org>, Julian Holzmüller <h-julian@gmx.at>, starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] Execute on 2 OpenCL devices
  • Date: Thu, 10 Oct 2013 17:35:55 +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>

thx for your reply.

how can i resolve this? when i create several tasks they all were executed on only one device...

julian


2013/10/10 Samuel Thibault <samuel.thibault@ens-lyon.org>
Hello,

Julian Holzmüller, le Thu 10 Oct 2013 14:52:10 +0200, a écrit :
> Unfortunately it is only executed on one OpenCL device. The other Device is
> only waiting...
>
> It looks like this (in this case only on CPU-Device): http://imageshack.us/a/
> img21/5926/fjrz.png
>
> int ret = starpu_task_submit(task);
>
> starpu_task_wait_for_all();

> What doing i wrong? How can i manage that the program will run parallel on both
> devices? The performance is not important at this point.

You need to create several tasks. StarPU does not automatically split
OpenCL tasks, you have to submit several of them.

Samuel




Archives gérées par MHonArc 2.6.19+.

Haut de le page