In former versions of OpenCV there was the function Stream::enqueueUpload
that could be used to upload data to the GPU asynchronously together with CudaMem
(compare: how to use gpu::Stream in OpenCV?). However, this function does no longer exist in OpenCV 3. The CudaMem
class is also gone but seems to have been replaced by the HostMem
class.
Can anyone tell me how to perform an asynchronous upload in OpenCV 3?