Bitcoin Forum

Bitcoin => Mining => Topic started by: freeqaz on March 24, 2011, 12:03:23 PM



Title: CAL++ GPU Library?
Post by: freeqaz on March 24, 2011, 12:03:23 PM
Hey guys, I've been using Pyrit for a while (A GPU program) and for ATI cards there's a library called CAL++ that uses C++ kernel extensions to speed up the speed at which an ATI card can computer. This is up to 80% for the Radeon 5xx0 series. Was interested if you guys had heard anything about it applying to Bitcoin.

I don't know enough about OpenCL at this point to say much, but I know the syntax is similar between the two. Debating learning and porting it over to poclbm, since Pyrit is also Python.

Aloha,
-Free

P.S. If one BTC is 83cents, then the 5 hours it takes me to crunch data makes me very little?


Title: Re: CAL++ GPU Library?
Post by: rikur on March 24, 2011, 04:18:05 PM
I accidentally stumbled across CAL++ as well. Sounds like a sweet deal. Unfortunately, I couldn't easily build pyrit under windows so I have to give in with the idea for now. And I'm not familiar with C at all.

80% improvement sounds awesome and it just might work. Even a 10-20% improvement to hashing would be major. I think you could get quite a few donations for porting poclbm to use CAL++ instead of the OpenCL wrapper.

I hope someone will look this up !


Title: Re: CAL++ GPU Library?
Post by: niooron on March 24, 2011, 06:25:34 PM
AMD dropped CAL because it was a mess, this won't get anywhere.


Title: Re: CAL++ GPU Library?
Post by: freeqaz on March 24, 2011, 09:47:56 PM
I accidentally stumbled across CAL++ as well. Sounds like a sweet deal. Unfortunately, I couldn't easily build pyrit under windows so I have to give in with the idea for now. And I'm not familiar with C at all.

80% improvement sounds awesome and it just might work. Even a 10-20% improvement to hashing would be major. I think you could get quite a few donations for porting poclbm to use CAL++ instead of the OpenCL wrapper.

I hope someone will look this up !

I'll look more into this today, since you've actually heard something about it. Unfortunately, there is no support for CAL++ in Windows. People trying to get it to work in cygwin can get CPU stuff to work, but I haven't read anything about successful GPU. So this would be a Linux only thing.

As for AMD dropping CAL support, I couldn't find anything about that online. I searched and somebody mentioned it back in 2008, but they failed to produce any official support to their statement. If you could grab that information, that'd be awesome.

The good thing about CAL is that it supports Radeon 3xx0 series cards. That would be a big improvement for some people, because I have a spare laptop with a Mobility Radeon 3650. OpenCL doesn't work on these cards.


Title: Re: CAL++ GPU Library?
Post by: Beremat on March 24, 2011, 10:21:27 PM
Milkyway@home (http://milkyway.cs.rpi.edu/) used to run a CAL++ application. It seems that it's switched over to OpenCL since then.