Hi, I want to get some good idea for reading same data.
I have to make some CUDA program. In that program, my thread must read same data
And that data has some dependency, so I have to read it from first to last.
If I use the shared memory, then I think it gives me a bank conflict.
If I use the global memory, then I think it is hard to make it coalsced.
But I think global or texture memory will be good because of the caching.
Which memory will be good?
And I saw that the texture memory is good for 2D array.
I don’t know what it means exactly. Could you let me know?