|
Message-ID: <50F2CB16.3090404@gmail.com> Date: Sun, 13 Jan 2013 12:56:22 -0200 From: Claudio André <claudioandre.br@...il.com> To: john-dev@...ts.openwall.com Subject: Re: Changes to common-opencl.c Em 13-01-2013 00:42, magnum escreveu: > 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. No it is not there. > > 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 All this is possible when --devices is done (the parsing stuff is the 'challenge here'). Claudio
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.