Re: [Gegl-developer] [PATCH] Add opencl implementation of operation channel-mixer
- From: Victor Oliveira <victormatheus gmail com>
- To: Daniel Sabo <danielsabo gmail com>
- Cc: gegl-developer-list <gegl-developer-list gnome org>, "nanhai.zou" <nanhai zou intel com>, "zhigang.gong" <zhigang gong intel com>
- Subject: Re: [Gegl-developer] [PATCH] Add opencl implementation of operation channel-mixer
- Date: Thu, 30 Jan 2014 18:53:11 -0800
I tried to run the filter in my nvidia card and it is very slow and
crashes sometimes (invalid command queue, i.e. something really bad
happened). Besides the fact that the cl_process function should accept
a size_t instead of a long, I couldn't find any other problems but the
problem persists.
Can you give another look at the patch?
Victor
On Wed, Jan 22, 2014 at 12:41 PM, Daniel Sabo <danielsabo gmail com> wrote:
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]