Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] StarPU OpenCL on Mac

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] StarPU OpenCL on Mac


Chronologique Discussions 
  • From: Nathalie Furmento <nathalie.furmento@labri.fr>
  • To: Usman Dastgeer <usman.dastgeer@liu.se>
  • Cc: "starpu-devel@lists.gforge.inria.fr" <starpu-devel@lists.gforge.inria.fr>
  • Subject: Re: [Starpu-devel] StarPU OpenCL on Mac
  • Date: Fri, 22 Jul 2011 16:30:13 +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>

Dear Usman,

On Apple systems, StarPU tries to include OpenCL/cl.h. This may need to be fixed, as on your system this file does not seem to be available.

Could you please send us the config.log file to get more information on what is detected or not by the configure ?

Thanks.

Regards,

Nathalie

On 22/07/2011 09:37, Usman Dastgeer wrote: Hello,

When using on Mac, how could I specify OpenCL directory? In manual, it says that is should be with directory include/OpenCL/cl.h on Mac OS.

First, when using Mac OpenCL implementation we normally do like #include <OpenCL/opencl.h>. Secondly, I could not find this include directory (include/OpenCL/cl.h). My search gives me following results:

sudo find /System /Developer/ /Applications/ /bin /etc/ -name opencl.h
/System/Library/Frameworks/OpenCL.framework/Versions/A/Headers/opencl.h
/Developer//GPU Computing/OpenCL/common/inc/CL/opencl.h
/Developer//SDKs/MacOSX10.6.sdk/System/Library/Frameworks/OpenCL.framework/Versions/A/Headers/opencl.h

sudo find /System /Developer/ /Applications/ /bin /etc/ -name cl.h
/System/Library/Frameworks/OpenCL.framework/Versions/A/Headers/cl.h
/Developer//GPU Computing/OpenCL/common/inc/CL/cl.h
/Developer//SDKs/MacOSX10.6.sdk/System/Library/Frameworks/OpenCL.framework/Versions/A/Headers/cl.h

I tried specifying ./configure --with-opencl-dir=/Developer/GPU\ Computing/OpenCL/common/ but it didn't recognize OpenCL.


Any idea?

_______________________________________________
Starpu-devel mailing list
Starpu-devel@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/starpu-devel




Archives gérées par MHonArc 2.6.19+.

Haut de le page