4 Replies Latest reply: Apr 16, 2012 5:22 AM by pesh RSS

Indirect memory access read on GPU

kaatish Newbie
Currently Being Moderated


I want to have a small table lookup (256 byte array) which would be the same for every work item. This table would be read very freq uently. Depending upon the data a workitem reads, a particular index of the table lookup must be read. Therefore, the access pattern is random and the compiler would not know at compile time as to which data is being read.


What is the effecient way of doing this? Would it work if this array is in texture memory so that it is cached?



More Like This


  • Correct Answers - 4 points
  • Helpful Answers - 2 points