ocl: try to disable clFinish workaround

pull/1920/head
Alexander Alekhin 11 years ago
parent 8752414718
commit 7b551af424
  1. 5
      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));
}

Loading…
Cancel
Save