Welcome, Unregistered.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Reply
Old 10-Jun-2008, 15:08   #1
NocturnDragon
Member
 
Join Date: Feb 2002
Posts: 392
Default OpenCL (Open Compute Library)

As Jen-Hsun Huang pre-announced the other day:
Quote:
"Apple knows a lot about CUDA," Huang said, implying the company might be ready to formally embrace Nvidia's technology to make it easier to exploit graphics chips inside Macs. Apple's implementation "won't be called CUDA, but it will be called something else,"
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/
Quote:
OpenCL
Another powerful Snow Leopard technology, OpenCL (Open Compute Library), makes it possible for developers to efficiently tap the vast gigaflops of computing power currently locked up in the graphics processing unit (GPU). With GPUs approaching processing speeds of a trillion operations per second, they’re capable of considerably more than just drawing pictures. OpenCL takes that power and redirects it for general-purpose computing.
Press Release:
http://www.apple.com/pr/library/2008...owleopard.html

Is there any other information about it?
__________________
NocturnDragon
Q :Why did the chicken cross the road? Evolutionist: Pure chance. Evolutionist: Only the fittest chickens survive crossing the road. Creationist: God created the chicken on the other side of the road. There is no proof it ever was on this side.

Last edited by NocturnDragon; 10-Jun-2008 at 15:23. Reason: Typos
NocturnDragon is offline   Reply With Quote
Old 12-Jun-2008, 07:22   #2
Rufus
Member
 
Join Date: Oct 2006
Posts: 214
Default

Steve's reality distortion field, or is there something that is missing?

Quote:
Originally Posted by http://bits.blogs.nytimes.com/2008/06/10/apple-in-parallel-turning-the-pc-world-upside-down/
Mr. Jobs described a new processing standard that Apple is proposing called OpenCL (Open Computing Language) which is intended to refocus graphics processors on standard computing functions.

“Basically it lets you use graphics processors to do computation,” he said. “It’s way beyond what Nvidia or anyone else has, and it’s really simple.”
Rufus is offline   Reply With Quote
Old 12-Jun-2008, 07:30   #3
patsu
Regular
 
Join Date: Jun 2005
Posts: 15,691
Default

OpenCL is based on LLVM and Clang.

In fact, Grand Central Dispatch is also very interesting.
__________________
Ask them if they like Rez... or Robotron... or guitar-based rock music... or art projects... or... life. If they say yes to any of these things, then tell them to shut the fuck up and go play Everyday Shooter because it will make them happy to be alive.
-- DeceitDecide@GAF
patsu is online now   Reply With Quote
Old 12-Jun-2008, 08:12   #4
NocturnDragon
Member
 
Join Date: Feb 2002
Posts: 392
Default

Quote:
Originally Posted by patsu View Post
OpenCL is based on LLVM and Clang.

In fact, Grand Central Dispatch is also very interesting.
Yeah I was guessing LLVM would have been involved...

Do you have any link about that tho?
__________________
NocturnDragon
Q :Why did the chicken cross the road? Evolutionist: Pure chance. Evolutionist: Only the fittest chickens survive crossing the road. Creationist: God created the chicken on the other side of the road. There is no proof it ever was on this side.
NocturnDragon is offline   Reply With Quote
Old 12-Jun-2008, 08:22   #5
patsu
Regular
 
Join Date: Jun 2005
Posts: 15,691
Default

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).
__________________
Ask them if they like Rez... or Robotron... or guitar-based rock music... or art projects... or... life. If they say yes to any of these things, then tell them to shut the fuck up and go play Everyday Shooter because it will make them happy to be alive.
-- DeceitDecide@GAF
patsu is online now   Reply With Quote
Old 13-Jun-2008, 02:06   #6
jimmyjames123
Member
 
Join Date: Apr 2004
Posts: 809
Default

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?
jimmyjames123 is offline   Reply With Quote
Old 13-Jun-2008, 02:52   #7
patsu
Regular
 
Join Date: Jun 2005
Posts: 15,691
Default

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.
__________________
Ask them if they like Rez... or Robotron... or guitar-based rock music... or art projects... or... life. If they say yes to any of these things, then tell them to shut the fuck up and go play Everyday Shooter because it will make them happy to be alive.
-- DeceitDecide@GAF
patsu is online now   Reply With Quote
Old 16-Jun-2008, 10:50   #8
NocturnDragon
Member
 
Join Date: Feb 2002
Posts: 392
Default

http://www.amd.com/us-en/Corporate/VirtualPressRoom/0,,51_104_543~126593,00.html
Quote:
In keeping with its open systems philosophy, AMD has also joined the Khronos Compute Working Group. This working group’s goals include developing industry standards for data parallel programming and working with proposed specifications like OpenCL. The OpenCL specification can help provide developers with an easy path to development across multiple platforms.


“An open industry standard programming specification will help drive broad-based support for stream computing technology in mainstream applications,” said Rick Bergman, senior vice president and general manager, Graphics Product Group, AMD. “We believe that OpenCL is a step in the right direction and we fully support this effort. AMD intends to ensure that the AMD Stream SDK rapidly evolves to comply with open industry standards as they emerge.”
__________________
NocturnDragon
Q :Why did the chicken cross the road? Evolutionist: Pure chance. Evolutionist: Only the fittest chickens survive crossing the road. Creationist: God created the chicken on the other side of the road. There is no proof it ever was on this side.
NocturnDragon is offline   Reply With Quote
Old 17-Jun-2008, 10:53   #9
Simon F
Tea maker
 
Join Date: Feb 2002
Location: Island of Sodor
Posts: 4,014
Default

Khronos Press Release on the related topic
__________________
"Your work is both good and original. Unfortunately the part that is good is not original and the part that is original is not good." -(attributed to) Samuel Johnson

"I invented the term Object-Oriented, and I can tell you I did not have C++ in mind." Alan Kay
Simon F is offline   Reply With Quote
Old 17-Jun-2008, 11:03   #10
NocturnDragon
Member
 
Join Date: Feb 2002
Posts: 392
Default

Quote:
Originally Posted by Simon F View Post
Too bad there is not much information in it.

Quote:
“Significantly, this initiative is aimed at both desktop and embedded devices – the day when you will be able to hold a supercomputer in the palm of your hand is perhaps not so far away.”
Future embedded devices, or current ones (OpenGL ES 2.0 generation)?
__________________
NocturnDragon
Q :Why did the chicken cross the road? Evolutionist: Pure chance. Evolutionist: Only the fittest chickens survive crossing the road. Creationist: God created the chicken on the other side of the road. There is no proof it ever was on this side.
NocturnDragon is offline   Reply With Quote
Old 17-Jun-2008, 11:26   #11
PeterT
Member
 
Join Date: May 2002
Location: Austria
Posts: 696
Default

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.
PeterT is offline   Reply With Quote
Old 17-Jun-2008, 11:48   #12
NocturnDragon
Member
 
Join Date: Feb 2002
Posts: 392
Default

Quote:
Originally Posted by PeterT View Post
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.
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.
__________________
NocturnDragon
Q :Why did the chicken cross the road? Evolutionist: Pure chance. Evolutionist: Only the fittest chickens survive crossing the road. Creationist: God created the chicken on the other side of the road. There is no proof it ever was on this side.
NocturnDragon is offline   Reply With Quote
Old 17-Jun-2008, 12:34   #13
PeterT
Member
 
Join Date: May 2002
Location: Austria
Posts: 696
Default

Quote:
Originally Posted by NocturnDragon View Post
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.
Thinking of the OpenGL 3 "process" is what made me put the qualifier "in a reasonable timeframe" there
PeterT is offline   Reply With Quote
Old 17-Jun-2008, 13:36   #14
NocturnDragon
Member
 
Join Date: Feb 2002
Posts: 392
Default

Quote:
Originally Posted by PeterT View Post
Thinking of the OpenGL 3 "process" is what made me put the qualifier "in a reasonable timeframe" there
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.
__________________
NocturnDragon
Q :Why did the chicken cross the road? Evolutionist: Pure chance. Evolutionist: Only the fittest chickens survive crossing the road. Creationist: God created the chicken on the other side of the road. There is no proof it ever was on this side.
NocturnDragon is offline   Reply With Quote
Old 17-Jun-2008, 16:21   #15
Karoshi
Member
 
Join Date: Aug 2005
Location: Mars
Posts: 162
Default

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.
Karoshi is offline   Reply With Quote
Old 17-Jun-2008, 16:39   #16
nAo
Nutella Nutellae
 
Join Date: Feb 2002
Location: San Francisco, CA
Posts: 4,210
Default

DX11 compute shaders are similar to CUDA..
__________________
[my blog]
Isn't it enough to see that a garden is beautiful without having to believe that there are fairies at the bottom of it too? [Douglas Adams]
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way
nAo is offline   Reply With Quote
Old 17-Jun-2008, 17:21   #17
darkblu
Senior Member
 
Join Date: Feb 2002
Posts: 2,484
Default

so when you try to do a software rasterizer on opencl will the universe implode into a violent singularity?
darkblu is offline   Reply With Quote
Old 18-Jun-2008, 05:09   #18
iwod
Member
 
Join Date: Jun 2004
Posts: 120
Default

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.
iwod is offline   Reply With Quote
Old 18-Jun-2008, 06:11   #19
randomhack
Junior Member
 
Join Date: Apr 2008
Posts: 41
Default

Maybe they are including OpenCL or something related in OpenGL 3 and maybe thats why its taking so much time?
randomhack is offline   Reply With Quote
Old 18-Jun-2008, 08:05   #20
NocturnDragon
Member
 
Join Date: Feb 2002
Posts: 392
Default

Quote:
Originally Posted by iwod View Post
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.
They who?
I don't think it's the OpenGL and OpenCL groups are the same.
And btw OpenAL is not a Khronos standard.
__________________
NocturnDragon
Q :Why did the chicken cross the road? Evolutionist: Pure chance. Evolutionist: Only the fittest chickens survive crossing the road. Creationist: God created the chicken on the other side of the road. There is no proof it ever was on this side.
NocturnDragon is offline   Reply With Quote
Old 18-Jun-2008, 09:39   #21
iwod
Member
 
Join Date: Jun 2004
Posts: 120
Default

Just wondering what are the chances of using OpenCL on Intel X4500?
iwod is offline   Reply With Quote
Old 24-Jun-2008, 22:00   #22
randomhack
Junior Member
 
Join Date: Apr 2008
Posts: 41
Default

I have to wonder whether Intel is supporting OpenCL on Larrabee. If claims of Intel that Larrabee is much more programmable than current cores is correct, they shouldnt have much of a problem in supporting any standard.
I am also wondering if Apple will be using Larrabee? Are Snow Leopard and Larrabee scheduled in the same time frame?
randomhack is offline   Reply With Quote
Old 24-Jun-2008, 22:01   #23
trinibwoy
Meh
 
Join Date: Mar 2004
Location: New York
Posts: 8,509
Default

Quote:
Originally Posted by nAo View Post
DX11 compute shaders are similar to CUDA..
In what respect? Do the structures map well to the Grid -> Block -> Warp -> Thread CUDA hierarchy?
trinibwoy is offline   Reply With Quote
Old 24-Jun-2008, 23:35   #24
TimothyFarrar
Member
 
Join Date: Nov 2007
Location: Santa Clara, CA
Posts: 427
Default

Quote:
Originally Posted by trinibwoy View Post
In what respect? Do the structures map well to the Grid -> Block -> Warp -> Thread CUDA hierarchy?
Or a better question is how exactly they are making the functionality portable without hindering performance. CUDA performance is all about fetching aligned full memory bus granularity blocks into "shared memory" and then allowing the SIMD units to do swizzled fetches from that shared pool. Kind of hard to see this porting well to AMD chips..
__________________
Timothy Farrar :: blog
TimothyFarrar is offline   Reply With Quote
Old 25-Jun-2008, 00:15   #25
nAo
Nutella Nutellae
 
Join Date: Feb 2002
Location: San Francisco, CA
Posts: 4,210
Default

Quote:
Originally Posted by trinibwoy View Post
In what respect? Do the structures map well to the Grid -> Block -> Warp -> Thread CUDA hierarchy?
That's an abstraction that would hardly work on a wide range or architectures.
Compute shaders should be an opportunity to refine CUDA and get it a bit more right (who cares about number of warps/blocks/grids/wavefront/whatever..)
__________________
[my blog]
Isn't it enough to see that a garden is beautiful without having to believe that there are fairies at the bottom of it too? [Douglas Adams]
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way
nAo is offline   Reply With Quote

Reply

Bookmarks

Tags
hpc, physics

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:23.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.