Friday February 10, 2012 11:04 AM AEST

Tesla news: CUDA vs OpenCL

By David Field
12:41 Nov 17, 2008 | 7 Comments
Tags: cuda | cal | opencl | nvidia | tesla
Tesla news: CUDA vs OpenCL

Nvidia's supercomputer architecture may be cheap and awesome, but it's kinda proprietary and falsely green.

Atomic was in on an Nvidia conference call on Friday that went through a presentation about Tesla and GPGPU technology.

Honestly it wasn’t very interesting, but we did get to ask a nice question about compiling to different languages and the benefit of CUDA over OpenCL.

Tesla is Nvidia’s series of video cards that are designed for high power parallel computing. The hardware comes in card, external box and rack-mount server form, and although they’re based on the Quadro graphics card design, they don’t have video outputs.

Nvidia was trumpeting the architecture’s benefits over x86 and the raw performance increases you see in certain applications that have been coded to take advantage of parallel processing on its Tesla hardware. It’s all very impressive, with anywhere between 18 to 149 fold increases in performance over x86 computation depending on the application and CUDA being taught in universities and industry support and low prices compared to x86 supercomputing clusters.

Which is fine, but bear in mind that nobody really likes X86 because it’s the compounded result of 30 years of hacks that that try to pimp out the architecture, which means it’s bulky and inefficient. Seriously, you still have to go through 16-bit mode to initialise an x86 processor – all in the name of backward compatibility. Yet since it’s in everything people will keep begrudgingly compiling for and using it to do computation. It’s at the crossroads of this and parallelisation where Nvidia is trying to step in and offer an alternative for certain applications.

This is why we’re not buying the side order of “green computing” that Nvidia is using to promote Tesla. When some applications are parallelised and run on the new Tesla architecture, they do so faster and more effectively than they would on the X86 architecture. Promoting green computing in this case is like comparing a Model T Ford to a Bugatti Veyron and concentrating only on emissions output. In the scheme of things, it’s simply unimportant.

After some impressive graphs and performance benchmarks were shown, we asked why programmers would bother coding in CUDA – a proprietary coding language for NVIDIA GPUs – when OpenCL can essentially do the same thing as CUDA and produce code that isn’t locked down to Nvidia hardware which as we all know is outpaced by ATI’s gear every few years.

Nvidia’s response was that CUDA is better able to take advantage of the low level features in its hardware than OpenCL. Common standards make features harder to program for, and CUDA lets you get more performance out of an Nvidia GPU than OpenCL. Regardless, Nvidia’s hardware supports both OpenCL and CUDA, and Nvidia believes there is only a minor implementation difference between the two.

When asked if it planned to make some sort of CUDA to OpenCL cross compiler, Nvidia responded that it would have to think about it, that it wasn’t in its roadmap and that it hadn’t committed to it yet.

If you want to learn more about supercomputers, GPGPU computation and CUDA, you’ll be happy to know that we have written extensively about both before.

 
 
Behind the scenes with Mass Effect 3! GTX 560 VGA round-up! Essential Skyrim tweaks to improve your game! Plus reviews, news, hardware, more games, and easy to following modding guides for PC builders. ON SALE NOW!
7 Comments
SceptreCore
Nov 17, 2008 2:14 PM
You couldn't follow it up with a comparison of CUDA vs OpenCL on nVidia GPU's, and then CUDA vs OpenCL on ATI GPU's could you?
^Faldo^
Nov 17, 2008 3:35 PM
CUDA doesn't work on ATI GPUs.

I'm learning Actionscript and Flash Media Server at the moment, so when I'm done with those then ill look into them.
SceptreCore
Nov 17, 2008 6:39 PM
I know.. sorry I didn't clarify (I thought you were smart enough to understand!)

I meant CUDA on nVidia vs. OpenCL on ATI.
^Faldo^
Nov 17, 2008 7:40 PM
I assume everyone's an idiot, including myself :p

I'd have to write two different versions of the same program in two different languages -- hence it wouldn't be a fair comparison. There are many ways of doing one thing in any given language, so it would never be a fair comparison. The more familiar I was with one language, the better I'd be able to optimize it, so it's an unfair comparison by definition.

I'm not even sure if OpenCL has been finalized, but writing a benchmark in OpenCL and running it on different cards would be a fairer test.

The good news is that I've just had another idea... more to come...
SceptreCore
Nov 18, 2008 12:46 AM
Yeah your right Dave... I just though it would be interesting to see the difference between CUDA and OpenCL. Does this proprietary software work better then the open source one? Doesn't really matter what's running it.

And I was joking Dave... I don't think your an idiot!
mark84
Nov 19, 2008 4:55 PM
AFAIK OpenCL is a couple months off being finalised.

Will be interesting to see who's cards run faster with it when it gets there.

And if you do the CUDA vs OpenCL thang, don't forget to do a OpenCL vs CAL/Brook+


Also with a bit of hackery can't you get CUDA to run on ATIs cards? (well PhysX anyway)
toru173
Nov 25, 2008 1:23 PM
I heard that someone was porting CUDA to ATI stuff, but haven't really looked in to it. From memory, the high-end cards (4870, x2) have higher raw flops then the NVidia ones. It would be interesting to see AMD come out with a 'desktop supercomputer' along these lines. Pity the applications are so limited at the moment.
Comments have been disabled on this article.
 
Latest Competitions
 
Atomic Magazine

Issue: 133 | February, 2012

Atomic is a magazine aimed squarely at computer enthusiasts, gamers, and serious PC upgraders.

Every month we bring you the latest reviews of new technology and PC components, in depth features on everything from overclocking to console hacking, and gaming previews and interviews.
 
Latest Comments
 
Latest User Reviews
Battlefield 3 is the new benchmark online FPS
90%
A very fun and realistic multiplayer ride.
 
Antec Kuhler 920 - liquid cool
90%
Antec Kuhler 920 silent but effientive out of the box no maintence water cooling kit
 
Antec's Lanboy Air - our new favourite case
90%
Antec Lan boy Air in red a very cool design
 
Antec's Lanboy Air - our new favourite case
90%
This product overall is awesome.
 
MSI's GT780 laptop as fast as it gets
90%
Nice laptop
 
 
Close Get the February, 2012 issue of Atomic mailed to you for $8.95, including postage.

SubscribeBuy nowDigital Version