Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] OpenCL in StarPU

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] OpenCL in StarPU


Chronologique Discussions 
  • From: Cedric Augonnet <cedric.augonnet@inria.fr>
  • To: Usman Dastgeer <usman@live.ca>
  • Cc: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] OpenCL in StarPU
  • Date: Thu, 9 Dec 2010 11:26:31 +0100 (CET)
  • 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 Usman,

Le 09/12/2010 11:19, Usman Dastgeer a écrit :
> Hello,
>
> Which OpenCL implementation are you using in StarPU. Is is NVIDIA or AMD
> implementation? I am using it on NVIDIA GPUs with CUDA and OpenCL
> support and it works for CUDA but not for OpenCL as our server has
> NVIDIA OpenCL implementation.
>
> Some detail:
>
> pkg-config --libs libstarpu
> -L/home/******/programs/lib -L/usr//lib/ -lstarpu -lcuda
>
> pkg-config --cflags libstarpu
> -I/home/******/programs/include -I/usr//include/
>
> #ifdef STARPU_USE_OPENCL // it works but when you submit tasks only with
> OpenCL, it says "no worker may execute this task"
>
>
> Waiting for your reply.

It should normally work either with AMD or NVIDIA, but we actually on
have NVIDIA hardware, so there can be some issues with AMD. Could you
please send us the config.log file generated by the configure script.

Also, when CUDA and OpenCL are enabled, note that StarPU will launch an
OpenCL worker only if CUDA is not running on the GPU: ie. could you
please try setting the env variable STARPU_NCUDA=0 to see if that makes
a difference?

This is some design choice that was made because there is currently no
interoperability between CUDA and OpenCL. Let's hope this gets improved
in the future!

Best,
Cédric

--
Cédric AUGONNET
PhD student -- Runtime Team
INRIA Bordeaux - LaBRI
Tel: [33] (0)5 24 57 40 74





Archives gérées par MHonArc 2.6.19+.

Haut de le page