I have come across a situation where I already have some preallocated device buffers that I would like to pass through the Optical Flow SDK. Is there a way to build a NvOFBuffer
from a CUdeviceptr
to avoid an unnecessary memory copy?
I have come across a situation where I already have some preallocated device buffers that I would like to pass through the Optical Flow SDK. Is there a way to build a NvOFBuffer
from a CUdeviceptr
to avoid an unnecessary memory copy?