|
Message-ID: <8a1e450adba089b74d9d21047dd6644d@smtp.hushmail.com> Date: Tue, 9 Oct 2012 00:06:23 +0200 From: magnum <john.magnum@...hmail.com> To: john-dev@...ts.openwall.com Subject: Re: Memory leak in most OpenCL formats On 8 Oct, 2012, at 23:35 , Claudio André <claudioandre.br@...il.com> wrote: > Em 08-10-2012 18:01, magnum escreveu: >> Claudio, this second fix removes the memory leak for your sha2crypt formats too, but they still are somewhat broken since you implemented split kernels, as the shared function can only handle one event and in your case that is currently clEnqueueReadBuffer()... nothing else is measured! > > Agree. I will revert to the previous find_best_workgroup approach! You might be able to get away with just this: Change all "profilingEvent" to "NULL" except the two ones (per format) that enqueue crypt_kernel. This will measure the most important kernel so it might do the trick. I just tried it and it seems to work fine. 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.