|
|
Message-ID: <4FAFE4DE.1050006@linuxasylum.net>
Date: Sun, 13 May 2012 18:44:14 +0200
From: Samuele Giovanni Tonon <samu@...uxasylum.net>
To: john-dev@...ts.openwall.com
Subject: Re: OpenCL SWAP64 on 7970
On 05/12/12 19:41, myrice wrote:
> On Fri, May 11, 2012 at 11:30 PM, Samuele Giovanni Tonon
> <samu@...uxasylum.net> wrote:
>> maybe i'm totally wrong but have you tried wzyx notation or - better -
>> variable.s76543210 ?
>
> I haven't used it. I think it is belong to later optimization? or you
> mean I can use uchar8 instead of ulong to avoid bitwise operation
> problem?
i've just tried the .s7654... notation and apparently it's not working
tough .xyzw notation works with no problem, i'll try to investigate if
it's a matter of opencl libraries or something else.
btw i changed a bit your printf
if(offset == 1)
printf("In kernel: %x %x\n",a, SWAP64(a));
}
and i get:
../run/john -te=1 -fo=xsha512-opencl
OpenCL platform 0: AMD Accelerated Parallel Processing, 2 device(s).
Using device 0: Cayman
Compilation log: "/tmp/OCLZ5TZOq.cl", line 216: warning: argument of type
"const __constant char *" is incompatible with parameter of type
"__constant char *"
printf("In kernel: %x %x\n",a, SWAP64(a));
In kernel: 6a09e667f3bcc908 8c9bcf367e6096a
In kernel: 6a09e667f3bcc908 8c9bcf367e6096a
In kernel: 6a09e667f3bcc908 8c9bcf367e6096a
[...]
Optimal Group work Size = 256
Global work size = 1024
Benchmarking: Mac OS X 10.7+ salted SHA-512 [OpenCL]... In kernel:
6a09e667f3bcc908 8c9bcf367e6096a
get_hash_0: 8c9bcf367e6096a
FAILED (get_hash[0](0))
hope it can help you.
btw i'm using fglrx 12-4-1 (debian)
Device OpenCL C version: OpenCL C 1.2
Cheers
Samuele
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.