Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 22 Dec 2012 16:44:48 -0200
From: Claudio André <claudioandre.br@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: Varous experimental OpenCL commits

Em 22-12-2012 15:29, Sayantan Datta escreveu:
>
>       void crypt_all(int count)
>       {
>             enqueue(Transfer);
>             enqueue(RarInitKernel);
>             for (i=0; i<HASH_LOOPS; i++)
>             {
>                     enqueue(RarLoopKernel);
>     +               clFinish();
>     +               opencl_process_event();
>             }
>             enqueue(RarFinalKernel);
>
>
> Is it necessary to include clFinish() inside the loop to ensure proper 
> functioning of opencl_process_event() ?

Yes. Otherwise the the result is not going to be the one expected.

Claudio

Content of type "text/html" skipped

Powered by blists - more mailing lists

Your e-mail address:

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