Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1a11fa55.7ce26c27.51dba049.89bc9@o2.pl>
Date: Tue, 09 Jul 2013 07:31:53 +0200
From: marcus.desto <marcus.desto@...pl>
To: john-dev@...ts.openwall.com
Subject: Re: String pass to GPU and get back


> 8 July 2013 00:36 magnum <john.magnum@...hmail.com>:
> > Just looking at your code I think you miss an enqueueReadBuffer() of bufferA before running the kernel.
> 
> Obviously I meant enqueueWriteBuffer
> 
> magnum
> 

You are right.

queue.enqueueWriteBuffer(bufferA, CL_TRUE, 0, bufferA_size * sizeof(cl_uchar), password);

was missing, but without it the result was still somehow correct. I am wondering.

Marcus

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.