Load a RGB image to texture memory


Can someone please tell me how I can load the texture memory a RGB image, and then reference it? I have tested all combination but none work. Should I use 3D texture?

see the boxfilter SDK sample or the videoFilter code I posted to the General CUDA forum. These samples use an ARGB texture for input, also bound to a 2D texure.