cuda textures

Can someone post a simple example of texture use in cuda? I m a newbie in cuda programming and using the classic arrays stored in device memory i get only 4x speed up against my sequential version… So i decided to use textures but i couldn’t find sufficient help on how to use them?? thanks in advance

Check out the simpleTexture example in the SDK.