Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 20 Apr 2012 22:32:01 +0300
From: Milen Rangelov <gat3way@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: cl_khr_byte_addressable_store

On Fri, Apr 20, 2012 at 7:17 PM, magnum <john.magnum@...hmail.com> wrote:

> On 04/20/2012 05:12 PM, Lukas Odzioba wrote:
> > We will have to add:
> > #pragma OPENCL EXTENSION cl_khr_byte_addressable_store: enable
> > to kernel for NVIDIA devices (tested on gtx460).
>
> By the way, this was just now added to RAR too. If I'm really lucky this
> fixes it for 7970.
>
> I had no idea this was required until a couple of days ago and my cards
> do fine without it (thus violating the spec. as I read it).
>
> I'm not sure if/how we should support people having cards that does not
> support this extension. Maybe we should just say we require OpenCL 1.1?
> Or I guess we could add a CL_VERSION_1_1 define in Makefile.
>
> magnum
>
>

Don't use that extension, at least not on AMD. You would be surprised with
the result. It's just bad. I'd rather do some bitwise macros, they work
almost equally well on Nvidia and AMD. Byte addressable stores are a big
disaster especially for vectorized code.

Content of type "text/html" skipped

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.