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 20:00:24 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: bf-opencl fails self-test on CPU

On 2012-08-12 19:45, magnum 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

So, I upgraded it to latest:

Platform #1 name: AMD Accelerated Parallel Processing
Platform version: OpenCL 1.2 AMD-APP (923.1)
	Device #0 name:		Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
	Device vendor:		GenuineIntel
	Device type:		CPU (LE)
	Device version:		OpenCL 1.2 AMD-APP (923.1)
	Driver version:		2.0 (sse2)
	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

..and now it fails on my laptop too :-/

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]... FAILED (get_hash[0](0))


This might be a bug in AMD APP.

magnum

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.