ocl: try to disable clFinish workaround
authorAlexander Alekhin <alexander.alekhin@itseez.com>
Wed, 4 Dec 2013 09:00:37 +0000 (13:00 +0400)
committerAlexander Alekhin <alexander.alekhin@itseez.com>
Wed, 4 Dec 2013 09:00:37 +0000 (13:00 +0400)
modules/ocl/src/cl_operations.cpp

index 032ebe8..0b93407 100644 (file)
@@ -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));
     }