Date: Tue, 30 Oct 2012 22:18:40 +0100 From: magnum <john.magnum@...hmail.com> To: john-dev@...ts.openwall.com Subject: Re: mscash2-opencl problems with GT650M On 10/30/12 22:09, magnum wrote: > Sayantan, > > On some weaker cards (GT650M for one) I get this from mscash2-opencl: > > OpenCL error (UNKNOWN ERROR :() in file (common_opencl_pbkdf2.c) at line > (313) - (SYNC FAILED) > > That's not really a good error message. After some looks at the code I > came up with this patch (not applied to git yet): I forgot to mention that I *did* apply another patch, for seeing the actual error on that SYNC FAILED occasion: diff --git a/src/common_opencl_pbkdf2.c b/src/common_opencl_pbkdf2.c index c2c17e7..aa43382 100644 --- a/src/common_opencl_pbkdf2.c +++ b/src/common_opencl_pbkdf2.c @@ -310,7 +310,7 @@ static gpu_mem_buffer exec_pbkdf2(cl_uint *pass_api,cl_uint *salt_api,cl_uint sa cl_ulong startTime, endTime; - HANDLE_CLERROR(CL_SUCCESS!=clWaitForEvents(1,&evnt),"SYNC FAILED"); + HANDLE_CLERROR(clWaitForEvents(1,&evnt),"SYNC FAILED"); HANDLE_CLERROR(clFinish(cmdq[platform_no][dev_no]), "clFinish error"); I believe this is correct. 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.