redundant clFinish in upload since clEnqueueWriteBuffer above is already blocked

pull/2245/head
Ilya Lavrenov 11 years ago
parent 9041c31813
commit d15bf6261a
  1. 2
      modules/core/src/ocl.cpp

@ -3582,8 +3582,6 @@ public:
u->markHostCopyObsolete(true);
u->markDeviceCopyObsolete(false);
clFinish(q);
}
void copy(UMatData* src, UMatData* dst, int dims, const size_t sz[],

Loading…
Cancel
Save