OK, I have two look ups I need to perform in my kernels. First I need to perform some calculations using coefficients in a 3x3 matrix of floats. What is the best way for me to store the 3x3 matrix and should I access it using a texture or using constant memory? My understanding is that since all threads will be accessing common locations of the matrix I should be using constant memory. If that is true, how do I allocate to constant memory?
I also have multiple 1024x768 lookup tables in which each thread will be accessing different locations. These should be used as texture lookups, correct?
I know this topic has been touch multiple times but I just wanted to make sure. Plus, I would like to know how to allocate to constant memory :magic: