Merge pull request #937 from bitwangyaoyao:2.4_fixPyrLK

This commit is contained in:
Vadim Pisarevsky 2013-06-04 13:34:09 +04:00 committed by OpenCV Buildbot
commit e0c2daadbf

View File

@ -142,7 +142,7 @@ static void lkSparse_run(oclMat &I, oclMat &J,
int wave_size = queryDeviceInfo<WAVEFRONT_SIZE, int>(kernel);
openCLSafeCall(clReleaseKernel(kernel));
static char opt[16] = {0};
static char opt[32] = {0};
sprintf(opt, " -D WAVE_SIZE=%d", wave_size);
openCLExecuteKernel(clCxt, &pyrlk, kernelName, globalThreads, localThreads,