Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120623210807.GA1276@openwall.com>
Date: Sun, 24 Jun 2012 01:08:07 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: xsha512-opencl, raw-sha512-opencl on HD 7970 (was: Myrice: Weekly Report #3)

myrice -

This is a reminder that the problem mentioned below is still present.
Yet raw-sha512-opencl passes self-test fine (but is slow).

On Tue, May 01, 2012 at 04:29:12AM +0400, Solar Designer wrote:
> Can you please add the following tasks to the above list? -
> 
> 4. Get xsha512-opencl to work on the HD 7970 in bull.  Currently, the
> version in magnum-jumbo fails as follows:
> 
> user@...l:~/john/magnum-jumbo/src$ ../run/john -te -fo=xsha512-opencl -pla=1
> OpenCL platform 1: AMD Accelerated Parallel Processing, 2 device(s).
> Using device 0: Tahiti
> Compilation log: LOOP UNROLL: pragma unroll (line 174)
>     Unrolled as requested!
> LOOP UNROLL: pragma unroll (line 179)
>     Unrolled as requested!
> LOOP UNROLL: pragma unroll (line 194)
>     Unrolled as requested!
> 
> Local work size = 256
> Global work size = 2097152
> Benchmarking: Mac OS X 10.7+ salted SHA-512 [OpenCL]... FAILED (get_hash[0](0))
> 
> It works on GTX 570 and on CPU fine. :-)  In fact, on CPU it is only
> slightly slower than the OpenSSL/OpenMP code, which is impressive.

$ ./john -te -fo=xsha512-opencl -pla=1
OpenCL platform 1: AMD Accelerated Parallel Processing, 2 device(s).
Using device 0: Tahiti
Compilation log: LOOP UNROLL: pragma unroll (line 163)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 168)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 183)
    Unrolled as requested!

Optimal Group work Size = 256
Global work size = 2097152
Benchmarking: Mac OS X 10.7+ salted SHA-512 [OpenCL]... FAILED (get_hash[0](0))

$ ./john -te -fo=raw-sha512-opencl -pla=1
OpenCL platform 1: AMD Accelerated Parallel Processing, 2 device(s).
Using device 0: Tahiti
Compilation log: LOOP UNROLL: pragma unroll (line 163)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 168)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 183)
    Unrolled as requested!

Optimal Group work Size = 128
Global work size = 524288
Benchmarking: Raw SHA-512 [OpenCL]... DONE
Raw:    17854K c/s real, 29756K c/s virtual

Alexander

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.