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

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