Simple Texture example

Hi all,
I try to implement a simple matrix multiplication using texture.
This multiplication is just an example to learn how textures work.
Can you give me small code to build a texture and to get on of its value?
Thank you,
Vince

Check out these slides, they have snippets of code that sets up textures:
http://www.isi.edu/~ddavis/GPU/Course/Slid…s%20interop.pdf

Paulius