Macworld Forums: OpenCL gets touted in Texas - Macworld Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

OpenCL gets touted in Texas

#1 User is offline   Macworld Icon

  • Story Poster
  • Icon
  • Group: MW Bot
  • Posts: 12,511
  • Joined: 30-November 07

Posted 18 November 2008 - 10:25 AM

Post your comments for OpenCL gets touted in Texas here
0

#2 User is offline   samrod Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 441
  • Joined: 31-August 04

Posted 18 November 2008 - 12:07 PM

"And I can’t emphasize enough that I’ll be able to write one program that I’ll be able to recompile and it will run on my cell phone, it will run on my Powerbook.”
Except Snow Leopard won't run on his PowerBook because it'll be Intel only. Maybe he meant MacBook Pro?
Great article!
0

#3 User is offline   Steve_S Icon

  • Veteran
  • PipPipPip
  • Group: Members
  • Posts: 1,469
  • Joined: 09-September 04

Posted 18 November 2008 - 02:24 PM

samrod said:

"And I can’t emphasize enough that I’ll be able to write one program that I’ll be able to recompile and it will run on my cell phone, it will run on my Powerbook.”

Except Snow Leopard won't run on his PowerBook because it'll be Intel only. Maybe he meant MacBook Pro?


I don't think that was meant literally. Surely the user interface alone would be different for a cell phone program than it would be a laptop/desktop, etc. The point is, developers will write for general OpenCL rather than have to worry about optimizing for individual hardware platforms. The OpenCL implementation for each platform will do the heavy lifting and figure out how best to make use of the available hardware.

What's interesting is that OpenCL was originally assumed to be just an open alternative to nVidia's CUDA, etc. It sounds like it's considerably more than that as it will make use of both CPU and GPU power alike. That is, if you're using integrated Intel graphics, general GPU acceleration may not be possible, but OpenCL should still make use of multiple CPU cores if you have them. That's pretty cool.
0

#4 User is offline   jg167 Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 87
  • Joined: 01-September 04

Posted 18 November 2008 - 10:14 PM

{quote}What's interesting is that OpenCL was originally assumed to be just an open alternative to nVidia's CUDA, etc. It sounds like it's considerably more than that as it will make use of both CPU and GPU power alike. That is, if you're using integrated Intel graphics, general GPU acceleration may not be possible, but OpenCL should still make use of multiple CPU cores if you have them. That's pretty cool.{quote}The current version of CUDA does not do this, but the one being worked on does. This was touted as an important addition at Nvida's NVISION conference a month or so ago. It will be interesting to see if Nvidia does wrt to CUDA and OpenCL,
0

#5 User is online   mjtomlin Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 73
  • Joined: 09-December 04

Posted 19 November 2008 - 12:41 AM

OpenCL is actually supposed to expose all processors including, CPUs, GPUs, and DSPs and all cores within. It basically allows you to code without really worrying about the actual hardware and compatibility issues. It's supposed to determine which processor is best for a particular task and make sure tasks are being spread across all available cores and processors. Should be great to see it in action, just hope it makes it into Snow Leopard. Really can't wait until it's implemented in iPhone OS X!
0

#6 User is offline   WilfredLaurier Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 90
  • Joined: 13-March 08

Posted 19 November 2008 - 09:01 AM

I thought CUDA code is reusable for both GPU and CPUs, so you can actually program everything in CUDA, instead of a separate CUDA codebase for GPU and "normal" code for the CPU. Perhaps, OpenCL does some dynamic management to assign work to CPUs and GPUs which I suppose CUDA doesn't do. Although I thought assigning tasks in parallel was supposed to be Grand Central's thing rather than OpenCL.

I'm pleasantly surprised that OpenCL was passed so quickly. Apple must have had the whole thing developed alread and poked and prodded everyone until they agreed the current implementation is good enough. Now for the drivers.
0

#7 User is offline   mannessx Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 24-April 03

Posted 21 November 2008 - 12:38 PM

Has anyone noticed that the new MacBookPros have 2 GPUs? They say this is so that id you are not doing intensive graphics you can use a less power-hungry processor. BUT, to me it sure looks like they are setting up for Snow Leopard. Imagine if you wanna do some serious math crunching, have the secondary GPU handle the graphics and then you have an awesome number cruncher all to yourself!
Or- for graphics/games - use the secondary GPU for your physics.
0

#8 User is offline   Peter Cohen Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 4,646
  • Joined: 05-February 03

Posted 21 November 2008 - 12:56 PM

That'd be fine -- presuming you're tethered to an AC outlet. Hybrid SLI isn't meant for battery operation.

Hybrid SLI isn't something that's currently supported by Leopard, either. Whether Snow Leopard will support this capability remains to be seen, but Nvidia has made it clear that it's a software option that's open to Apple, should they choose to expose it.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users