NvBufSurfaceMemType

pyds.NvBufSurfaceMemType

Enumerator. Specifies the default memory type, i.e. NVBUF_MEM_CUDA_DEVICE for dGPU, NVBUF_MEM_SURFACE_ARRAY for Jetson. Use NVBUF_MEM_DEFAULT to allocate whichever type of memory is appropriate for the platform.

Members:

NVBUF_MEM_DEFAULT : NVBUF_MEM_CUDA_DEVICE type for dGpu and NVBUF_MEM_SURFACE_ARRAY type for Jetson.

NVBUF_MEM_CUDA_PINNED : CUDA Host memory type.

NVBUF_MEM_CUDA_DEVICE : CUDA Device memory type.

NVBUF_MEM_CUDA_UNIFIED : CUDA Unified memory type.

NVBUF_MEM_SURFACE_ARRAY : NVRM Surface Array type - valid only for Jetson.

NVBUF_MEM_HANDLE : NVRM Handle type - valid only for Jetson.

NVBUF_MEM_SYSTEM : Memory allocated by malloc().