EGLStream(CUDA) -> cv::cuda::GpuMat using Argus & nppi

Hi,
Thank you for the reply,

I also trying to check the image is wrapped well in opencv container by: cuEglFrame → cv::cuda::gpuMat → cv::Mat -->imwrite

it seems the data is fine because cuEglFrame → cuda kernal (in jetson multimedia api → histogram) is working,
but any opencv function gives error. ex)imwrite, or sometimes download from gpuMat to cpu Mat…

I saw your comment as below, so I was wondering if you successfully done with opencv related stuff in your test.

I then tried to gpuMat.download(cpuMat) and cv::imwrite(cpuMat) , it throws unspecified launch failure as well.

For example I used these posts to wrap the data to opencv Mats.

cudaMemcpy2D: