Page 1 of 3

OpenCL plans & details

PostPosted: Wed Jul 20, 2011 1:06 am
by Bitweasil
Alright, I think I've worked out what I'm doing with OpenCL.

For those familiar with Atom of oclHashcat, I'm going to do pretty much exactly the same thing. :D

The nVidia OpenCL implementation, right now, is a giant pain in the ass & generally glitchy. Oh, and did I mention a giant pain in the ass?

However, the AMD/ATI OpenCL implementation is pretty solid (GPU + CPU), and the Intel OpenCL (CPU only for now) implementation seems solid.

So, I'll pull an atom & release the nVidia version as CUDA, and the ATI/CPU version as OpenCL. The really good news is that the bulk of the code doesn't change - much of my code works identically between the CUDA & OpenCL versions. I don't think I'll go as far as ifdef'ing everything in the same files, but I'll probably have a combined source tree for both.

The downside of this is that doing multi-device work (GPU + CPU on the same box) for cracking will be difficult. I suppose I'll just add network support so you can run multiple clients... :)

I'm hoping to have an OpenCL toolchain done in the next few weeks. The generate is done for MD5/NTLM, so now it's just the tricky bits...

Thoughts?

Re: OpenCL plans & details

PostPosted: Fri Jul 22, 2011 8:51 pm
by Rolf
Good choice, as NV will never ever ever make OpenCL better than it's CUDA.

Re: OpenCL plans & details

PostPosted: Sun Jul 24, 2011 5:09 pm
by Bitweasil
I think I even got my BFI_INT patching working properly! :D

Re: OpenCL plans & details

PostPosted: Mon Aug 01, 2011 1:42 pm
by Byte/\Puker
Hi Bitweasel,
I'm very interested in your OpenCL version of the GRT. Maybe I can help you in testing.
I have two computers one with an ATI HD5770 and the other with an ATI HD6970.

Re: OpenCL plans & details

PostPosted: Mon Aug 01, 2011 2:07 pm
by Bitweasil
Byte/\Puker wrote:Hi Bitweasel,
I'm very interested in your OpenCL version of the GRT. Maybe I can help you in testing.
I have two computers one with an ATI HD5770 and the other with an ATI HD6970.


I'll let you know when I have a beta out. What OS are you running? Linux, or Windows? The code is Linux only right now, but I'll be fixing that at some point.

I am hoping to have time to work on it this week :)

Re: OpenCL plans & details

PostPosted: Mon Aug 01, 2011 2:24 pm
by Byte/\Puker
Bitweasil wrote:
Byte/\Puker wrote:Hi Bitweasel,
I'm very interested in your OpenCL version of the GRT. Maybe I can help you in testing.
I have two computers one with an ATI HD5770 and the other with an ATI HD6970.


I'll let you know when I have a beta out. What OS are you running? Linux, or Windows? The code is Linux only right now, but I'll be fixing that at some point.

I am hoping to have time to work on it this week :)


Sry Windows 7 64 bit but I could install Linux 64 bit on one machine.
Is this version in C++ ?

Re: OpenCL plans & details

PostPosted: Mon Aug 01, 2011 2:33 pm
by Bitweasil
Yes, the OpenCL stuff is C++ as well. So if you're good to compile on Windows, go for it.

I'll see about doing some Windows OpenCL builds & see how difficult it is.

Re: OpenCL plans & details

PostPosted: Mon Aug 01, 2011 2:42 pm
by Byte/\Puker
Bitweasil wrote:Yes, the OpenCL stuff is C++ as well. So if you're good to compile on Windows, go for it.

I'll see about doing some Windows OpenCL builds & see how difficult it is.


Ok I'll try my best. :D
But I'm not skilled in C++ I'm still learning basics in C++. ;)
But I think it would be the best to learn something about C++ and OpenCL :)

Re: OpenCL plans & details

PostPosted: Wed Aug 24, 2011 2:54 pm
by Byte/\Puker
Hi Bitweasil

something new about the ATI support?

Re: OpenCL plans & details

PostPosted: Wed Aug 24, 2011 4:58 pm
by Bitweasil
Still working on it.

I could probably throw out the generate beta to let people play with. The cracking tool is still a work in progress - I hope to finish it this weekend and next week. Fighting with some OpenCL implementation problems...