Please try following function declaration and passed GpuMat to it.
void do_test(const cv::gpu::PtrStepSz<float>& src, cv::gpu::PtrStepSz<float> dst)
Please try following function declaration and passed GpuMat to it.
void do_test(const cv::gpu::PtrStepSz<float>& src, cv::gpu::PtrStepSz<float> dst)