Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Building StarPU for OpenCL and Linux

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Building StarPU for OpenCL and Linux


Chronologique Discussions 
  • From: Cédric Augonnet <cedric.augonnet@inria.fr>
  • To: George Russell <george@codeplay.com>
  • Cc: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] Building StarPU for OpenCL and Linux
  • Date: Tue, 22 Feb 2011 22:33:04 +0100
  • 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>

Hi George,

This is actually possible to do that in the svn version with --with-opencl-include-dir=<path> and --with-opencl-lib-dir=<path>. Unfortunately, this is not in the released version, which makes it impossible to use ATI's OpenCL on window indeed.

Perhaps we need to backport some important modifications like that, or we should consider a new release...

Sorry for the trouble and thanks a lot for your feedback!

Cédric

On 22/02/2011 19:58, George Russell wrote:
4D640765.3040809@codeplay.com"> Hi,

It was easier to build StarPU 0.4 for Linux and OpenCL in a VM, just one note on the OpenCL side of things; the configure check assumes the OpenCL installation is in some directory specified in the configure, with a lib and include subdirectory.

For the ATI Stream SDK, the lib directory contains no files, just subdirectories, and so the OpenCL library is not found, and the build fails with undefined reference to the OpenCL API functions e.g. clCreateKernel.

Just moving the .so files etc to the lib dir (instead of lib/x86) makes the build succeed.

I think there is probably a need to decouple the location of OpenCL libraries and headers from the assumption of a fixed directory layout.

Cheers,
George

_______________________________________________
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