Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 14 Apr 2012 23:13:41 +0800
From: myrice <>
Subject: Xsha512 OpenCL Code

Hi, all

I just implement XSHA512 on OpenCL. It is already in myrice-JtR of my
Here are benchmark on GTX580:

Benchmarking: Mac OS X 10.7+ salted SHA-512 [OpenCL]... DONE
Many salts:     52937K c/s real, 49569K c/s virtual
Only one salt:  24197K c/s real, 22469K c/s virtual

And my G9600MGS:
Benchmarking: Mac OS X 10.7+ salted SHA-512 [OpenCL]... DONE
Many salts: 1395K c/s real, 1381K c/s virtual
Only one salt: 1330K c/s real, 1317K c/s virtual

In G9600MGS, it performs better than cuda code. Amazing!

At this moment, I haven't implemented cmp_all on GPU. Hopefully add it in
next few days.

Besides, though there is find_best_workgroup in opencl_xsha512_fmt.c, I
don't use it. Since the max_group_size is too large(512 for G9600MGS, 1024
for GTX580). There is always a CL_OUT_OF_RESOURCES error. I fix
it(local_work_size) to 128 on 9600 and 512 on GTX580.

Please notice that if you want to change local_work_size(I use THREADS in
top of opencl_xsha512_fmt.c and, you should both change
the defination in both opencl_xsha512_fmt.c and I will
solve it by pass a parameter to the OpenCL code in next commit.

Dongdong Li

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.