- class pyds.NvBufSurface¶
Holds information about a single buffer in a batch.
gpuId – int, Holds the GPU ID. Valid only for a multi-GPU system.
batchSize – int, Holds the batch size.
numFilled – int, Holds the number valid and filled buffers. Initialized to zero when an instance of the structure is created.
isContiguous – bool, Holds an “is contiguous” flag. If set, memory allocated for the batch is contiguous.
NvBufSurfaceMemType, Holds type of memory for buffers in the batch.
surfaceList – list of :class:`NvBufSurfaceParams`, Array of batched buffers.