Slashdot Mirror


NVIDIA Releases Source To CUDA Compiler

An anonymous reader writes "NVIDIA has announced they have 'open-sourced' their new CUDA compiler so that their GPGPU platform can be brought to new architectures. NVIDIA's CUDA compiler is based upon LLVM. At the moment though they seem to be restricting the source code's access to 'qualified' individuals.' The official press release implies wider access to the source will happen later. It so happens that a few days ago AMD opened their OpenCL backend and added initial support to the Free Software r600 driver.

89 comments

  1. Should work well with AMD 7000 series by Ken_g6 · · Score: 2

    Based on what we know about the high-end AMD 7000 series, that it will forgo VLIW for separate threads, CUDA might actually work very well on that architecture. As long as the right 'qualified' individuals work on it.

    --
    (T>t && O(n)--) == sqrt(666)
    1. Re:Should work well with AMD 7000 series by GameboyRMH · · Score: 1

      Doesn't this open source compiler still compile code that requires an Nvidia-proprietary hardware technology? Anyone who wants to run on non-Nvidia GPUs should just use OpenCL.

      --
      "When information is power, privacy is freedom" - Jah-Wren Ryel
    2. Re:Should work well with AMD 7000 series by GameboyRMH · · Score: 3, Interesting

      D'oh, NM, I RTFA'd:

      Nvidia's CUDA compiler will be able to create code that supports more programming languages and will run on AMD and Intel processors, while previously it ran only on Nvidia's GPUs. The company made the announcement today at the GPU Technology Conference in Beijing.

      Continuing to call it a CUDA compiler is a bit misleading then isn't it?

      --
      "When information is power, privacy is freedom" - Jah-Wren Ryel
  2. GPU drivers by Anonymous Coward · · Score: 1

    If they would open source video drivers too NVIDIA would be clear card of choice in *nix systems.

    1. Re:GPU drivers by Anonymous Coward · · Score: 3, Informative

      They cant, not fully at least. They have to keep details about tilt-bits and other DRM and patented crap secret.

    2. Re:GPU drivers by Anonymous Coward · · Score: 3, Informative

      If it's patented, then it isn't a secret anymore, by virtue of the patent.

    3. Re:GPU drivers by jpate · · Score: 0, Troll

      +1 idealist. If only...

    4. Re:GPU drivers by fnj · · Score: 3, Insightful

      Do you know something we don't? Is there some defiency in our understanding of patents? "A patent ... consists of a set of exclusive rights granted by a sovereign state to an inventor or their assignee for a limited period of time in exchange for the public disclosure of an invention" (emphasis added).

    5. Re:GPU drivers by Anonymous Coward · · Score: 0

      The problem is not the "patented" technologies, but more the "non-patented", licensed from third parties and "secret" technologies.

      As a wild guess, i think Nvidia have licensed technologies from some third parties that are declared open source enemies (imagination tech can be one of these) , and thus, nvidia can't really open their technologies, not without breking their contracts.

    6. Re:GPU drivers by bunratty · · Score: 2

      Without patents, there would be far more trade secrets. Patents make inventions public, not private. That's the whole purpose of patents: to promote the spread of ideas by making them public.

      --
      What a fool believes, he sees, no wise man has the power to reason away.
    7. Re:GPU drivers by Anonymous Coward · · Score: 0

      Yeah because ATI's really good about drivers. I've never had problems with my nvidia gear.

    8. Re:GPU drivers by Anonymous Coward · · Score: 0

      I think his point is about making generic, over broad software patents without necessarily getting into implementation details, which does happen.

      On the other hand plenty of graphics patents are very formula specific. Witness John Carmack having to change a shading algorithm before releasing the doom3 source.

      Finally, just because an algorithm is patented, doesn't mean they've released implementation details for speeding up said algorithm. (Or maybe they released it for gen X card, but gen Y has a better way of doing it and they see no need to release the details for that...)

    9. Re:GPU drivers by tepples · · Score: 1

      A single technology license can cover both a patented invention and related trade-secret know-how that is not patented. This know-how is how I understand "details about [...] patented crap", especially for patents that describe an invention in broad strokes. I imagine that patent licensors want NVIDIA to keep the secret parts secret too.

    10. Re:GPU drivers by jpate · · Score: 2

      That might be the intent, but, for a lot of software patents, at least, the language is too vague and broad to for things to work out this way. They're written with the intent of catching as many possible technologies in the same net; disclosure is not a concern.

    11. Re:GPU drivers by fnj · · Score: 1

      If that does happen, it's a violation. Look, I'm strongly against the absurd fringe patents of software, processes, business methods, and the like, and I'm not in favor of ANY patents under the present absurd system, but if they are going to exist in the first place, then outright violations should be shot down on sight.

    12. Re:GPU drivers by fnj · · Score: 1

      I consider that practice a fundamental violation and agree that it should be stamped out.

    13. Re:GPU drivers by fnj · · Score: 1

      Yes. Very valid point. I was only addressing the remark about patents.

    14. Re:GPU drivers by avatar139 · · Score: 1

      Without patents, there would be far more trade secrets. Patents make inventions public, not private. That's the whole purpose of patents: to promote the spread of ideas by making them public.

      Really? Wow, and here I thought they're solely a means for companies that don't actually produce anything except lawsuits to make money via protectionist licensing schemes! :P

      --
      I'm honest enough to admit I lie to myself.
    15. Re:GPU drivers by k_187 · · Score: 1

      Yup, any patent that has a software step should be required to disclose the source code at least as the best mode of the patent, if not part of the claims (depending on how strict you should be. When I'm elected Leader of the world, this will be like the 11th or 12th thing I'll do in office.

      --
      11 was a racehorse
      12 was 12
      1111 Race
      12112
    16. Re:GPU drivers by hairyfeet · · Score: 3, Interesting

      Yes, please help proprietary hardware vendors by making sure nobody will support you, that's the ticket!

      I mean what do you think other hardware vendors are gonna do? they are gonna look at what happened with AMD. AMD releases all the specs they can (there are some bits that are part of HDCP they don't have the right to release) and even go so far as to hire developers out of their own pocket to support the free drivers, and what does the community do? What do you see on every forum, including here? "LOL use nvidia".

      Any company with a brain after seeing that would tell you and the rest of your little ungrateful "community" to fuck right off. So thanks, you are helping to ensure that FOSS stays the choice of hobbyist nerds and never gains any share, making sure guys like me have plenty of work, appreciate it pal.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    17. Re:GPU drivers by Anonymous Coward · · Score: 0

      the 11th or 12th thing I'll do in office

      Seriously... What's with you and 11 and 12?

    18. Re:GPU drivers by Anonymous Coward · · Score: 0

      The issue I think he's pointing to is patents in the USA can be so general in description that one may not understand how a DRM actually functions just by reading the patent.

    19. Re:GPU drivers by marcosdumay · · Score: 2

      "It is shit, but will be supported and won't stop working after the kernel upgrades from 3.8.54-patch3 to 3.8.54-patch4."

      Seems to be a sane option.

    20. Re:GPU drivers by Anonymous Coward · · Score: 1

      That's because right now, the nVidia solution just works. The open source community is primarily made up of people who proclaim open source as the next coming, use the software, and contribute absolutely nothing meaningful back. Of the small percentage that does contribute, you have people lending advice on IRC and message boards, you have people writing documentation, you have people doing HCI work, you have people managing, and you have people contributing code. Of those contributing code, you are only going to have a small percentage that has the skill set and inclination to read specsheets and develop a driver from them, and out of those, you only have a small number who actually are doing so, rather than working on their own separate project.

      Driver development for such a complex piece of hardware like a video card takes considerable time and effort. Releasing data on how to interface with your hardware doesn't mean a development team a hundred engineers strong will suddenly spring up overnight. Open source drivers are always preferable to closed source ones, because anyone can maintain them if their company abandons them, but that requires them to be functional in the first place. nVidia has spent a lot of time making their Linux drivers work well, while ATI largely left theirs to rot. Since AMD took over, they have been improving, but still have too many problems to be relied upon when purchasing hardware. Releasing the specs to the community was a nice gesture, but a largely empty one, as the open source drivers developed from them are still only of limited capability. At the end of the day, you have to use what works.

    21. Re:GPU drivers by hufter · · Score: 1

      For most people it is all the same if a driver is open source or not as long as it works and you get it for free.
      As I appreciate AMD opening up some of their secrets. The open source Radeon driver is a lot better than it was on ATI times. However, the closed driver still gives you double the fps on games, the bad news that it works so badly. Messes up the screen and stuff.
      I recently bought a new nVidia based card, partly because I was fed up with the proprietary Radeon driver not working. Gave up trying to install it on Fedora 16 or Mint 12.
      GeForce is the only choice if you want fast graphics for Linux right now.

    22. Re:GPU drivers by Stele · · Score: 1

      If they would open source video drivers too NVIDIA would be clear card of choice in *nix systems.

      It already is. At least in the post production industry. You don't see any of us wining about lack of open-source drivers. We just want to get stuff done with the most reliable drivers available.

    23. Re:GPU drivers by jlehtira · · Score: 1

      ATI once bricked my Radeon laptop by suddenly making drivers that can't draw a single pixel on the mobile 9600. Okay, so maybe it was a bug, but they weren't in a hurry to fix it. Yes, I could have installed an older driver, but because of Linux, that would have also meant installing an old distribution with an old kernel. I needed new features and programs. And even while the ATI driver initially worked, it didn't support everything (dual screen in particular was hacky).

      I'd be very happy to see AMD make stable and feature-perfect drivers (consistently) for Linux. But given their very earned reputation and personal hardships with radeons, I'm not buying another ATI/AMD graphics card unless I see several years of flawless drivers from them (at least the kind of flawlessness that Nvidia offers).

      So everybody "knows" that Nvidia is better for Linux, and not many people are left to find out if the drivers turn better. Too bad. They're in the grave they dug themselves.

    24. Re:GPU drivers by Anonymous Coward · · Score: 1

      Interesting that you add this little delusion but completely ignore the part which immediately prior, ATI told Linux users to go fuck themselves and handed the entire Linux market to NVIDIA. Furthermore, unlike ATI, NVIDIA has been very good to the Linux community for a very, very long time now. And unlike what you present, ATI's effort reflects an effort to grab market share away form NVIDIA rather than a good faith effort to do "right" by the open source community. On top of that, NVIDIA has repeatedly stated they do not own all of the IP in their stack So basically you argument is, fuck the ones who have always done well by you.

      On top of that, ATI makes good hardware but their drivers suck...suck...suck... Well, okay, modern drivers only suck once rather than three times. They are still behind NVIDIA's drivers in quality. And unlike with NVIDIA, myself and several people I know have all had hardware in active use deprecated by ATI; one of which was a laptop. Which basically means, the laptop which was in active use can no longer be upgraded without losing 3D support.

      Sorry, but ATI can take their disingenuous marketing ploy and go fuck themselves. In the grand scheme of things, unlike what the delusional open source fanatics tell you, we don't need the source to the video drivers and so long as the drivers work well, binary blobs are perfectly acceptable. Welcome to the real world.

  3. So... by AdamJS · · Score: 1

    Does this mean eventually running CUDA applications on AMD GPUs?

    1. Re:So... by melonakos · · Score: 1

      My guess is there will be some academic projects, like Ocelot, that will take a stab at this. But I doubt it will be a better path than using OpenCL directly as supported by AMD/ATI.

    2. Re:So... by fsckmnky · · Score: 4, Interesting

      imho ... OpenCL is a much better path, because it can execute code on a CPU as well as a GPU. It can even target FPGAs for executing the parallel operations on reconfigurable hardware, as well as sharing output paths with OpenGL for visualization.

      The Nvidia driver ( at least for linux ) currently seems to only support Nvidia GPUs as a target, but the AMD driver supports AMD GPUs as well as the host systems CPU. Again, on linux at least, you can install both AMD and Nvidias drivers if you want to utilize your CPU ( via AMD driver ) and Nvidia GPU ( via Nvidia driver ) at the same time, although there are some minor framework related hoops to jump through to get parallel execution across multiple device platforms concurrently.

      These features seem to indicate native CUDA is pretty much a dead platform ( looking forward ).

  4. any word on a license? by Trepidity · · Score: 3, Insightful

    Despite the phrase "open-source", there seems to be a distinct lack of information about whether this is a "source is now available for inspection" type release, or actually under an open-source license, and if so, which one.

  5. Still no news about the specific license by Anonymous Coward · · Score: 0

    We can hope for GPL but it looks like it's unfortunately going to be some kind of BSD.

    1. Re:Still no news about the specific license by oPless · · Score: 0

      "unfortunately" ?
      BSD > GPL in terms of freedom.

    2. Re:Still no news about the specific license by larry+bagina · · Score: 0

      They should release it under the GPL license so an evil company like NVIDIA can't steal it and not give their changes back.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    3. Re:Still no news about the specific license by fnj · · Score: 1

      This is the kind of disagreement in which neither side can ever hope to convince the other. Let's just say that you are free to do almost anything you want under a BSD license. That's an objective fact. You are not compelled to contribute back any improvements you may make in a work. Which one contributes more to global "freedom" is much too broad and slippery a concept to ever resolve unanimously.

    4. Re:Still no news about the specific license by Anonymous Coward · · Score: 0

      Fuck you. If you don't want NVIDIA's (hypothetical) proprietary bastardized version, DON'T BLOODY USE IT!

      There is no "steal it", because the original is still available, still under the same license, you can use that -- and get all the stuff _except_ what nvidia wrote, and the whole premise of copyright is that you get to control others' dissemination of what you wrote (for great profit!). If you disagree with that premise (as I do), then fight for the abolition of copyright, don't use it to strongarm companies into giving you source code.

    5. Re:Still no news about the specific license by hedwards · · Score: 2, Interesting

      OK, then how do you explain the rather large numbers of companies that give back to BSD projects? This anti-BSD FUD that the Linux and GPL camp seem to need to spread got old many,many years ago.

      Without a permissive license the internet would have been greatly delayed as MS and the others would have had to develop their own TCP/IP stack from scratch.

    6. Re:Still no news about the specific license by Anonymous Coward · · Score: 0

      I'm very sorry for flying off the handle there. But I am afraid of hurting my super smart/tough image so I'll just post it anonymous. Can I bake you some cookies?

      sincerely

      Dog-Cow

    7. Re:Still no news about the specific license by fnj · · Score: 1

      I believe that is consonant with my comment. Not everyone only does what they are compelled to do. I have BSD licensed some of my own code.

    8. Re:Still no news about the specific license by marcosdumay · · Score: 1

      BSD is the perfect license to apply to a layer of software that helps people talking to the hardware you sell.

      If somebody wants to "steal" it, and make something great without sharing upstream, well, great for you, more people will buy your hardware.

    9. Re:Still no news about the specific license by Anonymous Coward · · Score: 0

      I apologize too. Let's get a room then we can share the "cookies" together, ok?

      Toodles,

      hedwards

    10. Re:Still no news about the specific license by Anonymous Coward · · Score: 0

      Yes, let's. My "cookies" are delicious. 8pm sound ok?

      giggles,

      Dog-Cow

    11. Re:Still no news about the specific license by diego.viola · · Score: 1

      That depends on your definition of freedom. I prefer freedom in the sense that I know the code will always remain free and available. As a developer and user I want my code to be always available, I also want contributors to never close what I made open in the first place. I prefer freedom in the sense of Free software, GPL and strong copy-left. AKA "Liberty or Death".

      BSD brings uncertainty when it comes to having contributors closing the source code and not contributing back.

    12. Re:Still no news about the specific license by oPless · · Score: 1

      GPL has its place, I agree. But unfortunately the usage of it is often 'wrong', or malicious IMHO.

  6. No they haven't by PatDev · · Score: 5, Interesting

    Title is correct. From TFA, the summary appears wrong. It seems they are not open sourcing anything. To quote TFA

    On December 13th, NVIDIA announced that it will open up the CUDA platform by releasing source code for the CUDA Compiler.

    They will let you look at the code, and they might let you send patches back to them. Nowhere I can find did NVIDIA promise anything along the lines of an open license, or even any license at all. This is more like a Microsoft shared-source deal, where you can look, but no rights or privileges are transferred to you.

    That said, it would still be cool to see.

    1. Re:No they haven't by Anonymous Coward · · Score: 0

      Not sure if any developer should even look at the code given that it is not really open. Last thing a developer would want is to end up being accused of copying stuff from said code illegally.

    2. Re:No they haven't by Anonymous Coward · · Score: 1

      What a load of absolute crap. By that logic, don't ever work for anyone or ever sign any NDA.

      Looking at stuff is how programmers learn. The whole industry is built on residual knowledge. If I say I used to work at nVidia (which I did) on stuff that they want to look at themselves, then provided the non-compete clauses is done I am at a massive advantage compared to someone who has not looked at anything ever at all.

      Stop trotting out this bullshit myth that you can't look at things if you later want a job.

    3. Re:No they haven't by fnj · · Score: 1

      It may so appear to some, but it may be so, or it may not be so in fact. We don't know whether they intend to open source it or not. Not from this article, anyway. It certainly doesn'y say it will NOT be open sourced, though.

    4. Re:No they haven't by gl4ss · · Score: 1

      Not sure if any developer should even look at the code given that it is not really open. Last thing a developer would want is to end up being accused of copying stuff from said code illegally.

      usually the company wouldn't admit you to seeing the code anyhow if they considered it as that secret and the nda's usually go both ways.
      you know why? because usually it's shit and then they'd have to admit you worked on the project and that would be giving the employee an edge when looking for future work, big companies don't like giving exact creds on people walking out, they like some creds on people walking in.

      getting tainted from looking the code is pure bullshit scary pants nonsense - the code won't be relevant even for long enough for it to matter anyways, just don't keep it around as a copy. but it is cool from future employer viewpoint if you did look at something once.

      of course the amount of people for this particular code is interesting to is quite limited.

      but I really wonder what kind of people do people who recommend not looking at any source at all due to being scared of getting tainted think? that employers want noobs?

      --
      world was created 5 seconds before this post as it is.
    5. Re:No they haven't by Robert+Zenz · · Score: 1

      Open Source != Free Software.

    6. Re:No they haven't by Anonymous Coward · · Score: 0

      http://www.opensource.org/docs/osd

      The people who coined the term Open Source. If you use the capitol letters, you are talking about this. It's not exactly the same as Free Software, but Free Software is much closer than what NVIDIA has done.

    7. Re:No they haven't by X0563511 · · Score: 1
      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    8. Re:No they haven't by Melkhior · · Score: 1

      Why is everybody thinking this is big news?
      ftp://download.nvidia.com/CUDAOpen64/
      The previous compiler, based upon Open64, has been available in source form since CUDA 1.0. They (partially) switched to LLVM in 4.1, and they also release the source code. They didn't have to, because unlike Open64 LLVM is not GPL, so it's nice of them, but it's not exactly earth-shattering news...

  7. In related news by StikyPad · · Score: 1

    Stikypad [sic] has "given away" all of his "money" to a "qualified individual."

    1. Re:In related news by chill · · Score: 2

      Ah, you're married, aren't you.

      --
      Learning HOW to think is more important than learning WHAT to think.
    2. Re:In related news by GameboyRMH · · Score: 1

      No he's just started investing.

      --
      "When information is power, privacy is freedom" - Jah-Wren Ryel
    3. Re:In related news by StikyPad · · Score: 1

      Lost at Monopoly.

  8. Can someone tell me NVidia's business model? by Brannon · · Score: 1

    Discrete graphics is going away, they seem to be leaning increasingly towards the HPC market but that is tiny compared to the consumer graphics market that their company was built on. I just don't see it. Anyone?

    1. Re:Can someone tell me NVidia's business model? by Ken_g6 · · Score: 2

      (Off topic): [url=http://en.wikipedia.org/wiki/Tegra]Tegra[/url]? (An ARM chip with nVIDIA graphics.)

      --
      (T>t && O(n)--) == sqrt(666)
    2. Re:Can someone tell me NVidia's business model? by hardwareman · · Score: 4, Informative

      Well, They are making some of the best mobile/low-power solutions with the Tegra family of chip-sets.

      I also believe that it's still going to take some time before the integrated solutions (Intel IGP and AMD Fusion) are good enough to replace discrete graphics for gamers - where they are strong today.

    3. Re:Can someone tell me NVidia's business model? by yupa · · Score: 1

      You means the tegra2 that lacks neon support and have low memory bandwidth ?

    4. Re:Can someone tell me NVidia's business model? by gupg · · Score: 1

      Discrete graphics is going away, they seem to be leaning increasingly towards the HPC market but that is tiny compared to the consumer graphics market that their company was built on. I just don't see it. Anyone?

      Discrete GPU market is growing. See JPR's analyst reports http://jonpeddie.com/press-releases/details/embedded-graphics-processors-killing-off-igps-no-threat-to-discrete-gpus/

      here is the full report http://jonpeddie.com/download/media/slides/An_Analysis_of_the_GPU_Market.pdf

  9. GPGPU Cold War finally ending? by rcrodgers · · Score: 1

    Does this mean that AMD/ATI and nVidia are finally recognizing that the only people really losing out in their cold war are their users? I'm traditionally an AMD/ATI customer but have been leaning towards getting an nVidia card for the CUDA support in Adobe's Creative Suite, but if this means that at some point in the future the Radeon HD 7000 series will support CUDA and will potentially accelerate CS, then I'll stick with it...

    --
    The sharpest blade is no match for the sharpest mind.
  10. Open Source the Libraries by melonakos · · Score: 4, Interesting

    IMO, open sourcing their GPU libraries would be a much bigger deal than only open sourcing the compiler. I would like to see CUBLAS, CUFFT, CUSPARSE, CURAND, etc all get opened up to the community.

    The pain is not in compiling GPU code; rather, the pain is in writing good GPU code. The major difference between NVIDIA and AMD (and the major edge NVIDIA has over AMD) is not as much the compiler as it is the libraries.

    Of course, I'm biased, because I work at AccelerEyes and we do GPU consulting with our freely available, but not open source, ArrayFire GPU library, which has both CUDA and OpenCL versions.

    1. Re:Open Source the Libraries by melonakos · · Score: 2

      Also, OpenCL is not going anywhere, even if someone figured out how to get CUDA code to run well on ATI GPUs. In addition to many other reasons which I'm are getting discussed in these comments, OpenCL is gaining a lot of traction by mobile GPU vendors too (e.g. ARM Mali, Imagination PowerVR, Qualcomm Adreno, etc).

  11. Nvidia Driver by Anonymous Coward · · Score: 0

    Is there any particular reason they are not making the driver open source? I have done programming with CUDA but it was troublesome to get the driver installed and working correctly. It would be much easier if it was just part of the modules distributed by default with any distribution. Wouldn't open sourcing the driver, which is free as in free beer anyway, encourage people to buy Nvidia's hardware?

  12. From TFA: CUDA runs on x86 by tepples · · Score: 3, Interesting

    OpenCL is a much better path, because it can execute code on a CPU as well as a GPU.

    So can CUDA, according to a graphic in one of the featured articles: "NVIDIA C or C++, PGI Fortran, or new language support, through LLVM-based CUDA compiler, to NVIDIA GPUs, x86 CPUs, and new processor support."

    1. Re:From TFA: CUDA runs on x86 by fsckmnky · · Score: 3, Interesting

      And as I said, the OpenCL driver I downloaded from Nvidia a week ago, doesn't support CPU's as a target. This is not to say CUDA isn't capable of doing this at some point or with some 3rd party addition, just that the capability currently doesn't exist, or at the very least, isn't being provided by Nvidia.

      Given the choice of a vendor-neutral platform, or a vendor-supplied platform ( where the odds of CUDA having support for AMD GPU's is near 0 ) ... as a developer, which would you choose ?

      Hence my prediction, OpenCL will win ( the hearts and minds contest ). It's already won mine. I wouldn't touch CUDA for fear of being locked into Nvidia products versus the open, broad support, of OpenCL. I even ordered an AMD video card, so I can ditch the Nvidia only driver entirely.

    2. Re:From TFA: CUDA runs on x86 by fsckmnky · · Score: 2

      and now that I contemplate this more, it seems like this announcement is Nvidia's attempt to win back people like myself, and convince everyone to use CUDA instead of OpenCL. Much like the DirectX vs OpenGL thing Microsoft pulled off, but perhaps with less chance of success.

    3. Re:From TFA: CUDA runs on x86 by Anonymous Coward · · Score: 0

      Perhaps a better analogy would be Glide vs OpenGL (primarly because Glide sounds more car-related).

    4. Re:From TFA: CUDA runs on x86 by Anonymous Coward · · Score: 0

      A careful reading of TFA shows that the *next* release of CUDA *will be* released as source to NDAed individuals, and *that* release contains ability to run on CPUs.

      But ability to run on CPUs really isn't that important; there's something of a performance disparity, not to mention the fact that GPGPU algorithms are typically much slower, FLOP for FLOP, than the equivalent CPU code. We already have CUDA for CPUs; it's called C.

      Nonetheless, OpenCL or even DirectCompute is going to be a better target than CUDA for the reasons of lock-in you mention, just as everyone uses HLSL or glslang these days rather than Cg.

      And please note nVidia's poor record with Cg. They "open-sourced" the 0.9 Cg compiler with "personal use only" restrictions and then failed to ever update it.

  13. Xbox 360 and Wii have integrated graphics by tepples · · Score: 1

    They are making some of the best mobile/low-power solutions with the Tegra [nvidia.com] family of chip-sets.

    That and nForce.

    it's still going to take some time before the integrated solutions (Intel IGP and AMD Fusion) are good enough to replace discrete graphics for gamers

    SWF games, such as those seen on Facebook, are targeted at PCs with Intel GMA (Graphics My Ass) IGPs. So to people for whom "gaming" means FarmVille and "upgrade" means buying a new PC, integrated graphics have replaced discrete.

    Xbox 360 and Wii have "integrated graphics" by AMD in the sense that the GPU is on the northbridge. The 360's graphics are also "integrated" in the sense that all 512 MB of its RAM can be used as VRAM. I'm not very familiar with the PS3 architecture other than that half its 512 MB of RAM is exclusive to the NVIDIA RSX GPU, so I don't know what other functions the RSX does in addition to GPU operations. But at least for people who game on an Xbox 360 or Wii and do not game on the PC, integrated graphics have replaced discrete.

    1. Re:Xbox 360 and Wii have integrated graphics by Anonymous Coward · · Score: 0

      I'm not sure you could categorise the Wii's Hollywood package as a northbridge. Apart from the Hollywood GPU (including 3 MB of RAM) and 24 MB of the system RAM it contains a bunch of other stuff like the audio DSP and an ARM9 SoC that runs 'IOS', the basic operating system, controller of the main PPC processor and primary enforcer of security. I'd call it more like a southbridge but even then it does more and lacks the cohesion that I'd expect from something bearing that name. There are four names crammed onto that thing (Nintendo, ATI, BroadOn, NEC) for a reason...

      For that matter, I'm not sure the Wii's GPU is really in the same league as other AMD GPUs. It's an upgrade of the Gamecube GPU, which was designed by a company of ex-SGI engineers who worked on the Nintendo 64. The company got acquired by ATI shortly before the release of the Gamecube and so I assume the design is more SGI-ish than AMD-ish.

    2. Re:Xbox 360 and Wii have integrated graphics by hairyfeet · · Score: 1

      If you are talking about chipsets my friend i'm afraid you are mistaken as nvidia got out of that business nearly two years ago, all they sell now is crappy old designs that they had finished before they got out of the business. i know because i'm having a fricking devil of a time with a new board thanks to the fact the Nvidia chips are so old they don't support AHCI and the last board did so Windows doesn't want to boot off the Nvidia. Learned a valuable lesson though, two actually. Nvidia boards are shit number one, and number two just because a board manufacturer says a chips is supported don't mean shit until she you the damned thing fire. This board has clearly marked on their website under CPU Thuban but won't fire on anything bigger than a quad, ARGH!

      As for the "farmville" crowd? if the chip doesn't support hardware acelerated flash then its shit. I should know because i have plenty of customers addicted to FB games and if you want them to be happy give them a machine with hardware accelerated flash, otherwise they are bitching about the game being jerky or slow. And as far the the consoles being "integrated"? not even close friend, as the RAM they use on the GPU (IIRC XDR RAM) has a bigger pipe and thus can run more data through than plain old DDR whatever. Its been a few years since i looked at the consoles so I might not have the terminology down, but I remember it wasn't just COTS RAM they used on the GPUs which is why it doesn't have nearly as much as your average $50 discrete card.

      --
      ACs don't waste your time replying, your posts are never seen by me.
  14. Running Linux in the CUDA Cores by hoodofblack · · Score: 1

    I think if there was a way to run the kernel in the CUDA cores would be awesome. I have a GTX GeForce 560 Ti - 384 cores. That would be awesome even if to use 1/2 of those in the kernel. Even if we used the GeForce 8800 with 112 cores. Wow...this could be awesome to use those for something productive. If you know of a linux that will run in the CUDA cores I would be happy to know about it.

    1. Re:Running Linux in the CUDA Cores by Zulkis · · Score: 1

      This is not how the GPU cores work. There are some efforts to offload some tasks that kernel does and are suitable for GPU like block encryption etc, (in general everything that is parallel enough and can be streamed). For instance there's AES acceleration: http://gpgpu.org/2011/05/04/kgpu-gpu-computing-in-linux-kernel

  15. ATI/AMD Driver Is Not Free Software by Anonymous Coward · · Score: 0

    Subject says it all really. It includes binary blobs.

    http://www.fsfla.org/svnwiki/selibre/linux-libre/

  16. Re:Nvidia Driver - trade secrets by DCFusor · · Score: 1

    A big part of the trade secrets business in competing GPU's is how things are done in the details - how the problems are phrased or broken up between the CPU and GPU, and exactly what algos are used in each. No one patents this stuff, it's all trade-secret. So no one wants to open source their drives, where all this information lives. Stinks, but there it is.

    --
    Why guess when you can know? Measure!
  17. not related to open source by dutchwhizzman · · Score: 1

    I despise Nvidia for not opening up their drivers, but I still use them on Linux and Windows. Why? Because their drivers don't crash my box half as often as the ATi drivers do if I use them the way I want to, or ATi simply doesn't do what I want. In the end, I much prefer open source, but I'll use whatever gets me the best results for my application. My computers are first and foremost tools, not political advocacy devices.

    Blaming the lack of success for ATi on Linux desktops on the fact that they went open source simply doesn't hold. They were behind before they went open source and even tho they improved greatly, they are still significantly behind Nvidia when it comes to Linux drivers.

    --
    I was promised a flying car. Where is my flying car?
  18. sitting idle by Anonymous Coward · · Score: 0

    any way to offload the OpenVPN calculations to the GPU?
    OpenVPN server is eating away at my intel atom 330 : (

    1. Re:sitting idle by Bengie · · Score: 2

      You probably wouldn't gain anything. Passing data between your CPU and GPU has a high latency penalty. OpenVPN processes small amounts of data. You would need to probably buffer a few hundred KB before it would become worth it.

      A GPU would be great for any large amounts of data, like a block device, but small packetized datastreams work best with super low latency instruction level acceleration.

      My guess anyway.

  19. That is the funniest thing I've read in a long by Brannon · · Score: 1

    long time.

    I'm going to print it out and put it on the shelf next to:

        * "Buggy whip industry still growing with no end in sight"
        * "Refrigeration is no threat to the ice delivery business"
        * "Travel agents expect little competition from internet sales"