Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Error - No worker may execute this task

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Error - No worker may execute this task


Chronologique Discussions 
  • From: ASUDE ASUDE <ajitsdeshpande@gmail.com>
  • To: Samuel Thibault <samuel.thibault@ens-lyon.org>, Nathalie Furmento <nathalie.furmento@labri.fr>, starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] Error - No worker may execute this task
  • Date: Mon, 28 Nov 2011 16:48:22 +0000
  • 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,
 I have done both actually -
./configure --enable-opencl --disable-cuda
and
set STARPU_NCUDA=0
set STARPU_NOPENCL=2

Still got the error.
But one thing i notice that in my code STARPU initialization function is called as starpu_init(NULL) , no conf structure there passed
Do you reckon that could be the culprit? How does one a starpu_conf structure to use OpenCL devices?

Thank you.
-Ad

On Mon, Nov 28, 2011 at 4:34 PM, Samuel Thibault <samuel.thibault@ens-lyon.org> wrote:
ASUDE ASUDE, le Mon 28 Nov 2011 17:29:39 +0100, a écrit :
> starpu_machine_display shows:
> StarPU has found :
>         1 CPU cores
>                 CPU 0
>         1 CUDA devices
>                 CUDA 0 (GeForce GTX 470)
>         0 OpenCL devices
>
> That explains it. But I thought since I was trying to get it executed on a
> NVIDIA GPU Card (GeForce GTX-470) , I presumed it had 'openCL devices'
> Is there any need to configure a openCL device or something?

See part 3.4 of the StarPU Handbook, you need to either disable cuda at
./configure time, or set the STARPU_NCUDA environment variable to 0,
because NVIDIA drivers don't permit both CUDA and OpenCL at the same
time for a given device.

Samuel




Archives gérées par MHonArc 2.6.19+.

Haut de le page