Follow @Openwall on Twitter for new release announcements and other news
[<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

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.