Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 26 Sep 2012 09:21:48 +0530
From: Sayantan Datta <>
Subject: Re: bitslice DES on GPU

On Wed, Sep 26, 2012 at 1:07 AM, magnum <> wrote:

> On 25 Sep, 2012, at 13:43 , Sayantan Datta <> wrote:
> > I've a patch that should allow 10% increase in non-overhead speed.
> However it is using byte addressable store. Do i post two kernels? Is there
> a way to detect 4xxx series gpus in the kernel?
> >
> > Regards,
> > Sayantan
> Claudio has added a bunch of helper functions to common-opencl.c that is
> probably just what you need. I don't know the details but you'll probably
> get the idea if you have a look (also check out the new
> opencl_device_info.h that can be included by kernels).
> There are also functions for detecting CPU vs GPU, AMD vs nvidia, amount
> of local memory and a lot of other stuff.
> magnum

Hi magnum,

 I saw the macro "no_byte_addressable(n)" in opencl_device_info.h. Do you
know what should be the argument ?  I mean if I were to use this macro in a
#if statement then the argument must be a compile time constant, right?


Content of type "text/html" skipped

Powered by blists - more mailing lists

Your e-mail address:

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