|
Message-ID: <BLU0-SMTP12483F5FFB12A6046D25646FD2F0@phx.gbl> Date: Sun, 13 Jan 2013 13:29:41 +0100 From: Frank Dittrich <frank_dittrich@...mail.com> To: john-dev@...ts.openwall.com Subject: Re: Changes to common-opencl.c On 01/13/2013 03:42 AM, magnum wrote: > On 13 Jan, 2013, at 3:32 , Lukas Odzioba <lukas.odzioba@...il.com> wrote: >> 2013/1/13 Claudio André <claudioandre.br@...il.com>: >>> - now it is possible to have --platform=1 --device=0 or --devices=1,2,3. >>> But, in such a case there are three variables keeping the 'same information' >>> inside formats. device_id, platform_id and ocl_gpu_id (the sequential >>> number). >> >> --devices=1,2,3 seems to be not implemented yet in your patch, or at >> least I don't see it. >> Maybe we could do something like --devices=all - I think that was magnum's idea. > > Simply change the existing --device option to --devices and with John's normal way of allowing abbreviations, --device will still work as well :-) > > Then of course there's some parsing to do. With VCL (which is awesome) in mind, I think support for all these forms will be appreciated: > > --device=3 > > --devices=1,2,5 > > --devices=3-5 > > --devices=gpus > > --devices=cpus > > --devices=all If you intend to include this 1.7.9-jumbo-8, keep in mind that I might need to adjust john.bash-completion, once the new logic is fixed. (It probably a trivial change, but may be you need to help me testing it.) Frank
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.