Commit 26c284b2 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #3167 from akarsakov:ocl_rm_clFinish

parents ffd1df0c 7d91b8ef
......@@ -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() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment