Using Texture memory


I have been trying to use texture memory but it’s syntax and use is quite complex. Moreover I have not found any example that illustrates the use of 1D textures. All are based on 2D textures. Can anybody send quote any simple example so that I can use textures. It has been proving to be a bottleneck in the work that I am doing. Any small clear example would greatly help in understanding the use of textures.

Thanks in advance
Sachin Gupta