diff --git a/modules/core/src/ocl.cpp b/modules/core/src/ocl.cpp index 03889e1b61..3804d3401c 100644 --- a/modules/core/src/ocl.cpp +++ b/modules/core/src/ocl.cpp @@ -3963,7 +3963,6 @@ public: u->markDeviceMemMapped(false); CV_Assert( (retval = clEnqueueUnmapMemObject(q, (cl_mem)u->handle, u->data, 0, 0, 0)) == CL_SUCCESS ); - CV_OclDbgAssert(clFinish(q) == CL_SUCCESS); u->data = 0; } else if( u->copyOnMap() && u->deviceCopyObsolete() )