Accéder au contenu.
Menu Sympa

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

Objet : Developers list for StarPU

Archives de la liste

[Starpu-devel] StarPU OpenCL on Mac


Chronologique Discussions 
  • From: Usman Dastgeer <usman.dastgeer@liu.se>
  • To: "starpu-devel@lists.gforge.inria.fr" <starpu-devel@lists.gforge.inria.fr>
  • Subject: [Starpu-devel] StarPU OpenCL on Mac
  • Date: Fri, 22 Jul 2011 09:37:32 +0200
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • 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,

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?



Archives gérées par MHonArc 2.6.19+.

Haut de le page