Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 12 Aug 2012 23:28:05 +0530
From: Sayantan Datta <std2048@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: bf-opencl fails self-test on CPU

On Sun, Aug 12, 2012 at 11:15 PM, magnum <john.magnum@...hmail.com> wrote:

> On 2012-08-11 14:34, magnum wrote:
> > On 2012-08-11 09:42, Sayantan Datta wrote:
> >> On Sat, Aug 11, 2012 at 8:17 AM, Solar Designer <solar@...nwall.com>
> wrote:
> >>> Any idea why bf-opencl fails self-test on CPU (with AMD's SDK)?  Will
> it
> >>> succeed with some other settings in opencl_bf_std.h maybe?
> >
> > FWIW it works fine on my laptop, using Intel's SDK.
> >
> > magnum@...ge:~/src/john/src [1.7.9-jumbo-6-fixes]$ ../run/john -t
> > -fo:bf-opencl
> > OpenCL platform 0: Intel(R) OpenCL, 1 device(s).
> > Using device 0: Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
> > ****Please see 'opencl_bf_std.h' for device specific optimizations****
> > Benchmarking: OpenBSD Blowfish (x32) [OpenCL]... DONE
> > Raw:  595 c/s real, 315 c/s virtual
>
> I just realised I have AMD SDK installed too %-)
>
> Platform #1 name: AMD Accelerated Parallel Processing
> Platform version: OpenCL 1.1 AMD-APP (831.4)
>         Device #0 name:         Intel(R) Core(TM)2 Duo CPU     P8600  @
> 2.40GHz
>         Device vendor:          GenuineIntel
>         Device type:            CPU (LE)
>         Device version:         OpenCL 1.1 AMD-APP (831.4)
>         Driver version:         2.0
>         Global Memory:          3846 MB
>         Global Memory Cache:    32 KB
>         Local Memory:           32 KB (Global)
>         Max clock (MHz) :       2401
>         Max Work Group Size:    1024
>         Parallel compute cores: 2
>
> This is the one only supporting CPU. I have no problems running
> bf-opencl with it (and it is faster than on Intel's SDK):
>
> magnum@...ge:~/src/john/src [1.7.9-jumbo-6-fixes]$ ../run/john -plat=1
> -t -fo:bf-opencl
> OpenCL platform 1: AMD Accelerated Parallel Processing, 1 device(s).
> Using device 0: Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
> ****Please see 'opencl_bf_std.h' for device specific optimizations****
> Benchmarking: OpenBSD Blowfish (x32) [OpenCL]... DONE
> Raw:    638 c/s real, 323 c/s virtual
>
> Bull has this:
>
> Platform #1 name: AMD Accelerated Parallel Processing
> Platform version: OpenCL 1.2 AMD-APP (923.1)
>         Device #1 name:         AMD FX(tm)-8120 Eight-Core Processor
>
>         Device vendor:          AuthenticAMD
>         Device type:            CPU (LE)
>         Device version:         OpenCL 1.2 AMD-APP (923.1)
>         Driver version:         2.0 (sse2,avx,fma4)
>         Global Memory:          7966 MB
>         Global Memory Cache:    16 KB
>         Local Memory:           32 KB (Global)
>         Max clock (MHz) :       1400
>         Max Work Group Size:    1024
>         Parallel compute cores: 8
>
> I too get the self-test fail on bull:
> magnum@...l:src [1.7.9-jumbo-6-fixes]$ ../run/john -t -pla=1 -dev=1
> -fo:bf-opencl
> OpenCL platform 1: AMD Accelerated Parallel Processing, 2 device(s).
> Using device 1: AMD FX(tm)-8120 Eight-Core Processor
> ****Please see 'opencl_bf_std.h' for device specific optimizations****
> Benchmarking: OpenBSD Blowfish (x32) [OpenCL]... FAILED (get_hash[0](0))
>
> magnum
>

With Intel SDK bf-opencl passed the self test on i5 2500k with 1450c/s .
However it fails with AMD SDK on same machine. Probably its not a very good
idea but still I was wondering if we could we use the Intel SDK for AMD
cpu's too.

Regards,
Sayantan

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.