OpenCL (Open Compute Library)

Discussion in 'GPGPU Technology & Programming' started by NocturnDragon, Jun 10, 2008.

  1. pcchen

    pcchen Moderator
    Moderator Veteran Subscriber

    Joined:
    Feb 6, 2002
    Messages:
    3,018
    Likes Received:
    581
    Location:
    Taiwan
    I didn't assume you was an idiot. You said you see "aboslute no value" in OpenCL supporting CPU, that leads to all these discussions. I don't agree with what you said all along.
     
  2. Scali

    Regular

    Joined:
    Nov 19, 2003
    Messages:
    2,127
    Likes Received:
    0
    To be exact, I said this:
    "Seeing as the main point of writing massively parallel code is performance, I don't see myself ever using OpenCL on anything that is not a massively parallel architecture. So at this point I see no use for OpenCL outside GPUs."

    So I was speaking about 'now', and about my own preferences/experiences, not anyone else's. Nothing different than what was said in the past few posts.
    Clearly I left room in my statement for future CPU architectures that will deal with massive parallelism in a better way.
     
  3. rpg.314

    Veteran

    Joined:
    Jul 21, 2008
    Messages:
    4,298
    Likes Received:
    0
    Location:
    /
    Because I see value in writing opencl code now as it will be far far more maintainable and (easier to hack) while (performance) porting across myriad architectures.
    Agreed, you have use longer than I have. But I see value in it that you don't see right now. Let's see where we both stand after 5 years.

    I say, you'd come around. :smile:
     
  4. Scali

    Regular

    Joined:
    Nov 19, 2003
    Messages:
    2,127
    Likes Received:
    0
    Doesn't mean I see the same value. I was merely speaking for myself.

    There is no 'coming around'. I already see value in OpenCL, and I've already decided to move from Cuda to OpenCL... which is now complicated because I got DirectCompute to work with, and the first impression was better than OpenCL so far.
    But I have nothing against OpenCL, I've already used it, and will continue to use it... it's just that I think people are overhyping it (then again, it IS an Apple initiative, so what do you expect? :)).
     
  5. Andrew Lauritzen

    Andrew Lauritzen Moderator
    Moderator Veteran

    Joined:
    May 21, 2004
    Messages:
    2,629
    Likes Received:
    1,227
    Location:
    British Columbia, Canada
    Agreed, although I think every language in this space has been over-hyped (except perhaps, ironically, ComputeShader), with OpenCL being one of the lesser evils that pales in comparison to the marketing around CUDA.
     
  6. rpg.314

    Veteran

    Joined:
    Jul 21, 2008
    Messages:
    4,298
    Likes Received:
    0
    Location:
    /
  7. Jawed

    Legend

    Joined:
    Oct 2, 2004
    Messages:
    11,708
    Likes Received:
    2,132
    Location:
    London
    I'd like to read your opinions on the flaws in the memory model. I have my doubts, but I think your opinion is worth more...

    I know that you generally want a higher-level of abstraction, but I'm curious about your thoughts on the flaws, before considering what kind of abstraction is useful.

    Jawed
     
  8. Tim Murray

    Tim Murray the Windom Earle of mobile SOCs
    Veteran

    Joined:
    May 25, 2003
    Messages:
    3,278
    Likes Received:
    66
    Location:
    Mountain View, CA
    Oh my goodness, do Marco and I agree on flaws in the OCL memory model too? This thread is blowing my mind.

    (probably not, I bet he hates CUDA too :( )
     
  9. Andrew Lauritzen

    Andrew Lauritzen Moderator
    Moderator Veteran

    Joined:
    May 21, 2004
    Messages:
    2,629
    Likes Received:
    1,227
    Location:
    British Columbia, Canada
    I won't speak for Marco, but I think both of them have a long way to go...

    While it has its own problems, I still maintain that Sequoia was a step in the right direction here. We're trying to specify data locality here, not micro-manage the memory controller in one GPU architecture.

    Still, I think we'll eventually get there. I'm just hoping we don't accumulate too much crufty code written against one architecture that doesn't scale to future hardware in the mean time.
     
  10. mhouston

    mhouston A little of this and that
    Regular

    Joined:
    Oct 7, 2005
    Messages:
    344
    Likes Received:
    38
    Location:
    Cupertino
    ;-) Ah Sequoia. Lots good things there, and some bad. I think the memory model was good, but it did limit the applications you could run (only regularizable) and the communication semantics (i.e. no in-place synchronization, but for good reason). But, I know there is work at Stanford to make the model more flexible while trying to maintain much of the goodness.
     
  11. dominikbehr

    Newcomer

    Joined:
    Apr 19, 2002
    Messages:
    72
    Likes Received:
    0
    Location:
    Sunnyvale, CA
    We have been making noise since GDC 2009 in March ;-)
    For instance http://techreport.com/discussions.x/16640
    We have also made speeches about OpenCL at other conferences.

    PPAM09 was fun. Lots of people came to the tutorial and the crowd at my later keynote was really big (compared to the overall size of the conference).

    I would dare to say that scientific community is very interested in OpenCL.
     
  12. spacemonkey

    Newcomer

    Joined:
    Jul 16, 2008
    Messages:
    163
    Likes Received:
    0
    Does Intel plan to adopt OpenCL, or will they introduce another proprietary API (like CUDA) for LRB?
     
  13. Arnold Beckenbauer

    Veteran Subscriber

    Joined:
    Oct 11, 2006
    Messages:
    1,756
    Likes Received:
    722
    Location:
    Germany
    They support OpenCL, but on the other hand they have their Ct for Larrabee and Sandy Bridge.
     
  14. Panajev2001a

    Veteran

    Joined:
    Mar 31, 2002
    Messages:
    3,187
    Likes Received:
    8
    As long as they keep their underlying technology to implement the underpinnings of their OpenCL tech (nVIDIA's OpenCL support likely takes a lot of advantage from their CUDA support), it should not hurt OpenCL.
     
  15. Karoshi

    Newcomer

    Joined:
    Aug 31, 2005
    Messages:
    181
    Likes Received:
    0
    Location:
    Mars
    Im not reading all the SDK documentations. But maybe someone can answer for me. I downloaded opencl-z from sourceforge and dropped the exe in the ati-stream-sdk folder with opencl.dll. It wouldnt work.
    Checking the project files on sf.net with ViewVC showed references to some cuda directories with the dll (i suppose).
    Sooo, what if i have an old g92, larrabee and an AMD processor? or intel CPU & amd GPU? Must I install the drivers for each one? Will they cooperate? Or must i choose a single driver?
    What about OSX? Linux? There isnt a system wide dispatcher that registers different drivers and makes them work together, isnt it?
    AMD's driver will be good for their GPU & SSEx CPU. Nvidia's driver for their GPUs (and SSEx? iirc cuda can output x86). Intel driver is a mistery, larrabee most likely. Will intel CPUID block amd cpus? or just optimize for their uarch and amd be damned?
    I see (developer & user) pain ahead.
     
  16. pcchen

    pcchen Moderator
    Moderator Veteran Subscriber

    Joined:
    Feb 6, 2002
    Messages:
    3,018
    Likes Received:
    581
    Location:
    Taiwan
    What you describes is the platform issue. This is a non-issue on MacOS X because Apple is taking care of all these issues (all OpenCL devices appear in the same platform provided by Apple). However, on other OS there'd have to be a similar common platform, otherwise different OpenCL devices wouldn't be usable in one program.

    AFAIK the major backers of OpenCL has been talking on this issue but there're no public information released for Windows or other OS yet.
     
  17. Tim Murray

    Tim Murray the Windom Earle of mobile SOCs
    Veteran

    Joined:
    May 25, 2003
    Messages:
    3,278
    Likes Received:
    66
    Location:
    Mountain View, CA
  18. Jawed

    Legend

    Joined:
    Oct 2, 2004
    Messages:
    11,708
    Likes Received:
    2,132
    Location:
    London
    No double precision in OpenCL "soon"

    http://forums.amd.com/devforum/messageview.cfm?catid=390&threadid=119492

    It still amazes me that developers are expected to roll their own double-precision functions for common math that is anything but MUL, ADD or DIV, almost 2 years after RV670 arrived.

    And now we find that OpenCL is a no-go zone for DP on AMD GPUs for the foreseeable future.

    Jawed
     
  19. rpg.314

    Veteran

    Joined:
    Jul 21, 2008
    Messages:
    4,298
    Likes Received:
    0
    Location:
    /
    Bad, Bad AMD :evil:
     
  20. mhouston

    mhouston A little of this and that
    Regular

    Joined:
    Oct 7, 2005
    Messages:
    344
    Likes Received:
    38
    Location:
    Cupertino
    It will get there, it just takes some time. Note that I don't believe anyone's CPU OpenCL implementation supports double at the moment either, or any OpenCL implementation for that matter. Passing the math tests to the precisions required by the spec is challenging.
     
Loading...

Share This Page

  • About Us

    Beyond3D has been around for over a decade and prides itself on being the best place on the web for in-depth, technically-driven discussion and analysis of 3D graphics hardware. If you love pixels and transistors, you've come to the right place!

    Beyond3D is proudly published by GPU Tools Ltd.
Loading...