ocl: fix cleanup in static builds

This commit is contained in:
Alexander Alekhin
2013-10-11 16:39:26 +04:00
parent 57120c1a60
commit ce1177151e
4 changed files with 40 additions and 28 deletions

View File

@@ -77,6 +77,8 @@ inline cl_command_queue getClCommandQueue(const Context *ctx)
return *(cl_command_queue*)(ctx->getOpenCLCommandQueuePtr());
}
CV_EXPORTS cv::Mutex& getInitializationMutex();
enum openCLMemcpyKind
{
clMemcpyHostToDevice = 0,