holoscan::utils::cuda::CudaHostMappedBuffer
holoscan::utils::cuda::CudaHostMappedBuffer
holoscan::utils::cuda::CudaHostMappedBuffer
CUDA Host Mapped Buffer Class.
Inherits from: holoscan::utils::cuda::Buffer (public)
Construct a new Cuda Host Mapped Buffer object.
Get the data buffer.
Returns: Void pointer to the buffer
Get the size of the allocated buffer in elements.
Returns: size in elements
Get the bytes allocated.
Returns: allocated bytes
Resize the underlying buffer.
Parameters
Number of elements to be resized with
Get the datatype.
Returns: datatype
Get the device ID.
Returns: device ID