Error in download GpuMat to Mat

asked 2019-08-25 17:15:55 -0600

abdorreza gravatar image

HI, I upload Mat to GpuMat and then change it by CUDA and the I download GpuMat to Mat. I do not have any problem with Mat up to size 1024x1024, but when my Mat is 2048x2048 I get a error after my CUDA code and in download GpuMat to Mat time!

error:

OpenCV(3.4.1) Error: Gpu API call (unspecified launch failure) in cv::cuda::GpuMat::download, file C:/OpenCV 3.4.1/opencv-3.4.1/modules/core/src/cuda/gpu_mat.cu, line 249

how can I solve it ?

edit retag flag offensive close merge delete