CUDA in Every Mac?

We don't usually link to AppleInsider articles here, but the latest rumor is too good to leave. AI is reporting that Apple may be considering supporting CUDA directly in their developer tool chain, making it much easier to leverage the parallel processing power of Nvidia graphics cards in Mac applications. This would be useful in QuickTime, for example, for transcoding video, but it would also be very useful in scientific software.

CUDA is an Nvidia technology that allows application developers to execute C code on the graphics processing unit (GPU). Modern graphics chips contain hundreds of processor cores, making them a largely untapped resource for parallel processing. CUDA, which stands for Compute Unified Device Architecture, makes this resource accessible to developers for more than just 3D graphics — provided they can get it working that is. Support for CUDA in Apple's tool chain should make it trivial for developers to write high performance programs for Nvidia graphics cards.

AppleInsider's story is based on an interview on CNet with Nvidia CEO Jen-Hsun Huang, lending credence to the rumor. Huang hints that Apple is well aware of the potential of CUDA in the CNet article.

"Apple knows a lot about CUDA," Huang said, implying the company might be ready to formally embrace Nvidia's technology to make it easier to exploit graphics chips inside Macs. Apple's implementation "won't be called CUDA, but it will be called something else," Huang said in an interview here at Nvidia's headquarters on Wednesday.

Let the name guessing begin!

Comments

OpenCL in 10.6

Details released from the WWDC yesterday mention OpenCL (Open Compute Library) as a technology in Leopard:

Another powerful Snow Leopard technology, OpenCL (Open Compute Library), makes it possible for developers to efficiently tap the vast gigaflops of computing power currently locked up in the graphics processing unit (GPU). With GPUs approaching processing speeds of a trillion operations per second, they’re capable of considerably more than just drawing pictures. OpenCL takes that power and redirects it for general-purpose computing.

As a matter of interest the Open Source Cryptographic Library -- previous holder of the OpenCL name -- has recently changed to Botan.

Are we thing Apple is writing a higher level API on top of CUDA? NSOperation meets the graphics card.

Grand Central

Thanks for the OpenCL tip — I didn't think Apple would come with a solution that fast.

Also worth noting from the snow leopard page is 'Grand Central':

“Grand Central,” a new set of technologies built into Snow Leopard, brings unrivaled support for multicore systems to Mac OS X. More cores, not faster clock speeds, drive performance increases in today’s processors. Grand Central takes full advantage by making all of Mac OS X multicore aware and optimizing it for allocating tasks across multiple cores and processors. Grand Central also makes it much easier for developers to create programs that squeeze every last drop of power from multicore systems.

Seems like Apple is really focussing on performance, which is good for scientific users.

Drew

---------------------------
Drew McCormack
http://www.maccoremac.com
http://www.macanics.net
http://www.macresearch.org

ATI GPU's?

I hope Apple come up with something cross-platform so people who have got ATI GPU's in their Mac can make use of them too.

OpenCL

Apple actually announced such a project at WWDC: OpenCL. This will be an open, platform independent solution.

---------------------------
Drew McCormack
http://www.maccoremac.com
http://www.macanics.net
http://www.macresearch.org