Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 10, 2013, 12:15 AM   #1
skaertus
macrumors 68020
 
skaertus's Avatar
 
Join Date: Feb 2009
Location: Brazil
Where is OpenCL?

OpenCL was released with Snow Leopard, four years ago, and promised revolutionary GPGPU. But I don't see many apps actually using it. Is it indeed a failure?
__________________
15-inch Retina MacBook Pro 2.4 GHz (early 2013) | 13-inch MacBook 2.4 GHz (early 2008) | 32 GB new iPad wi-fi + cellular | 16 GB iPhone 5s | 16 GB iPhone 5
skaertus is offline   0 Reply With Quote
Old Jun 10, 2013, 05:24 AM   #2
printz
macrumors regular
 
Join Date: Dec 2012
Is it still preinstalled and at good maintenance on OSX 10.8? I imagine I can use it in my own programs which use parallel processing. Isn't it just a tool, and a free one at that?
printz is offline   0 Reply With Quote
Old Jun 10, 2013, 05:26 AM   #3
maflynn
Moderator
 
maflynn's Avatar
 
Join Date: May 2009
Location: Boston
How would you know if developers where using it? I mean if they opted to leverage OpenCL in their code, how would you notice?
__________________
~Mike Flynn
maflynn is offline   0 Reply With Quote
Old Jun 10, 2013, 06:36 AM   #4
skaertus
Thread Starter
macrumors 68020
 
skaertus's Avatar
 
Join Date: Feb 2009
Location: Brazil
Quote:
Originally Posted by maflynn View Post
How would you know if developers where using it? I mean if they opted to leverage OpenCL in their code, how would you notice?
Look here: http://openclnews.com/apps

The list of apps is pretty small, despite the fact that OpenCL has been available for 4 years.

Apple never hid the fact that OpenCL was difficult to implement in apps. Any company that took the effort to use OpenCL would almost certainly market it extensively. But just a few did.
__________________
15-inch Retina MacBook Pro 2.4 GHz (early 2013) | 13-inch MacBook 2.4 GHz (early 2008) | 32 GB new iPad wi-fi + cellular | 16 GB iPhone 5s | 16 GB iPhone 5
skaertus is offline   0 Reply With Quote
Old Jun 10, 2013, 06:36 AM   #5
maflynn
Moderator
 
maflynn's Avatar
 
Join Date: May 2009
Location: Boston
I'm not doubting you but rather asking how would we know?
__________________
~Mike Flynn
maflynn is offline   0 Reply With Quote
Old Jun 11, 2013, 05:17 AM   #6
Moriarty
macrumors 6502
 
Join Date: Feb 2008
You need to understand what OpenCL (and GPU computing in general) is good for, and what CPUs are good for, to understand why it hasn't been implemented a lot more (and also why it's not necessarily faster).

GPUs are very good at one thing: performing long calculations on large arrays of data. That is, processing video, scientific data, etc. On a consumer-level laptop or desktop GPU with well-optimised code your speedup is typically less than an order of magnitude. Often you'll find your CPU is actually faster and that you need a Tesla card to see real benefits.

There is a significant bottleneck in transferring data between your main RAM memory and the GPU's memory - the data needs to be transferred to the GPU, operated on, then transferred back. This is why your typical applications such as email, iTunes (and so on) do not use the GPU. They don't operate on large arrays of data and so if you did try to use the GPU, you would actually slow things down.

Basically, OpenCL and CUDA are nice. Just don't fall for Apple's marketing speak, instead try to understand what the technologies actually do and you'll realise that most people won't see any significant benefit for a few years yet.
Moriarty is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Does OSX use openCL ? whitedragon101 OS X 10.8 Mountain Lion 0 Sep 12, 2013 04:10 AM
Virtualized OpenCL cube Mac Applications and Mac App Store 0 May 28, 2013 10:45 AM
Updating OpenCL chainprayer OS X 3 Apr 1, 2013 11:52 AM
What has happened to OpenCL? skaertus Mac Applications and Mac App Store 3 Oct 9, 2012 07:52 PM
Mac OS 10.7 for OpenCL? Ramandu OS X 0 Jun 1, 2012 11:03 AM

Forum Jump

All times are GMT -5. The time now is 08:56 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC