Merge pull request #1920 from alalek:ocl_disable_workaround

This commit is contained in:
Andrey Pavlenko 2013-12-05 16:46:25 +04:00 committed by OpenCV Buildbot
commit 39754bd6f9

View File

@ -290,8 +290,9 @@ void openCLFree(void *devPtr)
} }
#else #else
// TODO FIXIT Attach clReleaseMemObject call to event completion callback // TODO FIXIT Attach clReleaseMemObject call to event completion callback
Context* ctx = Context::getContext(); // TODO 2013/12/04 Disable workaround
clFinish(getClCommandQueue(ctx)); // Context* ctx = Context::getContext();
// clFinish(getClCommandQueue(ctx));
#endif #endif
openCLSafeCall(clReleaseMemObject(data.mainBuffer)); openCLSafeCall(clReleaseMemObject(data.mainBuffer));
} }