AnsweredAssumed Answered

GPR Usage for private arrays

Question asked by sayantandatta on Jun 9, 2012
Latest reply on Jun 11, 2012 by sayantandatta

Suppose I have a private array say:

uint A[80];

Now any decent high end AMD GPU (5870/6970/7970) can store this number of uints in its GPRs. But I suppose the GPRs doesn't have any indirect addressing modes(I am not sure though), so is it still possible to store the array in GPRs?  Would it make any difference if the array indeces are random(like A[tmp] where value of tmp is not predictable) or fixed constant(like A[0],A[1]......or something entirely prdictable)?