Hi! This is a question I haven't though.
Well, I think your second option is feasible. OpenCL headers are
freely (as in freedom) distributed in the khronos group page
(http://www.khronos.org/registry/cl/). We just have to hope vendors
follow this specification.
Of course, we still need proprietary drivers (libOpenCL.so) in the
runtime until there is an open-source implementation. But I don't know
if this is a problem.
On Tue, Mar 29, 2011 at 6:33 PM, Alexandre Prokoudine
> On 3/29/11, Øyvind Kolås wrote:
>> Another important issue when implementing a new set of vfunc for the
>> OpenCL code (which would have to be fully conditional at compile time,
>> to keep GEGL buildable without).
> As much as I like OpenCL, this part of implementation is going to be
> hairy, because to build an app that uses OpenCL one needs binary ATi
> drivers, binary NVidia drivers or Gallium 3D. Or you would have to
> keep a local copy of respective headers (or write your own ones). You
> can imagine the kind of fun that packagers will have.
> Alexandre Prokoudine
> Gimp-developer mailing list
Gimp-developer mailing list