Removed redundant clFinish() after clEnqueueUnmapMemObject()

sss
This commit is contained in:
Alexander Karsakov 2014-08-28 18:30:05 +04:00
parent 21f1a0ee49
commit 7d91b8efcd

View File

@ -3959,7 +3959,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() )