From 7b551af424b9daf576d52190fcbca64c88108e31 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Wed, 4 Dec 2013 13:00:37 +0400 Subject: [PATCH] ocl: try to disable clFinish workaround --- modules/ocl/src/cl_operations.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/ocl/src/cl_operations.cpp b/modules/ocl/src/cl_operations.cpp index 032ebe82a..0b934074d 100644 --- a/modules/ocl/src/cl_operations.cpp +++ b/modules/ocl/src/cl_operations.cpp @@ -290,8 +290,9 @@ void openCLFree(void *devPtr) } #else // TODO FIXIT Attach clReleaseMemObject call to event completion callback - Context* ctx = Context::getContext(); - clFinish(getClCommandQueue(ctx)); + // TODO 2013/12/04 Disable workaround + // Context* ctx = Context::getContext(); + // clFinish(getClCommandQueue(ctx)); #endif openCLSafeCall(clReleaseMemObject(data.mainBuffer)); }