When I use a cv::cuda::GpuMat I suppose I am using some device (GPU) memory, right?
My question is simple. GpuMat has a ptr function. If I do
GpuMat img= Some_image();
auto ppo= img.ptr(10);
where is ppo pointing? Device memory (GPU)? or Host memory?
EDIT: My apologies, I wrote it too quick, did not want to imply it was an empty image.