I am trying to rewrite some CPU algorithm in OpenCV-3.1 Cuda with streams. I've figured out that API changed. I've looked at the docs, samples directory and I've googled for it. No answer.
It seams that type CudaMem was changed to HostMem. When I am trying to use stream upload, I am getting:
error: ‘class cv::cuda::Stream’ has no member named ‘enqueueUpload’
How to use streams in OpenCV-3.1?