1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

New CUDA 4.0 Release Makes Parallel Programming Easier

Discussion in 'News' started by btarunr, Feb 28, 2011.

  1. Cheeseball

    Joined:
    Jan 2, 2009
    Messages:
    671 (0.31/day)
    Thanks Received:
    84
    Why is everyone saying CUDA is not open source? It IS open source and free to use, just as much as OpenCL. If it wasn't, then my company (and my alma mater) would be paying NVIDIA out the nose, which we aren't (except in hardware). We're not "sponsored" by them either, unless you count developer e-mails and forums posts as "sponsorship".

    The only thing people are complaining about is the fact that CUDA is "locked" to NVIDIA cards only, which I wholeheartedly agree with. Personally, it's the only reason why I have a GTX 460 768MB along side my Crossfire setup.

    What everyone is failing to understand is that optimization is already existing for NVIDIA's implementation of OpenCL (they have 100% compatibility with OpenCL 1.1 as much as AMD has), it's just that CUDA is more in use because of the wide array of functions and support. (e.g. optimizations, direct video memory usage, static code analysis, etc.)

    Again, usage of CUDA is free, just like using *nix. A lot of open source (and commercial) developers would not be using it if it wasn't.
     
  2. Fourstaff

    Fourstaff Moderator Staff Member

    Joined:
    Nov 29, 2009
    Messages:
    9,202 (5.05/day)
    Thanks Received:
    1,985
    Location:
    Home
    Perhaps that is so, but given that the prices of comparative AMD and Nvidia cards are around the same, so it should not be too much of an issue: if you want OpenCL, then you buy AMD (its slightly cheaper in a lot of cases), if you want CUDA, you go for Nvidia.

    I still do not get why Nvidia gets soo much shit for making such a good product, while Intel's (and a bunch of other companies') USB gets no flak.
     
  3. Cheeseball

    Joined:
    Jan 2, 2009
    Messages:
    671 (0.31/day)
    Thanks Received:
    84
    Actually, if one plans to utilize OpenCL in it's entirety, you can go either NVIDIA or AMD as both implementations are fully supported. NVIDIA currently has the lead in OpenCL applications in regards to performance.
     
    Last edited: Mar 1, 2011
  4. JEskandari New Member

    Joined:
    Jul 22, 2009
    Messages:
    9 (0.00/day)
    Thanks Received:
    0
    Well here there is some miss understanding

    CUDA is royalty Free and you don't need to pay anything
    But it's not the Case about PhysX , its not free and if you want to use
    it on your Hardwares you must pay for the Licenses fee .
     
  5. Cheeseball

    Joined:
    Jan 2, 2009
    Messages:
    671 (0.31/day)
    Thanks Received:
    84
    That is correct. If a commercial product will be using PhysX, one will need to apply for a license with NVIDIA. However, if you use CUDA/OpenCL to create your own physics implementation, it's free, but of course that entails more research on the developer's side.
     
  6. Mussels

    Mussels Moderprator Staff Member

    Joined:
    Oct 6, 2004
    Messages:
    42,484 (11.48/day)
    Thanks Received:
    9,763
    lets clear something up.


    free to code a program to use cuda, is not free to enable your own video cards to run CUDA. no one but nvidia is allowed to accelerate cuda on their hardware. this is why we say its not open source. (whether the wording is correct or not, THAT is what we mean)


    if it was truly open like openCL, everyone could implement it free.
     
  7. Bjorn_Of_Iceland

    Bjorn_Of_Iceland

    Joined:
    Jan 2, 2008
    Messages:
    3,175 (1.26/day)
    Thanks Received:
    376
    This thing is sleek and has good support and dev community. Nuff said.
     
  8. JEskandari New Member

    Joined:
    Jul 22, 2009
    Messages:
    9 (0.00/day)
    Thanks Received:
    0
    well you may not believe it but there is no need to get a license to develop
    a CUDA Driver for AMD Cards

    well it's the attitude when it come to this matter
    it was from The Inquirer
     
  9. Benetanegia

    Benetanegia New Member

    Joined:
    Sep 11, 2009
    Messages:
    2,683 (1.41/day)
    Thanks Received:
    694
    Location:
    Reaching your left retina.
    lol and Glide was a superb thing for as long as it lasted, way better than OpenGL and DirectX up to a point in which OpenGL catched up and later DirectX and it was THEN when developers started using OpenGL/DirectX and put Glide aside. That's how tech has to be abandoned, open or not. That's how CUDA has to go away and not because they simply drop it.

    That is false, since CUDA is free.

    And they are doing it! But on one hand CUDA has a 2 year headstart and will always have that headstart, it will always have 2 years more of working together developers and on the other hand CUDA belonging to Nvidia can be (and IS) updated according to developers desires almost instantly something that OpenCL cannot offer because of it's standardisation progress.

    So until OpenCL can offer exactly the same, CUDA must exist because that's what is best for developers and that's what it's best for us, because without it developers could not create the amazing things they are doing with CUDA right now, they would have to wait 1 or 2 years until OpenCL is in that same state as CUDA is right now. That would not benefit anyone, the fact that you need a Nvidia GPU is completely irrelevant, you can at least have access to those applications which you would not have otherwise.

    Anyway, did you even know that Nvidia has always been first with their OpenCL conformant drivers? No? Check it: http://www.khronos.org/adopters/conformant-products/

    Exactly. Pushing OpenCL compatibility NOW. CUDA exists since 2006. That's a quite a difference. That is what you fail to understand.

    You are forced to use Windows, just the same way you are forced to use a Nvidia card. Supporting DirectX and not supporting CUDA based on the principle of their "openess" is NONSENSE. Both are propietary, free to use APIs and there's no difference at all. Anyone can use DirectX for free, anyone can use CUDA for free. If you want to be able to use it you need Windows, if you want to be able to use it you need a Nvidia card.
     
  10. Mr McC

    Mr McC

    Joined:
    Apr 12, 2010
    Messages:
    1,248 (0.74/day)
    Thanks Received:
    323
    Not to me.
     
  11. Benetanegia

    Benetanegia New Member

    Joined:
    Sep 11, 2009
    Messages:
    2,683 (1.41/day)
    Thanks Received:
    694
    Location:
    Reaching your left retina.
    It may not be for you, but it sure is for humanity. Have you seen the medical imaging applications they've created with CUDA? Have you read what the medics think about it? How helpful it is for early prognostication and how many lifes can potentially save? The world sure is better with those apps than without them and having them NOW is way better than having them in 2 years from now. Period.

    And that is only one of the applications. Thanks to CUDA (GPGPU actually, but we have discussed just enough why for the time being GPGPU == CUDA) they are going to be able to predict hearthquakes or tornados better, they can find out how molecules interact, they can find starts and other worlds, they will find minerals more easily, facial/GPS image recognition can help detect terrosists and terrorist camps. This is real not science fiction. Is having all those things now better than having to wait yet another 2 years? Definately. The fact that they need to use a Nvidia card for doing so is minuscule and completely irrelevant.

    And like always, you are missing the point anyway. Open standards are better than propietary ones, and you should know by now that's also my POV, but actual applications are better than none and OpenCL it's been here for only 1 year or so, and it's not yet as good as CUDA. Most of the GPGPU applications in existence are CUDA based because CUDA exists since 2006 and it's in that time period when they started working on them. The world is definately better with those apps (even if just a little bit, it is better) and having CUDA updated so that those apps can get better and better is only a good thing for everyone. Wanting the demise of CUDA only so that it lefts the place for an API that, as it stands now, is inferior is evil and selfish.
     
    Last edited: Mar 1, 2011
  12. Mr McC

    Mr McC

    Joined:
    Apr 12, 2010
    Messages:
    1,248 (0.74/day)
    Thanks Received:
    323
    Nvidia helps sick people and puppy dogs, and there I was thinking that it was simply another company engaged in cut-throat capitalist marketing practices. We should build them a shrine.

    Think how many people used Internet Explorer a few years back. Internet Explorer has undoubtedly saved many lives and puppy dogs, but Firefox, an open-source competitor, has managed to eat up a sizeable chunk of the market in a relatively short period of time and has probably saved a number of lives and puppies. Perhaps your estimate of 2 years to make the transition is overly pessimisitic.

    Life saving and puppy dogs are not inherent to the technology you are discussing and if open-source alternatives exist that can serve the same purpose, they should be investigated and afforded preferential treatment.

    Moreover, citing Windows use as an example of the hypocrisy of those who criticise the proprietary nature of CUDA adds no weight to your argument: two wrongs do not make a right.
     
  13. pr0n Inspector

    pr0n Inspector

    Joined:
    Dec 8, 2008
    Messages:
    1,334 (0.61/day)
    Thanks Received:
    164
    Holy crap IE was technically superior than Mozilla/Firefox as CUDA is to OpenCL?

    This feels like Inception.
     
  14. Mr McC

    Mr McC

    Joined:
    Apr 12, 2010
    Messages:
    1,248 (0.74/day)
    Thanks Received:
    323
    Haven't seen the film yet.

    Don't read too much into the comparison, my point is that open-source alternatives exist and can rapidly achieve mass acceptance, provided they are given the chance.
     
  15. Benetanegia

    Benetanegia New Member

    Joined:
    Sep 11, 2009
    Messages:
    2,683 (1.41/day)
    Thanks Received:
    694
    Location:
    Reaching your left retina.
    Why Nvidia does it is IRRELEVANT. The fact is that CUDA now allows the creation of apps that OpenCL does not yet. So since having those apps is better than not having them CUDA is a good thing and we should support it until OpenCL is an equal option, we should never bury it. And following your example, no IE did not safe those puppies in the same way CUDa is doing. At any rate it would be Netscape who saved those puppies. And yeah later came IE and later Firefox. And you know what? That's a good thing. I use Firefox. ;)

    But would have been the world (the internet) better without the propietary Navigator? Would have been better without IE, which became better than Navigator because Netscape stopped improving Navigator? It would not. I'm sorry but without Navigator there would be no IE and without either of them Firefox (or any open source code for that matter) would have never been posible, since it was created by people on the net, using the propietary software they were trying to displace.

    So in two or 3 years we we'll all be using OpenCL apps and CUDA will be a thing of the past or something that catters to a shrinking niche or something. And it will be a good thing. But for the time being CUDA is nothing but a good thing. Simple as that.
     
  16. Mr McC

    Mr McC

    Joined:
    Apr 12, 2010
    Messages:
    1,248 (0.74/day)
    Thanks Received:
    323
    You assume too much. Hypotheses about what would have happened are inevitably only that: guesswork. Why assume that the vaccuum created in our hypothetical world would not have been filled by something else, which in turn would have influenced all subsequent developments?

    Nobody is arguing that CUDA is not helpful as things stand, the argument is that it could and should be replaced by a non-proprietary alternative and how long that would take. But as you seem to be saying just that, we appear to be agreeing, although I will not easily forget that you have tried to present Jen-Hsun Huang as Mother Teresa of Calcutta in a CUDA thread.
     
  17. Benetanegia

    Benetanegia New Member

    Joined:
    Sep 11, 2009
    Messages:
    2,683 (1.41/day)
    Thanks Received:
    694
    Location:
    Reaching your left retina.
    Yeah and the world could have been better if the Persian Empire had won the Greco-Persian wars. Cristianity instead of evolving under the Roman Empire could have evolved under the Persian Empire, where the Emperor was regarded as a God. Maybe the Emperor of such a world in such circumstances would have assumed the role of the christian God (because of the same pressure that force Romans to adopt Christianity) and rule the world with fairness and love until the end of days. Maybe. Maybe tht would have saved the world from all the murdering that is and has been done in the name of religions. Maybe...

    You know where I'm going? The thing is that the Greeks won, democracy survived, and we live in a mostly democratic world which we know is better than living under dictatorship.

    I have at no point mentioned Jen-Hsun. I have never said what you claim I said. We could argue forever about if guns are evil or not. I'm of the particular people who thinks they are evil, in the sense of that they are created to kill and are used to kill. But I'm very well aware of the fact that they can and are used for good puposes and in the particular case in which a gun is used to stop someone from killing innocent people, that gun is a good thing. Hence the existence of that gun is good.

    I'm just saying the same about CUDA. I don't care who has created CUDA and what benefits they may get from it, it's irrelevant for me and it's irrelevant for humanity. I know how CUDA is being used and that it's good. It has created a market that is in expansion and has allowed for things that would not be posible without it and that's only good thing. I now that if it's constantly updated it's better than if it's not updated. Wanting it to go away, in the way that you guys seem to want it to go is just as "evil" and nonsensical as wanting the gun I mentioned above to dissapear before the shot that saves those innocent lives has been made.
     
    Last edited: Mar 1, 2011
  18. ToTTenTranz

    ToTTenTranz New Member

    Joined:
    Sep 8, 2009
    Messages:
    865 (0.45/day)
    Thanks Received:
    167
    Location:
    Porto
    Completely wrong.
    Glide was abandoned when relevant GPU makers appeared, that used non-vendor-specific APIs. It was abandoned when PowerVR, nVidia, ATI, S3, Matrox, Rendition, etc started to take a significant share of the consumer 3D graphics card market, and 3dfx wasn't the stand-alone king of 3d accelerators anymore.

    It had nothing to do with technological advance or OpenGL\DirectX catching up in terms of features <- that's what you fail to understand.



    lol



    And 3DFx was the first with DirectX drivers, despite having Glide. And Creative was the first with OpenAL drivers, despite having EAX.
    Point being?
     
  19. Benetanegia

    Benetanegia New Member

    Joined:
    Sep 11, 2009
    Messages:
    2,683 (1.41/day)
    Thanks Received:
    694
    Location:
    Reaching your left retina.
    That is false. By the time 3Dfx Voodoo 3 was still the king, OpenGL (and to a lesser extent DirectX) was already eating on Glides market share (Glide was noting but a subset of OpenGL btw). PowerVR and Rensition existed looooong before Glide's demise and did not influence one bit. Glide+3dfx was a better combo and so game developers used it. When the combo was not the best, they started using alternatives. And that's what needs to happen with CUDA. CUDA does not have to go away for that to happen.

    I find it funny you name 3dfx as irrelevant GPU maker. It shows your ignorance on the matter...

    POint is that without their support they would have never been posible. You are asking Nvidia to support OpenCL and they are doing it, more so and faster than AMD, S3 bla bla bla. So your point of Nvidia not supporting OpenCL is moot.
     
  20. cheesy999

    Joined:
    Jul 2, 2010
    Messages:
    3,919 (2.44/day)
    Thanks Received:
    581
    Location:
    UK
    Exactly, For all the arguing the entire point of NVIDIA is to sell GFX cards

    NViDIA Developed CUDA to sell More cards

    NVIDIA did not develop CUDA to Heal sick puppies - that is the Job of the people buying their cards

    Developing CUDA for ATI cards would cost money and have no benefit to them

    They were also the first to support open CL - proving the first point, they don't care about the amount of people using CUDA, they just want to use GPU processing as an advertising point

    No open CL programs are not NVIDIAs fault, it is the programmers not writing programs for them

    In the future new programs may use open CL and existing programs may move over to it, this will depend entirely on whether the programmers feel the extra 30% of pc users they will reach) outweighs the effort of recoding or coding in CUDA

    http://store.steampowered.com/hwsurvey

    Most programs take about 2-3 years to make
     
    Last edited: Mar 1, 2011
  21. Fourstaff

    Fourstaff Moderator Staff Member

    Joined:
    Nov 29, 2009
    Messages:
    9,202 (5.05/day)
    Thanks Received:
    1,985
    Location:
    Home
    True, but on the other hand, you can spend roughly as much and get a (currently) more inferior product in OpenCL. Also, if you get an Nvidia card, you can do BOTH OpenCL and CUDA, think of CUDA as a bonus.

    I heard OpenCL was a Mac project, how come it became opensource? Perhaps Nvidia will make CUDA opensource sometime in the future, eh?
     
  22. ToTTenTranz

    ToTTenTranz New Member

    Joined:
    Sep 8, 2009
    Messages:
    865 (0.45/day)
    Thanks Received:
    167
    Location:
    Porto
    And claiming I named 3dfx as irrelevant shows your a.d.d.?



    Now here's some ignorance on your part. Voodoo 3 was never a king at its time. It had been projected to beat Riva TNT, but it came out so late that it faced TNT2 at its launch.
    It had lower performance, fewer features (16-bit color render only) and higher price than TNT2. Voodoo 3 sales were abysmal, as people preferred TNT2 for performance and Matrox G400 for image quality.
    Add that to the fact that 3dfx had just made their graphics card production exclusive to STB and the Voodoo 3 was the beginning of 3dfx's downfall.




    As Î said, Glide had to go when several competing (and competitive) GPUs appeared in the market that couldn't support it.

    When GPGPU was a thing that only nVidia poured real money into (even though ATI actually started it with R520's close-to-metal), CUDA may have had some sense.
    Now we have nVidia with 8xxx onwards, ATI with HD4000 onwards, the whole PowerVR SGX line + future series 6, ARM Mali T604, Vivante GC400-4000, Broadcom Videocore IV, S3 5400E and many others with full OpenCL compatibility.
    It's time to let CUDA go and invest into OpenCL.
     
  23. Fourstaff

    Fourstaff Moderator Staff Member

    Joined:
    Nov 29, 2009
    Messages:
    9,202 (5.05/day)
    Thanks Received:
    1,985
    Location:
    Home
    Last time I checked, they are supporting both.
     
  24. ToTTenTranz

    ToTTenTranz New Member

    Joined:
    Sep 8, 2009
    Messages:
    865 (0.45/day)
    Thanks Received:
    167
    Location:
    Porto
    Yes, and my argument is that they should be supporting only one: OpenCL.
     
  25. leonard_222003 New Member

    Joined:
    Jan 29, 2006
    Messages:
    241 (0.07/day)
    Thanks Received:
    25
    While Cuda has been very very good for video editing apps ( adobe ) and some other areas i don't know about ( science ?? ) it think it will come to an end at some point.
    Bottom line what cuda brought of real value to the world ? in games was physics and in content creation was faster transcoding speed , look at intel's sandy and the speed at wich it transcodes compared to cuda or amd stream , it's not even funny how it decimates them , that parallelization probably will work in physcs too ( intel having havok ) if this will be of any interest for intel.
    When the integration of graphics in cpu's was promised i was thinking of cheap tiny laptops that consume little power but it seems more can be gained from this , intel already developed a plugin for adobe for using quick sync , maybe it's not ready as it should be cuda took a lot of time too to mature , i believe intel will mature this tehnology cause they have the money , amd is a lost hope of course.
     

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page