Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 9 Dec 2012 14:24:32 +0530
From: Sayantan Datta <>
Subject: Re: GCN: indexed access to VGPRs

On Sun, Dec 9, 2012 at 7:43 AM, Solar Designer <> wrote:

> Sayantan -
> On Sat, Dec 08, 2012 at 09:08:33PM -0500, Alain Espinosa wrote:
> > On 12/8/12, Solar Designer <> wrote:
> > > How do you access the indexed registers?  (And it's the same register
> > > file, just accessed differently - right?)  Is it via a private array as
> > > you mention below? -
> >
> > Via the private array in OpenCL and then checking the code generated.
> > Is the same register file as you point out.
> Would you try this for bcrypt-opencl?  e.g. try to implement two hashes
> per work-item, by having S-boxes of one of them in a local array (like
> it's done now) and the other in a private array.  In fact, you can start
> by using a private array only (as an experiment).
> Alexander

Yes I would. But I think 1024 integers in private array would eventually
end up in global memory. I think the private arrays  will/could stay in
VGPRs given that their size is small enough so that it doesn't span across
multiple VGPRs. Which means arrays less than or equal to 512/32=16

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.