Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 31 Dec 2013 23:52:30 +0500
From: Muhammad Junaid Muzammil <mjunaidmuzammil@...il.com>
To: "john-dev@...ts.openwall.com" <john-dev@...ts.openwall.com>
Subject: Re: CUDA multi-device support (was: John-dev over GPUs)

Sure I'll commit it to the git repo in a couple of days.

Junaid.

On Monday, December 30, 2013, magnum wrote:

> On 2013-12-29 16:52, Muhammad Junaid Muzammil wrote:
>
>> Hello,
>>
>> I have added multi CUDA device option parsing
>>
>
> That sounds excellent! Is your code available somewhere yet? Or could you
> post a patch? I prefer pull requests on GitHub but a patch posted here is
> fine too, especially if it's not your final cut but more of a RFC.
>
>  to option.c and cu_common.h.
>>
>
> We might eventually want to move some of it from options.c to
> common-cuda.c for various reasons but that is not a problem. Please post
> your current code for review. Don't forget licensing:
> http://openwall.info/wiki/john/licensing
>
>  Currently, I am parsing at most 2 CUDA devices.
>>
>
> For OpenCL we have a macro MAXGPUS in common-opencl.h, I think it would be
> nice if you do something similar - in case you didn't already - eg. define
> MAX_CUDA_DEVICES in cuda_common.h. Perhaps we should default to 8 like
> OpenCL does.
>
>  I haven't written the test cases for this functionality yet. I couldn't
>> find any documentation pertaining to unit tests. Is there any such
>> documentation?
>>
>
> For the Test Suite? Unfortunately there's not much docs, if any. And the
> TS mostly just tests formats right now, not things like modes, node/fork or
> multiple GPUs. It would be nice to add stuff like that but there's a lot of
> planning and decisions needed.
>
> However, there is a pass-through option in TS which just passes options on
> to john, so you can run a test like this:
>
> cd test
> ./jtrts.pl pwsafe-cuda -passthru="-dev=0,1"
>
> magnum
>
>

[ CONTENT OF TYPE text/html SKIPPED ]

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ