Saturday November 21, 2009 11:45 PM AEST

Tesla news: CUDA vs OpenCL

  • Email a Friend
  • Print Page
Tesla news: CUDA vs OpenCL
By David Field
Nov 17, 2008 | 7 Comments
Tags: cuda | cal | opencl | nvidia | tesla

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.

 
 
The latest issue is on sale now!

Want to learn all about Diablo III? Want to find out what the best Solid State Drive is on the market today, and how to look after it? Want to catch up on the latest hardware, games and in depth tech from Australia's best enthusiast mag?

Get your copy today :)
7 Comments
Thoughts on this article? Add a comment below.
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.
Login or register to submit a comment.
 
 
 
Atomic Magazine

Issue: 107 | December, 2009

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
"Signed. And link and article passed to friends too.
And a link supplied on my facebook too."
by morris | Nov 21, 2009 11:29 PM
 
"I got an XP pro oem with a game build rig 18 months ago and continued to ignore Vista, to my ..."
by TonyB | Nov 21, 2009 10:24 PM
 
"Holy shit, batman.

*runs"
by colganaitor | Nov 21, 2009 7:17 PM
 
""sudo preupgrade"
...failed to download installer metadata
------------
So ..."
by wlayton27 | Nov 21, 2009 8:16 AM
 
"^ I find with CoD4 that I can jump on an empty server and be joined by 6-12 others before the ..."
by Ezekill | Nov 20, 2009 10:10 PM
Latest User Reviews
Shenmue II
10%
asdfasdf
 
EVGA X58 Classified
90%
great board, a few things could be better
 
EVGA X58 Classified
90%
Gorgeous looking
 
Sapphire 4890
90%
So good, I immediately wanted a second one!
 
MSI 790FX-GD70 motherboard
90%
Allmost the prefect gaming board