Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Graphics Software AMD Hardware

AMD's OpenCL Allows GPU Code To Run On X86 CPUs 176

eldavojohn writes "Two blog posts from AMD are causing a stir in the GPU community. AMD has created and released the industry's first OpenCL which allows developers to code against AMD's graphics API (normally only used for their GPUs) and run it on any x86 CPU. Now, as a developer, you can divide the workload between the two as you see fit instead of having to commit to either GPU or CPU. Ars has more details."
This discussion has been archived. No new comments can be posted.

AMD's OpenCL Allows GPU Code To Run On X86 CPUs

Comments Filter:
  • The real benefit (Score:5, Insightful)

    by HappySqurriel ( 1010623 ) on Thursday August 06, 2009 @01:49PM (#28975585)
    Wouldn't the real benefit be that you wouldn't have to create two separate code-bases to create an application that both supported GPU optimization and could run naively on any system?
  • Re:Optimization (Score:2, Insightful)

    by jjoelc ( 1589361 ) on Thursday August 06, 2009 @01:51PM (#28975623)
    Actually, this will provide more flexibility in their optimizations. There are some aspects that the CPU does very well, and there are others that the GPU handle well... being able to say "perform THIS function on the CPU and THAT one on the GPU, will free up resources on each chip. Utilizing the CPU for some functions will free up resources on the GPU, and vise-versa, allowing (theoretically) to optimize the performance of EACH one for a better overall experience.
  • Re:Optimization (Score:5, Insightful)

    by Timothy Brownawell ( 627747 ) <tbrownaw@prjek.net> on Thursday August 06, 2009 @01:51PM (#28975625) Homepage Journal

    So now programmers can write code that will work on either processor and will be optimized on neither. Brilliant. I'm sure this is somehow a great step forward.

    -sigh-

    Um, what? How does the existence of a compiler that generates x86 code prevent the existence of an optimizing compiler that generate GPU instructions?

  • Re:Optimization (Score:5, Insightful)

    by olsmeister ( 1488789 ) on Thursday August 06, 2009 @02:08PM (#28975897)
    Welcome back to the days of the math coprocessor....
  • by realmolo ( 574068 ) on Thursday August 06, 2009 @02:18PM (#28976029)

    Now that we have CPUs with literally more cores than we know what to do with, it makes sense to use those cores for graphics processing. I think that within a few years, we'll start seeing games that don't require a high-end graphics card- they'll just use a couple of the cores on your CPU. It makes sense, and is actually a good thing. Fewer discrete chips is better, as far as power consumption and heat, ease-of-programming and compatibility are concerned.

  • by Pentium100 ( 1240090 ) on Thursday August 06, 2009 @02:32PM (#28976221)

    A dedicated graphics processor will be faster than a general purpose processor. Yes, you could use an 8 core CPU for graphics, or you could use a 4 year old VGA. Guess which one is cheaper.

  • Re:Nice (Score:1, Insightful)

    by Anonymous Coward on Thursday August 06, 2009 @02:36PM (#28976309)

    No you shouldn't, this way you got +5 interesting AND +5 informative ;)

  • by Khyber ( 864651 ) <techkitsune@gmail.com> on Thursday August 06, 2009 @02:42PM (#28976415) Homepage Journal

    Hey, my nVidia 9800GTX+ has over 120 processing cores of one form or another in one package..

    Show me an Intel offering or AMD offering in the CPU market with similar numbers of cores in one package.

  • Re:Nice (Score:4, Insightful)

    by Briareos ( 21163 ) * on Thursday August 06, 2009 @02:46PM (#28976495)

    I suppose I could have been clearer. I'm talking about gpu decoding of HD video, conspicuously absent on AMD drivers in Linux, fully functional on NVIDIA.

    Fixed that for you. Or does installing Linux somehow magically unsolder the video decoding part of AMD's GPUs?

    np: Death Cab For Cutie - Information Travels Faster (The Photo Album)

  • Not any time soon (Score:5, Insightful)

    by Sycraft-fu ( 314770 ) on Thursday August 06, 2009 @02:59PM (#28976755)

    I agree that the eventual goal is everything on the CPU. After all, that is the great thing about a computer. You do everything in software, you don't need dedicated devices for each feature, you just need software. However, even as powerful as CPUs are, they are WAY behind what is needed to get the kind of graphics we do out of a GPU. At this point in time, dedicated hardware is still far ahead of what you can do with a CPU. So it is coming, but probably not for 10+ years.

  • Re:Nice (Score:3, Insightful)

    by Bootarn ( 970788 ) on Thursday August 06, 2009 @03:21PM (#28977153) Homepage

    Damn, you beat me to it!

    The problem now is the lack of applications that enable end users to make benefit from having a powerful GPU. This will be the case until there's a standard API which works across multiple GPU architectures. Having both CUDA and OpenCL is one too many

  • Re:Nice (Score:1, Insightful)

    by Anonymous Coward on Thursday August 06, 2009 @03:34PM (#28977401)
    Wai any netbook that has a DVI, VGA or HDMI port that is connected to a widescreen monitor, silly!
  • by avandesande ( 143899 ) on Thursday August 06, 2009 @04:14PM (#28978045) Journal

    Microsoft wouldn't allow licensing dual cores on netbooks.

  • by Chris Burke ( 6130 ) on Thursday August 06, 2009 @05:49PM (#28979401) Homepage

    I admit I am not their target audeince, and I can see how OpenAL is sufficient for videogame developers, but it really is nothing more than sufficient, and unlike OpenGL, which universal enough that it can be used in system and productivity software, on computers, phones, and in renderfarms on everything from calendar software to animated movies, OpenAL is strictly for videogames only.

    Um, yeah. I have only used it sparingly, but it has always been my understanding that OpenAL was a library for doing spatial audio, in particular for 3D games. I never got the impression that it was supposed to just be an arbitrary audio api. I never got the impression that it was supposed to be for anyone who wasn't specifically interested in spatial audio.

    I mean there are plenty of other cross-platform sound libraries.

    Is OpenAL seriously advertising itself as a general-purpose sound library akin to OpenGL these days? Is it suffering from feature/scope creep? Or is this just a case of picking the wrong tool for the job based on an understandable confusion regarding the OpenFoo nomenclature?

  • Re:Nice (Score:1, Insightful)

    by Anonymous Coward on Friday August 07, 2009 @12:08AM (#28982409)
    Or just use Windows where we've been enjoying working hardware acceleration and 1080p videos for a long time now.

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...