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: starpu-devel@lists.gforge.inria.fr, Usman Dastgeer <usman.dastgeer@liu.se>
  • Subject: Re: [Starpu-devel] StarPU OpenCL on Mac
  • Date: Mon, 25 Jul 2011 15:07:35 +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>

Usman,

Could you have a look at George's email below and see if that helps ?

Cheers,

Nathalie

On 25/07/2011 10:37, George Russell wrote:
4E2D2B43.5050301@codeplay.com"> Hi,

I believe that the OSX GCC differs in librarys etc

There is the need to compile with gcc -framework OpenCL 

That gets gcc to look in the appropriate locations for libraries and headers

FWIW, all OSX 10.6 have OpenCL, and none before that version, - so, the configure should not have to find it directly itself.

Cheers,
George

On 22/07/2011 16:30, Nathalie Furmento wrote:
4E298975.2050809@labri.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

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


_______________________________________________
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