Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Your e-mail address:

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