RSS/Atom feed Twitter
Site is read-only, email is disabled

multithreading and GEGL

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

19 of 19 messages available
Toggle history

Please log in to manage your subscriptions.

multithreading and GEGL Alexander Rabtchevich 28 Jan 18:27
  multithreading and GEGL Victor Oliveira 28 Jan 23:37
   multithreading and GEGL Alexander Rabtchevich 29 Jan 03:24
    multithreading and GEGL Victor Oliveira 29 Jan 12:38
     multithreading and GEGL Paka 29 Jan 13:31
      multithreading and GEGL Victor Oliveira 29 Jan 17:32
       multithreading and GEGL Paka 29 Jan 17:57
        multithreading and GEGL Victor Oliveira 29 Jan 19:34
         multithreading and GEGL Paka 29 Jan 22:10
          multithreading and GEGL Liam R E Quin 29 Jan 23:11
           multithreading and GEGL Paka 29 Jan 23:23
          multithreading and GEGL Victor Oliveira 29 Jan 23:30
           multithreading and GEGL Paka 29 Jan 23:53
            multithreading and GEGL Victor Oliveira 30 Jan 16:56
       multithreading and GEGL Partha Bagchi 01 Feb 22:10
        multithreading and GEGL Victor Oliveira 02 Feb 00:30
         multithreading and GEGL Partha Bagchi 02 Feb 01:10
          multithreading and GEGL Victor Oliveira 02 Feb 01:46
           multithreading and GEGL Partha Bagchi 02 Feb 01:51
Alexander Rabtchevich
2013-01-28 18:27:40 UTC (about 12 years ago)

multithreading and GEGL

Hello

Is there a way to make 2.9 git master to use more than one core? Changing in GIMP settings doesn't make effect.

With respect, Alexander Rabtchevich

Victor Oliveira
2013-01-28 23:37:06 UTC (about 12 years ago)

multithreading and GEGL

You could try the OpenCL support in GEGL, it should use all of your cores.

ps: there are bugs still, but I'm solving them.

Victor

On Mon, Jan 28, 2013 at 4:27 PM, Alexander Rabtchevich wrote:

Hello

Is there a way to make 2.9 git master to use more than one core? Changing in GIMP settings doesn't make effect.

With respect, Alexander Rabtchevich

_______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

Alexander Rabtchevich
2013-01-29 03:24:42 UTC (about 12 years ago)

multithreading and GEGL

I have embedded AMD 4290 graphics, which does not support OpenCL. So trying ENABLE_OPENCL=yes doesn't make any difference. And the processor is 6-cores Phenom II 1075T.

With respect, Alexander Rabtchevich

Victor Oliveira wrote:

You could try the OpenCL support in GEGL, it should use all of your cores.

ps: there are bugs still, but I'm solving them.

Victor

On Mon, Jan 28, 2013 at 4:27 PM, Alexander Rabtchevich wrote:

Hello

Is there a way to make 2.9 git master to use more than one core? Changing in GIMP settings doesn't make effect.

With respect, Alexander Rabtchevich

_______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

Victor Oliveira
2013-01-29 12:38:07 UTC (about 12 years ago)

multithreading and GEGL

You can use OpenCL in the CPU, just install the AMD OpenCL SDK. GEGL looks for libOpenCL.so in /usr/lib.

You should use GEGL_ENABLE_OPENCL=yes

On Tue, Jan 29, 2013 at 1:24 AM, Alexander Rabtchevich wrote:

I have embedded AMD 4290 graphics, which does not support OpenCL. So trying ENABLE_OPENCL=yes doesn't make any difference. And the processor is 6-cores Phenom II 1075T.

With respect, Alexander Rabtchevich

Victor Oliveira wrote:

You could try the OpenCL support in GEGL, it should use all of your cores.

ps: there are bugs still, but I'm solving them.

Victor

On Mon, Jan 28, 2013 at 4:27 PM, Alexander Rabtchevich wrote:

Hello

Is there a way to make 2.9 git master to use more than one core? Changing in
GIMP settings doesn't make effect.

With respect, Alexander Rabtchevich

_______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

Paka
2013-01-29 13:31:21 UTC (about 12 years ago)

multithreading and GEGL

* Victor Oliveira [01-29-13 07:39]:

You can use OpenCL in the CPU, just install the AMD OpenCL SDK. GEGL looks for libOpenCL.so in /usr/lib.

You should use GEGL_ENABLE_OPENCL=yes

export as environment varible or ??

tks,

(paka)Patrick Shanahan       Plainfield, Indiana, USA      HOG # US1244711
http://wahoo.no-ip.org        Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org                           openSUSE Community Member
Registered Linux User #207535                    @ http://linuxcounter.net
Victor Oliveira
2013-01-29 17:32:26 UTC (about 12 years ago)

multithreading and GEGL

yes,

export GEGL_ENABLE_OPENCL=yes

also, when you build GEGL, put the option --enable-config. with that you can set:

export GEGL_DEBUG=opencl

so you can see if OpenCL is really being used or if there is some bug.

Victor

On Tue, Jan 29, 2013 at 11:31 AM, Paka wrote:

* Victor Oliveira [01-29-13 07:39]:

You can use OpenCL in the CPU, just install the AMD OpenCL SDK. GEGL looks for libOpenCL.so in /usr/lib.

You should use GEGL_ENABLE_OPENCL=yes

export as environment varible or ??

tks, --
(paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net _______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

Paka
2013-01-29 17:57:19 UTC (about 12 years ago)

multithreading and GEGL

* Victor Oliveira [01-29-13 12:34]:

yes,

export GEGL_ENABLE_OPENCL=yes

also, when you build GEGL, put the option --enable-config. with that you can set:

export GEGL_DEBUG=opencl

so you can see if OpenCL is really being used or if there is some bug.

tks, I added to ~/.bashrc as I use pre-packaged rpm. I cannot see that opencl is required or used by gimp, as rpm -q gimp --requires
does not show opencl

is there a test to show usage other than dis-abling, timing an action, and enabling and timing same action?

tks,

(paka)Patrick Shanahan       Plainfield, Indiana, USA      HOG # US1244711
http://wahoo.no-ip.org        Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org                           openSUSE Community Member
Registered Linux User #207535                    @ http://linuxcounter.net
Victor Oliveira
2013-01-29 19:34:41 UTC (about 12 years ago)

multithreading and GEGL

no, besides building gegl by yourself, no. GIMP doesn't require OpenCL because the libOpenCL.so is loaded at runtime (like, dlopen) in the case it is present at the machine.

Victor

On Tue, Jan 29, 2013 at 3:57 PM, Paka wrote:

* Victor Oliveira [01-29-13 12:34]:

yes,

export GEGL_ENABLE_OPENCL=yes

also, when you build GEGL, put the option --enable-config. with that you can set:

export GEGL_DEBUG=opencl

so you can see if OpenCL is really being used or if there is some bug.

tks, I added to ~/.bashrc as I use pre-packaged rpm. I cannot see that opencl is required or used by gimp, as rpm -q gimp --requires
does not show opencl

is there a test to show usage other than dis-abling, timing an action, and enabling and timing same action?

tks, --
(paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net _______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

Paka
2013-01-29 22:10:17 UTC (about 12 years ago)

multithreading and GEGL

* Victor Oliveira [01-29-13 14:35]:

no, besides building gegl by yourself, no. GIMP doesn't require OpenCL because the libOpenCL.so is loaded at runtime (like, dlopen) in the case it is present at the machine.

Then I guess the gimp package on my system does not utilize opencl. I opened gimp and loaded an image, instructed gimp to use GEGL and performed a GEGL operation on the photo. psaux does not reveal any opencl process or library being loaded.

Or is my thinking flawed?

tks,

(paka)Patrick Shanahan       Plainfield, Indiana, USA      HOG # US1244711
http://wahoo.no-ip.org        Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org                           openSUSE Community Member
Registered Linux User #207535                    @ http://linuxcounter.net
Liam R E Quin
2013-01-29 23:11:56 UTC (about 12 years ago)

multithreading and GEGL

On Tue, 2013-01-29 at 17:10 -0500, Paka wrote:

psaux does not reveal any opencl process or library being loaded.

You'd more likely need to use strace to see if the library was opened; I am not sure that anything would show up in ps in this case.

Liam

Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
Paka
2013-01-29 23:23:09 UTC (about 12 years ago)

multithreading and GEGL

* Liam R E Quin [01-29-13 18:12]:

On Tue, 2013-01-29 at 17:10 -0500, Paka wrote:

psaux does not reveal any opencl process or library being loaded.

You'd more likely need to use strace to see if the library was opened; I am not sure that anything would show up in ps in this case.

tks,

ran strace -o gimp

opened image enabled GEGL under video
enabled GEGL under colors
performed tools->gegl-operation->noise-reduction closed image/gimp

did grep -i opencl got no hits

so I do not have opencl compiled in gimp

I am using proprietary NVidia drivers, 310-19, and have support installed for opencl and can confirm that darktable uses it.

Does this appear correct?

(paka)Patrick Shanahan       Plainfield, Indiana, USA      HOG # US1244711
http://wahoo.no-ip.org        Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org                           openSUSE Community Member
Registered Linux User #207535                    @ http://linuxcounter.net
Victor Oliveira
2013-01-29 23:30:24 UTC (about 12 years ago)

multithreading and GEGL

It should work on GIMP 2.8.2. Do you have libOpenCL.so? Also, I'm not sure if it spawn a separated process.

If you continue to have problems, I suggest you to build GEGL.

Victor

On Tue, Jan 29, 2013 at 8:10 PM, Paka wrote:

* Victor Oliveira [01-29-13 14:35]:

no, besides building gegl by yourself, no. GIMP doesn't require OpenCL because the libOpenCL.so is loaded at runtime (like, dlopen) in the case it is present at the machine.

Then I guess the gimp package on my system does not utilize opencl. I opened gimp and loaded an image, instructed gimp to use GEGL and performed a GEGL operation on the photo. psaux does not reveal any opencl process or library being loaded.

Or is my thinking flawed?

tks, --
(paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net _______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

Paka
2013-01-29 23:53:50 UTC (about 12 years ago)

multithreading and GEGL

* Victor Oliveira [01-29-13 18:49]:

It should work on GIMP 2.8.2. Do you have libOpenCL.so? Also, I'm not sure if it spawn a separated process.

/usr/lib/libnvidia-opencl.so.1
/usr/lib/libnvidia-opencl.so.310.32
/usr/lib64/libnvidia-opencl.so.1
/usr/lib64/libnvidia-opencl.so.310.32

provided by proprietary NVidia driver 310.32

If you continue to have problems, I suggest you to build GEGL.

I do not see problems but was wondering if OpenCL was being utilized and so far, I would say not. My i7/12gb/GTS-450 should benefit.

tks,

(paka)Patrick Shanahan       Plainfield, Indiana, USA      HOG # US1244711
http://wahoo.no-ip.org        Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org                           openSUSE Community Member
Registered Linux User #207535                    @ http://linuxcounter.net
Victor Oliveira
2013-01-30 16:56:34 UTC (about 12 years ago)

multithreading and GEGL

that's strange, because it looks for the exact name "libOpenCL.so", don't you have it? It should be installed with the driver. But probably you have it considering that you can use darktable without problems.

I have also a nvidia GPU with GIMP-2.8 (from Ubuntu 12.10) and noise-reduction works fine with the GPU.

victorm@Brava:~$ export GEGL_USE_OPENCL=yes victorm@Brava:~$ gimp-2.8

Victor

On Tue, Jan 29, 2013 at 9:53 PM, Paka wrote:

* Victor Oliveira [01-29-13 18:49]:

It should work on GIMP 2.8.2. Do you have libOpenCL.so? Also, I'm not sure if it spawn a separated process.

/usr/lib/libnvidia-opencl.so.1
/usr/lib/libnvidia-opencl.so.310.32
/usr/lib64/libnvidia-opencl.so.1
/usr/lib64/libnvidia-opencl.so.310.32

provided by proprietary NVidia driver 310.32

If you continue to have problems, I suggest you to build GEGL.

I do not see problems but was wondering if OpenCL was being utilized and so far, I would say not. My i7/12gb/GTS-450 should benefit.

tks, --
(paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net _______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

Partha Bagchi
2013-02-01 22:10:45 UTC (about 12 years ago)

multithreading and GEGL

Victor,

When I look at the code, I don't understand how you are handling the Mac OS, when you don't typically see so libraries, by dylibs. Can you elaborate?

Also, when I try to add --enable-config to configure, I get configure: WARNING: unrecognized options: --enable-config

Thanks, Partha

On Tue, Jan 29, 2013 at 12:32 PM, Victor Oliveira wrote:

yes,

export GEGL_ENABLE_OPENCL=yes

also, when you build GEGL, put the option --enable-config. with that you can set:

export GEGL_DEBUG=opencl

so you can see if OpenCL is really being used or if there is some bug.

Victor

On Tue, Jan 29, 2013 at 11:31 AM, Paka wrote:

* Victor Oliveira [01-29-13 07:39]:

You can use OpenCL in the CPU, just install the AMD OpenCL SDK. GEGL looks for libOpenCL.so in /usr/lib.

You should use GEGL_ENABLE_OPENCL=yes

export as environment varible or ??

tks, --
(paka)Patrick Shanahan Plainfield, Indiana, USA HOG #

US1244711

http://wahoo.no-ip.org Photo Album:

http://wahoo.no-ip.org/gallery2

http://en.opensuse.org openSUSE Community

Member

Registered Linux User #207535 @

http://linuxcounter.net

_______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

_______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

Victor Oliveira
2013-02-02 00:30:01 UTC (about 12 years ago)

multithreading and GEGL

Hello Partha.

I'm sorry, I mean "--enable-debug" instead of "--enable-config".

That's a good observation. In Windows I look for "OpenCL.dll" and in Linux I look for "libOpenCL.so", but I'm not sure how I should handle it in MacOS. I was assuming it was the same as the Linux way. Do you know how I should do this?

Victor

On Fri, Feb 1, 2013 at 8:10 PM, Partha Bagchi wrote:

Victor,

When I look at the code, I don't understand how you are handling the Mac OS, when you don't typically see so libraries, by dylibs. Can you elaborate?

Also, when I try to add --enable-config to configure, I get configure: WARNING: unrecognized options: --enable-config

Thanks, Partha

On Tue, Jan 29, 2013 at 12:32 PM, Victor Oliveira wrote:

yes,

export GEGL_ENABLE_OPENCL=yes

also, when you build GEGL, put the option --enable-config. with that you can set:

export GEGL_DEBUG=opencl

so you can see if OpenCL is really being used or if there is some bug.

Victor

On Tue, Jan 29, 2013 at 11:31 AM, Paka wrote:

* Victor Oliveira [01-29-13 07:39]:

You can use OpenCL in the CPU, just install the AMD OpenCL SDK. GEGL looks for libOpenCL.so in /usr/lib.

You should use GEGL_ENABLE_OPENCL=yes

export as environment varible or ??

tks, --
(paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711
http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org openSUSE Community Member
Registered Linux User #207535 @ http://linuxcounter.net
_______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

_______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

Partha Bagchi
2013-02-02 01:10:29 UTC (about 12 years ago)

multithreading and GEGL

Hi Victor,

I think on Windows for 32-bit you are OK with call OpenCL.dll, but I think you need to call OpenCL64.dll for 64-bit?

For Mac, according to http://developer.apple.com/library/mac/documentation/Performance/Conceptual/OpenCL_MacProgGuide/OpenCL_MacProgGuide.pdf

the sample code on page 17, says:

// This include pulls in everything you need to develop with OpenCL on OS X v10.7.
#include

To compile from the command line, I think you need to do have -framework OpenCL during compilation.

For instance,

gcc -framework OpenCL filein.c -o filein

Can we test this out?

Thanks, Partha

On Fri, Feb 1, 2013 at 7:30 PM, Victor Oliveira wrote:

Hello Partha.

I'm sorry, I mean "--enable-debug" instead of "--enable-config".

That's a good observation. In Windows I look for "OpenCL.dll" and in Linux I look for "libOpenCL.so", but I'm not sure how I should handle it in MacOS. I was assuming it was the same as the Linux way. Do you know how I should do this?

Victor

On Fri, Feb 1, 2013 at 8:10 PM, Partha Bagchi wrote:

Victor,

When I look at the code, I don't understand how you are handling the Mac

OS,

when you don't typically see so libraries, by dylibs. Can you elaborate?

Also, when I try to add --enable-config to configure, I get configure: WARNING: unrecognized options: --enable-config

Thanks, Partha

On Tue, Jan 29, 2013 at 12:32 PM, Victor Oliveira <

victormatheus@gmail.com>

wrote:

yes,

export GEGL_ENABLE_OPENCL=yes

also, when you build GEGL, put the option --enable-config. with that you can set:

export GEGL_DEBUG=opencl

so you can see if OpenCL is really being used or if there is some bug.

Victor

On Tue, Jan 29, 2013 at 11:31 AM, Paka wrote:

* Victor Oliveira [01-29-13 07:39]:

You can use OpenCL in the CPU, just install the AMD OpenCL SDK. GEGL looks for libOpenCL.so in /usr/lib.

You should use GEGL_ENABLE_OPENCL=yes

export as environment varible or ??

tks, --
(paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711
http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org openSUSE Community Member
Registered Linux User #207535 @ http://linuxcounter.net
_______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

_______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

Victor Oliveira
2013-02-02 01:46:49 UTC (about 12 years ago)

multithreading and GEGL

On Fri, Feb 1, 2013 at 11:10 PM, Partha Bagchi wrote:

Hi Victor,

I think on Windows for 32-bit you are OK with call OpenCL.dll, but I think you need to call OpenCL64.dll for 64-bit?

I have a 64-bit Windows system and it comes with OpenCL.dll.

For Mac, according to
http://developer.apple.com/library/mac/documentation/Performance/Conceptual/OpenCL_MacProgGuide/OpenCL_MacProgGuide.pdf

the sample code on page 17, says:

// This include pulls in everything you need to develop with OpenCL on OS X v10.7.
#include

To compile from the command line, I think you need to do have -framework OpenCL during compilation.

For instance,

gcc -framework OpenCL filein.c -o filein

Can we test this out?

The problem is, I don't have a machine with MacOS :/

Thanks,
Partha

On Fri, Feb 1, 2013 at 7:30 PM, Victor Oliveira wrote:

Hello Partha.

I'm sorry, I mean "--enable-debug" instead of "--enable-config".

That's a good observation. In Windows I look for "OpenCL.dll" and in Linux I look for "libOpenCL.so", but I'm not sure how I should handle it in MacOS. I was assuming it was the same as the Linux way. Do you know how I should do this?

Victor

On Fri, Feb 1, 2013 at 8:10 PM, Partha Bagchi wrote:

Victor,

When I look at the code, I don't understand how you are handling the Mac OS,
when you don't typically see so libraries, by dylibs. Can you elaborate?

Also, when I try to add --enable-config to configure, I get configure: WARNING: unrecognized options: --enable-config

Thanks, Partha

On Tue, Jan 29, 2013 at 12:32 PM, Victor Oliveira

wrote:

yes,

export GEGL_ENABLE_OPENCL=yes

also, when you build GEGL, put the option --enable-config. with that you can set:

export GEGL_DEBUG=opencl

so you can see if OpenCL is really being used or if there is some bug.

Victor

On Tue, Jan 29, 2013 at 11:31 AM, Paka wrote:

* Victor Oliveira [01-29-13 07:39]:

You can use OpenCL in the CPU, just install the AMD OpenCL SDK. GEGL looks for libOpenCL.so in /usr/lib.

You should use GEGL_ENABLE_OPENCL=yes

export as environment varible or ??

tks, --
(paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711
http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org openSUSE Community Member
Registered Linux User #207535 @ http://linuxcounter.net
_______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

_______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

Partha Bagchi
2013-02-02 01:51:44 UTC (about 12 years ago)

multithreading and GEGL

On Fri, Feb 1, 2013 at 8:46 PM, Victor Oliveira wrote:

On Fri, Feb 1, 2013 at 11:10 PM, Partha Bagchi wrote:

Hi Victor,

I think on Windows for 32-bit you are OK with call OpenCL.dll, but I

think

you need to call OpenCL64.dll for 64-bit?

I have a 64-bit Windows system and it comes with OpenCL.dll.

OK, I could be wrong, but I have an nvidia card on my windows machine and seem to remember seeing opencl64.dll. I don't have it handy this weekend, but I will check when I am back on that machine.

For Mac, according to

http://developer.apple.com/library/mac/documentation/Performance/Conceptual/OpenCL_MacProgGuide/OpenCL_MacProgGuide.pdf

the sample code on page 17, says:

// This include pulls in everything you need to develop with OpenCL on

OS X

v10.7.
#include

To compile from the command line, I think you need to do have -framework OpenCL during compilation.

For instance,

gcc -framework OpenCL filein.c -o filein

Can we test this out?

The problem is, I don't have a machine with MacOS :/

I do. :) Happy to test out any code you want me to.

Thanks,
Partha

On Fri, Feb 1, 2013 at 7:30 PM, Victor Oliveira

wrote:

Hello Partha.

I'm sorry, I mean "--enable-debug" instead of "--enable-config".

That's a good observation. In Windows I look for "OpenCL.dll" and in Linux I look for "libOpenCL.so", but I'm not sure how I should handle it in MacOS. I was assuming it was the same as the Linux way. Do you know how I should do this?

Victor

On Fri, Feb 1, 2013 at 8:10 PM, Partha Bagchi

wrote:

Victor,

When I look at the code, I don't understand how you are handling the

Mac

OS,
when you don't typically see so libraries, by dylibs. Can you

elaborate?

Also, when I try to add --enable-config to configure, I get configure: WARNING: unrecognized options: --enable-config

Thanks, Partha

On Tue, Jan 29, 2013 at 12:32 PM, Victor Oliveira

wrote:

yes,

export GEGL_ENABLE_OPENCL=yes

also, when you build GEGL, put the option --enable-config. with that you can set:

export GEGL_DEBUG=opencl

so you can see if OpenCL is really being used or if there is some

bug.

Victor

On Tue, Jan 29, 2013 at 11:31 AM, Paka wrote:

* Victor Oliveira [01-29-13 07:39]:

You can use OpenCL in the CPU, just install the AMD OpenCL SDK.

GEGL

looks for libOpenCL.so in /usr/lib.

You should use GEGL_ENABLE_OPENCL=yes

export as environment varible or ??

tks, --
(paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711
http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org openSUSE

Community

Member
Registered Linux User #207535 @ http://linuxcounter.net
_______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

_______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list