Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 29 May 2012 01:40:42 +0200
From: Frank Dittrich <>
Subject: Re: GPU options

On 05/29/2012 01:18 AM, magnum wrote:
> On 05/29/2012 12:58 AM, Lukas Odzioba wrote:
>> 2012/5/29 magnum <>:
>>> On 05/29/2012 12:40 AM, Lukas Odzioba wrote:
>>>> 2012/5/29 magnum <>:
>>>>> Not sure what you mean with earlier, but --device=list or
>>>>> --platform=list will call that.
>>>> Thank you, I couldn't find it in ./john output:
>>>> --platform=N (or =LIST)   set OpenCL platform, default 0
>>>> --device=N                set OpenCL device, default 0
>>>> I thought that LIST means sth like 1,2 isn't it misleading for user?
>>>> Just asking.
>>> I just mimiced existing options, like --subformat=LIST. But hey, you
>>> have a point: If/when we are going to support multiple devices it could
>>> be given as eg. --device=0,1.
>> This looks natural, I like it.
> Yes... but I now realize it wont suffice. In most cases you'd run a
> couple of same-model GPU's and they would probably be platform 0,
> devices 0 and 1. But on Bull, the Nvidia is platform 0, device 0 and the
> 7970 is platform 1, device 0. That would mean --platform=0,1 and
> --device=0 and it starts to get vague... and on some system we might
> want to run (platform,device) 0,1 and 1,0. I'm not sure how to
> accommodate that. Ideally we should come up with a better syntax for all
> of this before the Jumbo release.

What about dropping --platform, and using just --device?
--device=0:0,1 (devices 0 and 1 of OpenCL platform 0)
--device=1 (all devices of OpenCL platform 1? or all devices with ID 1
on all OpenCL platforms? Or CUDA device with ID 1?)
--device=0:0/1:0 (device 0 of OpenCL platform 0 and device 0 of OpenCL
platform 1)
--device=0:0-2 (devices 0, 1, 2 of OpenCL platform 0)

--device=LIST (List all platforms/devices)

Then we would need to point to the documentation from the usage output.

--device=[P:D|???|LIST] (set/list GPU platforms/devices, see doc/???)


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.