Re: [Gegl-developer] Building opencl branch



For now, I've been using the gegl op tool in gimp to test gegl
operations with OpenCL.
But it shouldn't be hard to create a simple filter using the gegl API
and test performance.

If you want to enable OpenCL, just set the GEGL_USE_OPENCL env variable [1].

Also, if you build gegl with --enable-debug, you can set
GEGL_DEBUG=opencl and get some messages about what's going on [2].
Take care that these messages change execution time.

Victor

[1] http://git.gnome.org/browse/gegl/tree/gegl/gegl-init.c#n295
[2] http://git.gnome.org/browse/gegl/tree/gegl/gegl-debug.h#n34

On Wed, Dec 26, 2012 at 4:05 PM, Павел Рощин <roshin scriptumplus ru> wrote:
Hello!

Ok, I see, that opencl branch is outdated, I successfully compiled and
installed version 0.2 from master.

But there is a question: do you have some code examples/tests I should
run to give you information about bugs/speed comparison? I did not found
any opencl tests in master.

I have this config right now:
- Mageia 2 Operating System
- gegl 0.2 from git
- GIMP 2.8
- Intel Pentium 4 CPU 3.0 GHz
- 8 Gb RAM pc-10660
- Nvidia GeForce GT430 GPU

Wed, 26 Dec 2012 00:11:22 -0200 сообщение от Victor Oliveira
<victormatheus gmail com>:

Hi RPG!

So, it is already integrated in master, you can just ignore the
branch. Victor

On Tue, Dec 25, 2012 at 9:27 PM, Павел Рощин <roshin scriptumplus ru>
wrote:
Hello!

I clone a repo with gegl and build it. But when I ckeckout to branch
opencl-ops I get segfault on building stage! Is it normal?

I compiled master, but there is no some OpenCL tests...

--
Pavel aka RPG


--
Pavel



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