Objet : Developers list for StarPU
Archives de la liste
- From: Nathalie Furmento <nathalie.furmento@labri.fr>
- To: "starpu-devel@lists.gforge.inria.fr" <starpu-devel@lists.gforge.inria.fr>, Usman Dastgeer <usman.dastgeer@liu.se>
- Subject: [Starpu-devel] Fwd: Re: StarPU OpenCL on Mac
- Date: Tue, 26 Jul 2011 18:34:42 +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>
(Just Forwarding to the list.) (Usman, you should always replied to the list, it is easier to keep a track on current issues, and potentially more persons can help with the problem) -------- Original Message -------- Subject: Re: [Starpu-devel] StarPU OpenCL on Mac Date: Tue, 26 Jul 2011 17:29:50 +0200 From: Usman Dastgeer <usman.dastgeer@liu.se> To: Nathalie Furmento <nathalie.furmento@labri.fr> Thanks Nathalie!
I knew about this -framework OpenCL in Mac as I used it with
other applications. The problem is when using it with StarPU.
What I understood from your response is that configure does not
need to detect OpenCL. This means that I need to change the
makefile (or possibly some other location?) to allow StarPU to
compile its OpenCL drivers etc.
I did that to some extent but still starpu_opencl code is not
compiled and thus ngives following compiler errors:
../include_starpu/skepu/map.h:167: error: field
‘opencl_codelet’ has incomplete type
../include_starpu/skepu/map.h:167: error: in
instantiation of template ‘skepu::Map<MapFunc, T, c_type,
cont_type>’
../include_starpu/skepu/map.h:316: error: field
‘opencl_codelet’ has incomplete type
../include_starpu/skepu/map.h:316: error: in
instantiation of template ‘skepu::Map<MapFunc, T, BINARY,
SKEPU_VECTOR>’
../include_starpu/skepu/map.h:474: error: field
‘opencl_codelet’ has incomplete type
../include_starpu/skepu/map.h:474: error: in
instantiation of template ‘skepu::Map<MapFunc, T, TERNARY,
SKEPU_VECTOR>’
../include_starpu/skepu/map.h:640: error: field
‘opencl_codelet’ has incomplete type
../include_starpu/skepu/map.h:640: error: in
instantiation of template ‘skepu::Map<MapFunc, T, BINARY,
MATRIX>’
....
../include_starpu/skepu/src/map_cl.inl:93: error:
‘starpu_opencl_load_opencl_from_string’ was not declared in
this scope
...
I have attached the Makefile with small modification to
enable OpenCL (e.g. setting STARPU_USE_OPENCL = yes). I
rebuilt the StarPU using the attached Makefile but still I am
not getting OpenCL working and having the above errors.
PS: I have used -framework OpenCL option when compiling the
code.
--
Usman.
On Jul 25, 2011, at 3:07 PM, Nathalie Furmento wrote:
|
Attachment:
Makefile
Description: Binary data
- [Starpu-devel] Fwd: Re: StarPU OpenCL on Mac, Nathalie Furmento, 25/07/2011
- <Suite(s) possible(s)>
- [Starpu-devel] Fwd: Re: StarPU OpenCL on Mac, Nathalie Furmento, 26/07/2011
- Re: [Starpu-devel] Fwd: Re: StarPU OpenCL on Mac, Nathalie Furmento, 27/07/2011
Archives gérées par MHonArc 2.6.19+.