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.)
_______________________________________________
gegl-developer-list mailing list
List address:    gegl-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gegl-developer-list

Reply via email to