Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 21 Aug 2012 20:30:06 +0200
From: magnum <>
Subject: Re: OpenCL optimization trick for md*

On 2012-08-21 18:51, Alain Espinosa wrote:
> Hi. Share some small OpenCL optimization i will use in next Hash Suite.

Thanks! These are already in place in some of the formats, and often
ifdef'ed like this (they harm nvidia performance, at least this one):

#ifdef cl_nv_pragma_unroll
#define NVIDIA
#ifdef NVIDIA
#define F(x,y,z)        (z ^ (x & (y ^ z)))
#define F(x,y,z)        bitselect(z, y, x)

But someone should check all formats. I tried variants like the below
for a quick check:

$ grep -H -n "&" opencl/*cl|sed 's/ //g'|grep '.^(.&(.^.)'

$ grep -H -n "&" opencl/*cl|sed 's/ //g'|grep '((.&(.|.))|(.&.))'


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.