Date: Sun, 13 Jan 2013 03:42:17 +0100 From: magnum <john.magnum@...hmail.com> To: john-dev@...ts.openwall.com Subject: Re: Changes to common-opencl.c 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 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.