Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Does Snow Leopard use OpenCL at all?

Does Snow Leopard use OpenCL at all?
Thread Tools
Eug
Posting Junkie
Join Date: Dec 2000
Location: Caught in a web of deceit.
Status: Offline
Reply With Quote
Nov 5, 2009, 09:00 AM
 
I know Snow Leopard 10.6 supports OpenCL, but does it use it all?

So far I have not found any apps that use OpenCL besides benches.
     
Professional Poster
Join Date: Jun 1999
Location: Centennial, CO, USA
Status: Offline
Reply With Quote
Nov 5, 2009, 10:21 AM
 
How can you even tell?
     
Eug
Posting Junkie
Join Date: Dec 2000
Location: Caught in a web of deceit.
Status: Offline
Reply With Quote
Nov 5, 2009, 11:41 AM
 
If OS X did use OpenCL, perhaps a machine with an OpenCL compliant card would have less CPU usage than a machine without one.

However, I was really just wondering if any of the developers might know. I get the impression that OS X doesn't actually use OpenCL, because the tech blurbs keep emphasizing that OS X supports it, for usage like speeding up scientific calculations.

"once developers begin to use OpenCL in their applications, you’ll experience greatly improved speed in a wide spectrum of applications."

I suspect Final Cut Studio in its next iteration might utilize OpenCL though. Also, OpenCL could be used in iPhoto and iMovie eventually.

"Media applications can perform complex, intensive operations with larger video and graphics files."

BTW, I'm reading Apple has the most complete set of tools so far for OpenCL programming, so it seems they're really trying to push it.
     
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status: Offline
Reply With Quote
Nov 5, 2009, 11:49 AM
 
Of course Snow Leopard uses OpenCL. In Snow Leopard, Core Image has been re-implemented using OpenCL.
     
Eug
Posting Junkie
Join Date: Dec 2000
Location: Caught in a web of deceit.
Status: Offline
Reply With Quote
Nov 5, 2009, 12:04 PM
 
Link?

Considering Core Image still works fine utilizing the GPU on older machines, are you saying Core Image has several fallback levels now? eg:

Radeon 4850 --> OpenCL
Radeon 9600 --> OpenGL
Radeon 9200 --> CPU
     
cgc
Mac Elite
Join Date: Mar 2003
Location: California
Status: Offline
Reply With Quote
Nov 5, 2009, 08:51 PM
 
Apple pushes lots of technology that is underutilized...anyone remember Cider?
     
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status: Offline
Reply With Quote
Nov 6, 2009, 02:11 AM
 
Originally Posted by Eug View Post
Link?
I'm sure you'll find it in John Siracusa's article on Snow Leopard.
     
Eug
Posting Junkie
Join Date: Dec 2000
Location: Caught in a web of deceit.
Status: Offline
Reply With Quote
Nov 6, 2009, 08:23 AM
 
Originally Posted by cgc View Post
Apple pushes lots of technology that is underutilized...anyone remember Cider?
To be fair, OpenCL is very, very young.

The spec was only approved at the end of last year.


Originally Posted by Simon View Post
I'm sure you'll find it in John Siracusa's article on Snow Leopard.
I did, thx. It was almost mentioned in passing, and I guess I missed it.

"(Oh, and by the way, remember Core Image? That's another API that needs to compile code just-in-time and ship it off to execute on parallel hardware like GPUs and multi-core CPUs. In Snow Leopard, Core Image has been re-implemented using OpenCL, producing a hefty 25% overall performance boost.)"

However, that means there must be that fall back then, probably to OpenGL. I can't test this myself, but my understanding is that Core Image in Snow Leopard continues to work fine on older GPUs that do not support OpenCL.


Originally Posted by chabig View Post
How can you even tell?
Knowing the above, one way to test might just be to test Core Image in OS X 10.5 vs 10.6. eg. Benchmark Aperture in the two OSes to compare batch image export times, etc.

Is it safe to assume that Core Video has also been re-implemented with OpenCL? If so, you could also do it with Final Cut Studio or presumably iMovie.

Or you could run iMaginator, which is a Core Image based application.

There's also the OpenCL Benchmark, but it's quite irritating to run, and of course it doesn't run on 10.5. BTW, here is a, OpenCL Benchmark results page. The benchmark page unfortunately is currently pretty useless, because people are not running the same tests within OpenCL Benchmark. I blame the benchmark itself, because it's not n00b proof.

P.S. It should be noted that for ATI GPUs, some OpenCL-related fixes are coming in 10.6.2.
(Last edited by Eug; Nov 6, 2009 at 08:56 AM. )
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 05:55 PM.
All contents of these forums © 1995-2009 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.4 © 2000-2009, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2