HurleyBird
Platinum Member
- Apr 22, 2003
- 2,814
- 1,550
- 136
Originally posted by: KeysplayrSo, Fermi cannot run C++ natively on chip? Ok, I don't actually know what the difference between running on a chip or not is. Some are saying it needs specific hardware for this to actually happen. Could it be that what was meant by running C++ natively on the GPU is actually code created directly with C++ and not any other third party compilers thereafter?
I've heard that Fermi can now be directly programmed on, much the same as a CPU can.
And I think C++ can be used. Visual Basic, Fortran, others.
This isn't my area to be honest. So what I'm typing here are more or less questions for those who understand this type of programming.
So, don't throw any molotov's my way, I'm just asking some questions.![]()
Basically, NVIDIA is hyping up a new C++ compiler/assembler as if it's some kind revolutionary advance in the chip itself, stating that it runs C++ "natively". This is just marketing speak. You could make a C++ compiler and/or assembler for G80, R600, or any other programmable graphics chip. Heck, you could theoretically make a C++ compiler for a Geforce 3, although anything you ran on it would probably be very slow!
C++ has absolutely nothing to do with hardware. It's just a language that's a half step in between a computer language and a human language to make things easier to program. The compiler turns C++ language into assembly language, which is (with some exceptions) simply machine code where groups of 1's and 0's are instead represented by words and base 10 numbers. The assembler turns this into machine code, and it's more or less a direct translation. Some compilers also take out the middle man and do the assembling stage as well.
So no, NVIDIA's hype about Fermi doing C++ natively is a little bit misleading, since everything they've done is on the software side. All they have done is make a compiler/assembler that takes C++ and turns it into something Fermi can understand. There's nothing in the RV870 architecture that would stop ATI from being able to do the same.
