use clflush replaces clfinish

This commit is contained in:
yao
2013-04-02 14:41:02 +08:00
parent 2a1cf23fab
commit f3254b28f2
4 changed files with 18 additions and 6 deletions

View File

@@ -126,6 +126,9 @@ namespace cv
CV_EXPORTS void* getoclCommandQueue();
//explicit call clFinish. The global command queue will be used.
CV_EXPORTS void finish();
//this function enable ocl module to use customized cl_context and cl_command_queue
//getDevice also need to be called before this function
CV_EXPORTS void setDeviceEx(Info &oclinfo, void *ctx, void *qu, int devnum = 0);