cuda.core.textures.ArrayFormat#

class cuda.core.textures.ArrayFormat(
value,
names=<not given>,
*values,
module=None,
qualname=None,
type=None,
start=1,
boundary=None,
)#

Element format for a CUDAArray allocation.

Mirrors CUarray_format from the CUDA driver API.

UINT8: 1

Element format for a CUDAArray allocation. Mirrors CUarray_format from the CUDA driver API.

UINT16: 2

Element format for a CUDAArray allocation. Mirrors CUarray_format from the CUDA driver API.

UINT32: 3

Element format for a CUDAArray allocation. Mirrors CUarray_format from the CUDA driver API.

INT8: 8

Element format for a CUDAArray allocation. Mirrors CUarray_format from the CUDA driver API.

INT16: 9

Element format for a CUDAArray allocation. Mirrors CUarray_format from the CUDA driver API.

INT32: 10

Element format for a CUDAArray allocation. Mirrors CUarray_format from the CUDA driver API.

FLOAT16: 16

Element format for a CUDAArray allocation. Mirrors CUarray_format from the CUDA driver API.

FLOAT32: 32

Element format for a CUDAArray allocation. Mirrors CUarray_format from the CUDA driver API.