|
Message-ID: <03a22786009cd6b53cb9b622fef5bfd1@smtp.hushmail.com> Date: Mon, 14 Jan 2013 23:17:01 +0100 From: magnum <john.magnum@...hmail.com> To: john-dev@...ts.openwall.com Cc: Lukas Odzioba <lukas.odzioba@...il.com> Subject: Re: Changes to common-opencl.c On 14 Jan, 2013, at 22:10 , Claudio André <claudioandre.br@...il.com> wrote: > I created a fake multi-gpu format to test this. Examples: > Device 0 - GPU > Device 1 - CPU > > Running it, you can see if: > ../run/john -fo:sha256crypt-ng-opencl -t --devices=gpu #Only GPU > ../run/john -fo:sha256crypt-ng-opencl -t --devices=cpu #Only CPU > ../run/john -fo:sha256crypt-ng-opencl -t --devices=gpu,0 #Only GPU > ../run/john -fo:sha256crypt-ng-opencl -t --devices=cpu,1 #Only CPU > ../run/john -fo:sha256crypt-ng-opencl -t --devices=gpu,3 #Only GPU + error > ../run/john -fo:sha256crypt-ng-opencl -t --devices=cpu,3 #Only CPU + error > ../run/john -fo:sha256crypt-ng-opencl -t --devices=gpu,1 #Both CPU and GPU > ../run/john -fo:sha256crypt-ng-opencl -t --devices=cpu,0 #Both CPU and GPU > ../run/john -fo:sha256crypt-ng-opencl -t --devices=all #Everything > ../run/john -fo:sha256crypt-ng-opencl -t --devices=all,3 #Everything + error Cool. I think Sayantan's format should be able to try this now. > > Using bull: > $ ../run/john -fo:sha256crypt-ng-opencl -t --devices=cpu,gpu > Device 2: AMD FX(tm)-8120 Eight-Core Processor > Device 0: GeForce GTX 570 > Device 1: Tahiti (AMD Radeon HD 7900 Series) > Local worksize (LWS) 1, global worksize (GWS) 1024 > Benchmarking: sha256crypt (rounds=5000) [OpenCL]... DONE > Raw: 1543 c/s real, 194 c/s virtual > > - This ng format compile for all selected devices, but uses only the first one in crypt-all (it is not real multi-gpu). I'll try and test it on various odd systems I can get my hands on. Lukas, do you understand why https://github.com/magnumripper/JohnTheRipper/commit/833fbcd87dfa142505d0677ae91d54baec9f88e7 does not work? When I try to build it, I get ../formats.h(206): error: expected an identifier 1 error detected in the compilation of "/tmp/tmpxft_0000c4fa_00000000-4_cuda_common.cpp1.ii". make[1]: *** [cuda_common.o] Error 2 make: *** [macosx-x86-64-gpu] Error 2 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.