OpenCL (Open Compute Library)

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

  1. NocturnDragon

    Regular

    Joined:
    Feb 6, 2002
    Messages:
    393
    Likes Received:
    17
    As Jen-Hsun Huang pre-announced the other day:
    Apple yesterday announced it's own GPGPU solution called OpenCL. (not to be confused with OpenCL the cryptography library now called Botan)
    So far there are only a few details available:
    • It will be released on apple platforms a year from now with OS X 10.6 Snow Leopard.
    • Apple proposed it as an open standard. (through Khronos?)
    • it will have a C based syntax (but what language today doesn't?)
    On the apple site you can read:
    http://www.apple.com/macosx/snowleopard/
    Press Release:
    http://www.apple.com/pr/library/2008/06/09snowleopard.html

    Is there any other information about it?
     
    #1 NocturnDragon, Jun 10, 2008
    Last edited by a moderator: Jun 10, 2008
  2. Rufus

    Newcomer

    Joined:
    Oct 25, 2006
    Messages:
    246
    Likes Received:
    60
    Steve's reality distortion field, or is there something that is missing?

     
  3. patsu

    Legend

    Joined:
    Jun 25, 2005
    Messages:
    27,614
    Likes Received:
    60
    OpenCL is based on LLVM and Clang.

    In fact, Grand Central Dispatch is also very interesting.
     
  4. NocturnDragon

    Regular

    Joined:
    Feb 6, 2002
    Messages:
    393
    Likes Received:
    17
    Yeah I was guessing LLVM would have been involved...

    Do you have any link about that tho?
     
  5. patsu

    Legend

    Joined:
    Jun 25, 2005
    Messages:
    27,614
    Likes Received:
    60
    I think the Wiki entry for OpenCL says as much.

    I am trying to find more info about Grand Central Dispatch from Apple's developer site (Though it is not GPGPU per se). Like the Cell processor, GCD reminds me of supercomputing concept(s) from more than a decade ago (From the Cray, Thinking Machine, PVM supercomputing era).
     
  6. jimmyjames123

    Regular

    Joined:
    Apr 14, 2004
    Messages:
    810
    Likes Received:
    3
    I thought this was very interesting news, especially the tidbit by Steve Jobs that this was "way beyond" what NVIDIA and others have. Logically I don't think that makes sense (since CUDA has already proven it's worth in various real-world scenarios), unless he meant that it is way beyond in the sense that it is not specific to only one set or type of graphics cards.

    Does anyone know what are the real differences between CUDA and OpenCL? They sure sound similar in function on the surface.

    One thing I don't quite follow is that, on Wikipedia CUDA page, it says that OpenCL is similar technology to CUDA and that Apple has a partnership with NVIDIA and others in promoting this standard.

    So maybe NVIDIA realizes that CUDA has to become universally used for it to be successful, and is therefore supporting OpenCL as an alternative to Intel's upcoming GPGPU software platform?
     
  7. patsu

    Legend

    Joined:
    Jun 25, 2005
    Messages:
    27,614
    Likes Received:
    60
    It probably means that nVidia's CUDA implementation can be folded under LLVM's compiler framework on Mac OS X. LLVM (and hence, OpenCL) can support other language run-time.
     
  8. NocturnDragon

    Regular

    Joined:
    Feb 6, 2002
    Messages:
    393
    Likes Received:
    17
    http://www.amd.com/us-en/Corporate/VirtualPressRoom/0,,51_104_543~126593,00.html
     
  9. Simon F

    Simon F Tea maker
    Moderator Veteran

    Joined:
    Feb 8, 2002
    Messages:
    4,558
    Likes Received:
    149
    Location:
    In the Island of Sodor, where the steam trains lie
  10. NocturnDragon

    Regular

    Joined:
    Feb 6, 2002
    Messages:
    393
    Likes Received:
    17
    Too bad there is not much information in it.

    Future embedded devices, or current ones (OpenGL ES 2.0 generation)?
     
  11. PeterT

    Regular

    Joined:
    May 14, 2002
    Messages:
    702
    Likes Received:
    14
    Location:
    Austria
    Well, it has seemed obvious for a while now that the main roadblock to wide (or even wider) GPGPU adoption is the lack of a platform and vendor agnostic, open, standardized programming interface. If this OpenCL initiative is actually serious and capable of producing something usable in a reasonable timeframe it will become very significant. I for one am quite excited.
     
  12. NocturnDragon

    Regular

    Joined:
    Feb 6, 2002
    Messages:
    393
    Likes Received:
    17
    I sure share your feelings, but I am also a bit scared of the timeframe, as the OpenGL 3 fiasco showed, khronos can take it's time to standardize things.

    Hopefully the push Apple is giving will be enough to overcome that.
     
  13. PeterT

    Regular

    Joined:
    May 14, 2002
    Messages:
    702
    Likes Received:
    14
    Location:
    Austria
    Thinking of the OpenGL 3 "process" is what made me put the qualifier "in a reasonable timeframe" there ;)
     
  14. NocturnDragon

    Regular

    Joined:
    Feb 6, 2002
    Messages:
    393
    Likes Received:
    17
    Well my impression was that the 10.6 version they gave to WWDC attendees already has an early implementation... But I might be way wrong.
     
  15. Karoshi

    Newcomer

    Joined:
    Aug 31, 2005
    Messages:
    181
    Likes Received:
    0
    Location:
    Mars
    Dont remember if dx11 had a compute shader planed. If it didnt, we can look forward to a rushed one. No way MS will let anything multiplatform go ahead unchallenged by a propietary alternative.
     
  16. nAo

    nAo Nutella Nutellae
    Veteran

    Joined:
    Feb 6, 2002
    Messages:
    4,325
    Likes Received:
    91
    Location:
    San Francisco
    DX11 compute shaders are similar to CUDA..
     
  17. darkblu

    Veteran

    Joined:
    Feb 7, 2002
    Messages:
    2,642
    Likes Received:
    22
    so when you try to do a software rasterizer on opencl will the universe implode into a violent singularity?
     
  18. iwod

    Newcomer

    Joined:
    Jun 3, 2004
    Messages:
    179
    Likes Received:
    1
    I think they should focus on getting OpenGL3 or even OpenGL 3.1 done first. Then OpenCL.
    And may be when they have time to fix the OpenAL problems with a rewrite.
     
  19. randomhack

    Newcomer

    Joined:
    Apr 4, 2008
    Messages:
    41
    Likes Received:
    0
    Maybe they are including OpenCL or something related in OpenGL 3 and maybe thats why its taking so much time?
     
  20. NocturnDragon

    Regular

    Joined:
    Feb 6, 2002
    Messages:
    393
    Likes Received:
    17
    They who?
    I don't think it's the OpenGL and OpenCL groups are the same.
    And btw OpenAL is not a Khronos standard.
     

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...