|
|
Message-ID: <5963f87465b01b8d20092ff961aad2d4@smtp.hushmail.com>
Date: Sat, 14 Apr 2012 13:26:12 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Find best LWS in OpenCL formats
On 04/14/2012 02:05 AM, Lukas Odzioba wrote:
> Currently OpenCL LWS testing takes ages on gpu devices because testing
> starts from 1 thread goes up to maximum value for particular
> device/thread.
> I think we should change it to start from 32 for gpu's, it is simply
> not make sense use small values.
> For example for wpapsk this change affects much shorter -test run (46s
> reduced to 6s).
>
> ///Find best local work size
> my_work_group = 1;
> if(device_type==CL_DEVICE_TYPE_GPU) my_work_group=32;
> for (; (int) my_work_group <= (int) max_group_size;
> my_work_group *= 2) {
> (...)
>
Supporting custom LWS and KPC settings in environment variables or
john.conf would be very nice too and is easiy to accomplish. Look at
opencl_nsldaps_fmt.c and rar_fmt.c for examples.
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.