Nvidia's CUDA: The End of the CPU?

Vive le GeForce FX!

The two worlds remained separate for a long time. We used the CPU (or several CPUs) for office and Internet applications and GPUs were good only for drawing pretty pictures faster. But a single event would change all that: the appearance of programmability in GPUs. At first, CPUs had nothing to fear. The first so-called programmable GPUs (the NV20 and R200) were far from being a threat. The number of instructions for a program remained limited to around 10, and they worked on exotic data types like nine- or 12-bit fixed-point numbers.

nvidia CUDA

But Moore’s Law rears its head once again. Not only does the increase in the number of transistors make it possible to increase the number of calculating units, but it also increases their flexibility. So, the appearance of the NV30 was significant for several reasons. While gamers may not induct the NV30 into their hall of fame, it did usher in two factors that were important in changing the mindset that sees GPUs as nothing more than graphics accelerators:

  • support for single-precision floating-point calculations (even if it didn’t comply with the IEEE754 standard);
  • support for a number of instructions in excess of a thousand.

At this point, all the conditions were in place to attract a few curious researchers on the lookout for ways to wring out more processing power.

This thread is closed for comments
    Your comment
  • CUDA software enables GPUs to do tasks normally reserved for CPUs. We look at how it works and its real and potential performance advantages.

    Nvidia's CUDA: The End of the CPU? : Read more
  • pulasky
  • Well if the technology was used just to play games yes, it would be crap tech, spending billions just so we can play quake doesnt make much sense ;)
  • MTLance
    Wow a gaming GFX into a serious work horse LMAO.
  • dariushro
    The Best thing that could happen is for M$ to release an API similar to DirextX for developers. That way both ATI and NVidia can support the API.
  • dmuir
    And no mention of OpenCL? I guess there's not a lot of details about it yet, but I find it surprising that you look to M$ for a unified API (who have no plans to do so that we know of), when Apple has already announced that they'll be releasing one next year. (unless I've totally misunderstood things...)
  • neodude007
    Im not gonna bother reading this article, I just thought the title was funny seeing as how Nvidia claims CUDA in NO way replaces the CPU and that is simply not their goal.
  • LazyGarfield
    I´d like it better if DirectX wouldnt be used.

    Anyways, NV wants to sell cuda, so why would they change to DX ,-)
  • I think the best way to go for MS is announce to support OpenCL like Apple. That way it will make things a lot easier for the developers and it makes MS look good to support the oen standard.
  • Shadow703793
    Mr RobotoVery interesting. I'm anxiously awaiting the RapiHD video encoder. Everyone knows how long it takes to encode a standard definition video, let alone an HD or multiple HD videos. If a 10x speedup can materialize from the CUDA API, lets just say it's more than welcome.I understand from the launch if the GTX280 and GTX260 that Nvidia has a broader outlook for the use of these GPU's. However I don't buy it fully especially when they cost so much to manufacture and use so much power. The GTX http://en.wikipedia.org/wiki/Gore-Tex 280 has been reported as using upwards of 300w. That doesn't translate to that much money in electrical bills over a span of a year but never the less it's still moving backwards. Also don't expect the GTX series to come down in price anytime soon. The 8800GTX and it's 384 Bit bus is a prime example of how much these devices cost to make. Unless CUDA becomes standardized it's just another niche product fighting against other niche products from ATI and Intel.On the other hand though, I was reading on Anand Tech that Nvidia is sticking 4 of these cards (each with 4GB RAM) in a 1U formfactor using CUDA to create ultra cheap Super Computers. For the scientific community this may be just what they're looking for. Maybe I was misled into believing that these cards were for gaming and anything else would be an added benefit. With the price and power consumption this makes much more sense now.

    Agreed. Also I predict in a few years we will have a Linux distro that will run mostly on a GPU.
  • kelfen
    Well this is a huge step, hope to see it successful.
  • LogicalError
    FYI: Apple has been working with the Khronos group (the people behind OpenGL at the moment) to make an API called OpenCL which should do all the things that Cuda et al can do. Since it's not just Apple that's behind it, but also the Khronos group, it should be cross platform. So who knows.. maybe this is going to be the unifying API for this.. well, until Microsoft comes up with 'DirectC' ofcourse
  • the last page comments on how MS could come in and create a common API, this common API is already in process, its just that MS isn't part of it ;)
  • I know that this is not too close to the article, but i hope that it is still not too OFF topic.
    I just have a question, and someone might answer it (the TH is full with smart guys). My problem is that there are too many misconceptions floating around in the net regarding CUDA and overall the whole GPGU businnes.
    I have seen somewhere, that these GPU's are able to do Double Precision floating point calculations, but personally i find this unlikely.
    Others say that you can take directly your parallel code writen in C or Fortran90, and adopt it to CUDA, because the standard stuff can run serial on the CPU and the most computationally expensive part parallel on the GPU. On top of that you can 'adress' or cummunicate with your GPU directly from a Fortran code with sort of system calls (i think this is BS).
    Quiet frankly, i have not found a site on which i can really rely on, where they show an example (source code and explanation) of how something like this could be done.
  • bf2gameplaya
    I wish Intel and NVidia would get over themselves and co-operate and finally give total system performance that big ass boost it needs.

    Intel is wasting time ray-tracing on a CPU and NVidia is wasting frames by folding proteins on their GPU.

    "You're doing it wrong!"
  • No, the best would be if we got an open API, like OpenGL. I seriously do not want another DirectX locking me to MS >_
  • thr3ddy
    @dariushro: That would quite possibly be the worst thing that could happen to GPGPU. Microsoft equals Windows and GPGPU and super computing is not Windows' strongest point (understatement).

    It would be better for a neutral party composed of GPGPU experts from different IHVs to initiate something like what you propose, more like what the OpenGL ARB creates, a specification.

    IHVs and other companies could then implement this standard on their own hardware, thus decentralizing development from the ISV. If you leave development of this type of technology up to Microsoft (or any other single developer) you'll end up with vendor lock-in, which is a Bad Thing, for all of us.

    Anyway, CUDA is great but not cross-platform compatible (Intel, AMD/ATI, etc.) which makes it impossible to implement in commercial software, unless a CPU-bound alternative is provided, which would defeat the purpose of the architecture.

    On a similar note: think of the choice between the PhysX SDK and Havok Physics. Do you want partial GPU accelerated physics supported by one brand (PhysX, NVIDIA G80+) or do you want to stay CPU-bound but have the same feature set regardless of the hardware (Havok)?
  • magnesious
    If you had the patience to read this entire thing, I'd recommend you look at the CUDA programming guide(link) It's the same information, but less terse.

    Tom's also forgot to point out that development is possible via emulation (emuDebug build setting, I think, with the .vcproj they give you), so anyone can get their hands dirty with the API. You don't get the satisfaction of seeing cool speedups, but it's just as educational, and easier to debug. No screen flickers :)
  • MxM
    I wonder if a PC can be build today without processor at all? It probably requires different BIOS for mobo and some kind of x86 emulator for NVIDIA card, but is it possible in principle without any modifications in hardware?
  • godmodder
    The end of the CPU is nowhere near. To think the GPU could be used for every task is just absurd. The GPU is only good for tasks which can be massively parallellized. Unfortunately, not that many tasks, apart from graphical processing, can be divided into smaller, completely independent parts.
  • JonathanDeane
    Sounds interesting, I think the whole branch out into the CPU thing is a response to Intel working on an integrated CPU/GPU, maybe Nvidia is a little nervous about that, although I think Intel's built in GPU would probably suck, its tempting to think they could clock there GPU's at 2-3Ghz and manufacture on a 45nm node toss in some of that DRAM built in 204.8GB/sec hmmm maybe not so bad....
  • To see Why 4 threads faster than 2 threads on 2 cores, see this example:
    Let we split our task into equal number of chunks, and run each in a different threrad.
    One thread performs our task at 2000 ms.
    If two chunks (threads) run on two iddle cores, they will finish together, after 1000 ms.
    if two chunks (threads) un on two cores, one idle and one 50% busy, the chunk run on the the 50% busy CPU will advance 50% until the other chunk is done on the other (idle) core. Then, it will be likly re-assigned to the other (now idle again) core, to finish its 50% to go. - In total, 1000 + 500 = 1500 ms.
    if THREE chunks run on 2 cores, one of them 50% busy, two chunks will be done on the idlde core (666 + 666 = 1333ms). Third chunk will run on the other core at 50% speed, taking also 1333ms. We finished at 1333ms!
    In total: splitting task into more chunks than cores can make sense if there are also OTHER tasks runing on your system.
  • The beta release only works on the 2 new Nvidia cards. The official release is supposed to work on all g92 cards so the 8800gt and newer. (much more power efficient option)

    Programs like these wont be using all the parts of a GPU. I expect they will probably prove to be dependent on something like clock speeds or shader numbers/speeds or pure bandwidth but doubtfully all.

    Depending on which is the primary factor 8800gt could prove to be almost as fast as these in this one instance.

    long story short i think this will end up running very similar to how folding@home variates among cards.
  • V3NOM
    how technical.