Using offset parameter in cudaBindTexture()

Hi ALL.
In NVIDIA_CUDA_Programming_Guide_ and Cuda_Reference_manual I didn’t see any example how to use the offset parameter in cudaBindTexture().
I think that parameter is an important part when using texture. So I created a simple program to demonstrate how to use it.
Hope It is useful for someone.
:)
TextureOffset.zip (895 Bytes)