added GpuMat support to OutputArray