|
Message-ID: <50740EF5.80001@gmail.com> Date: Tue, 09 Oct 2012 08:48:05 -0300 From: Claudio André <claudioandre.br@...il.com> To: john-dev@...ts.openwall.com Subject: Re: Memory leak in most OpenCL formats Em 08-10-2012 19:06, magnum escreveu: > 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. Good strategy. I will try it. Claudio
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.