Objet : Developers list for StarPU
Archives de la liste
- From: George Russell <george@codeplay.com>
- To: Cédric Augonnet <cedric.augonnet@inria.fr>
- Cc: starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] Building StarPU for OpenCL and Linux
- Date: Wed, 23 Feb 2011 15:55:19 +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 Cédric, Some more feedback (still on the 0.4 release, atm) The OpenCL support is assuming that the device to run on is a GPU, and this is hard coded into the StarPU OpenCL driver in _starpu_opencl_init I don't believe this is necessary (or desirable). It should be possible to run OpenCL codelets on the CPU or on other OpenCL device classes (CL_DEVICE_TYPE_ACCELERATOR, CL_DEVICE_TYPE_CPU) which will allow running on the Cell SPUs or multi-core CPUs. I think its not impossible that, for some tasks, a vectorised CPU OpenCL codelet may outperform a scalar C codelet, for example; it may also allow another approach to StarPU on the Cell platform. This is a slight obstacle for me at the moment, as in the Linux VM I don't have an OpenCL capable video card. Instead, I run the OpenCL code on the CPU (CL_DEVICE_TYPE_GPU) instead, and this should work fine (tm). Sadly, it seems that the combination of StarPU 0.4, ATI Stream SDK, and the OpenCL on CPU tweak (just changing the device GPU->CPU in the setup) results in an infinite loop / deadlock in usage. One further thing: The OpenCL kernels are compiled with the -Werror option. However, at least one of the kernels is using floating point constants without the F or f suffix. This is actually not allowed in OpenCL unless the fp64 (double precision floating point extension) is enabled via #pragma. Consequently, the AMD/ATI compiler raises a warning on this; the -Werror switch then results in a compile error when processing the OpenCL code. Cheers, George On 22/02/2011 22:33, Cédric Augonnet wrote: 4D642B90.2060801@inria.fr"> Hi George, |
- [Starpu-devel] Building StarPU for OpenCL and Linux, George Russell, 22/02/2011
- Re: [Starpu-devel] Building StarPU for OpenCL and Linux, Cédric Augonnet, 22/02/2011
- Re: [Starpu-devel] Building StarPU for OpenCL and Linux, George Russell, 23/02/2011
- Re: [Starpu-devel] Building StarPU for OpenCL and Linux, Cédric Augonnet, 22/02/2011
Archives gérées par MHonArc 2.6.19+.