Re: [Gegl-developer] [PATCH] Add opencl implementation of operation channel-mixer



It is also possible to call gegl_cl_has_extension("cl_khr_fp64") to
check for double support and then pick which kernal source string to
build at runtime. But unless it actually needs a double I would avoid
it, double will be slower pretty much everywhere, CPU included. (And
if it *does* need double precision you probably shouldn't run the
OpenCL version on devices that don't support it.)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]