I am dealing with a 16-bit grayscale .tiff image. I have read the pixel information into a unsigned short format. While creating the texture can I describe the channel as follows:
cudaCreateChannelDesc(16, 0, 0, 0, cudaChannelFormatKindUnsigned)
Is the above statement valid? I want to create a single channel of 16-bits. If this is not valid can you please suggest the correct way without losing any of the pixel information. Please help me out.