3D texture format?


How many 3D texture format will be supported by CUDA. Can it use 12 bit 3D texture format? Thanks!


3D textures can have the same texel formats as 1D and 2D textures. For now, CUDA is limited to textures that are 1-, 2-, or 4-tuples of signed/unsigned 8-, 16- or 32-bit integers, 16-bit floats, or 32-bit floats.

Float16 is supported only in the driver API.