[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 580: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 636: sizeof(): Parameter must be an array or an object that implements Countable
3.14.by forum • OpenCL news
Page 1 of 1

OpenCL news

Posted: Tue Sep 29, 2009 12:04 pm
by BarsMonster
It appeared that yesterday nVidia released OpenCL support for GPU, I am trying it now.
AMD promises that later this year.
Let's take a look at BarsWF performance with OpenCL :-) Hope I'll need to write everything just once :-) (Meanwhile latest AMD's StreamSDK didn't worked with Windows7 :sad:)

Re: OpenCL news

Posted: Tue Sep 29, 2009 12:16 pm
by Corni
Do you know if there's a (substantial) speed difference between cuda and opencl for nvidia cards?

Re: OpenCL news

Posted: Tue Sep 29, 2009 12:21 pm
by BarsMonster
Corni wrote:Do you know if there's a (substantial) speed difference between cuda and opencl for nvidia cards?
I don't know, but downloading SDK and drivers right now, so I hope I will know today :-)

Re: OpenCL news

Posted: Tue Sep 29, 2009 1:54 pm
by BarsMonster
Love W7 :-)
I have both AMD & nVidia cards installed. Monitor connected to AMD 4870, I've extended desktop to my 8400GS although have no monitor attached.
Now I can have both AMD & nVidia working at the same time :crazy:
No more hassle switching cards :crazy:

Image

Re: OpenCL news

Posted: Tue Sep 29, 2009 3:16 pm
by DarkPrince
Hmm, I know that we have a real Windows 7 release CD at my school. Maybe I should ask for it so I can get win7 :o

Re: OpenCL news

Posted: Tue Sep 29, 2009 6:58 pm
by IvanG
Haven't tried nVidia's OpenCL by my own but have read that it's slower than CUDA. Not a surprise actually, compatibility costs some resources.

As for ATI's OpenCL I have serious doubts that it'll available any time soon. Also chances quite high than only OpenCL compatible GPUs will be HD5800s.

Shortly, I don't feel that OpenCL is ready to use -- for nVidia CUDA is already working perfectly while ATI going in very weird directions when coming to software.

But I'm curious to try OpenCL BarsWF :).

Re: OpenCL news

Posted: Wed Sep 30, 2009 8:44 pm
by BarsMonster
Here are the numbers:
CUDA: 26.73 MHash/sec
OpenCL: 25.38 MHash/sec (most of stuff is hardcoded, so actually it should be a bit slower)

Re: OpenCL news

Posted: Wed Sep 30, 2009 9:38 pm
by D3ad0ne
So does this mean that programmers can start programming for OpenCL and it will be supported by anything that supports OpenCL? Both ATI(once they support it) and Nvidia without rewriting the code?

Re: OpenCL news

Posted: Wed Sep 30, 2009 9:51 pm
by BarsMonster
D3ad0ne wrote:So does this mean that programmers can start programming for OpenCL and it will be supported by anything that supports OpenCL? Both ATI(once they support it) and Nvidia without rewriting the code?
Yes. There still might be some minor differences between platforms(i.e. you still should think about optimal thread count for each platform e.t.c), and CPU implementation might be not fast enough (vs good SSE2 code).

Personally, I guess I am going to stick with CUDA for some 0.5 years to get mature OpenCL (better optimization, less issues, good CPU implementation), and then will work with OpenCL only.

Re: OpenCL news

Posted: Thu Oct 01, 2009 7:29 am
by IvanG
BarsMonster wrote:Here are the numbers:
CUDA: 26.73 MHash/sec
OpenCL: 25.38 MHash/sec (most of stuff is hardcoded, so actually it should be a bit slower)
Nice. I was more pessimistic about OpenCL :).

Now only need to wait for ATI move.

Re: OpenCL news

Posted: Tue Oct 13, 2009 7:45 pm
by IvanG
ATI finally released OpenCL for GPUs ;).

Re: OpenCL news

Posted: Wed Oct 14, 2009 7:32 am
by BarsMonster
budden wrote:
IvanG wrote:ATI finally released OpenCL for GPUs ;).
So what this means for IGHASHGPU? Is there a chance, that hashcracking will utilize more than 78% of theoretic speed with ease?
OpenCL was never faster than native code... So, personally I doubt :-)

Re: OpenCL news

Posted: Wed Oct 14, 2009 9:26 am
by IvanG
Yes, it's very unlikely that OpenCL code will be better than CAL/IL code. There was Brook+ built on CAL/IL layer, now Brook+ replaced by OpenCL but it's still built on CAL/IL layer.
It's like for CPUs -- we can write in asm (CAL/IL) or use C (OpenCL). If we're good in asm then asm code will always be better than C code. But writing in C is just easier than writing in asm.

So I'm planning to migrate to OpenCL (to avoid unnecessary work with CAL/IL and potentially to write only one kernel for both nVidia & ATI GPUs) but performance won't change in better way unless algorithm will change in better way.