Drawing short texture Based off sobel filter

I am trying to draw a texture on the screen using opengl and CUDA.
I have tried to modify the sobel filter example project that comes with the CUDA sdk.
This project originally reads in a file that has unsigned char data.
I have changed the pixel typedef to be short instead of unsigned char.
I have also modified the gl calls to use GL_SHORT instead of GL_UNSIGNED_BTYE.
However, there appears to be some additional dependency on unsigned char as my image is not drawn correctly.

Can someone point me to an example of drawing a texture of type short in opengl/CUDA?