Re: [Gegl-developer] [PATCH] Add opencl implementation of operation channel-mixer
- From: Daniel Sabo <danielsabo gmail com>
- To: Victor Oliveira <victormatheus gmail com>
- Cc: gegl-developer-list <gegl-developer-list gnome org>, "nanhai.zou" <nanhai zou intel com>, "zhigang.gong" <zhigang gong intel com>, Yongjia Zhang <yongjia zhang intel com>
- Subject: Re: [Gegl-developer] [PATCH] Add opencl implementation of operation channel-mixer
- Date: Wed, 22 Jan 2014 12:41:05 -0800
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]