Set sync=true in ocl_minMaxIdx kernel call. For tests

This commit is contained in:
vbystricky 2014-08-14 12:14:56 +04:00
parent c5632d412e
commit aab6f6c56f

View File

@ -1536,7 +1536,7 @@ static bool ocl_minMaxIdx( InputArray _src, double* minVal, double* maxVal, int*
} }
size_t globalsize = groupnum * wgs; size_t globalsize = groupnum * wgs;
if (!k.run(1, &globalsize, &wgs, false)) if (!k.run(1, &globalsize, &wgs, true))
return false; return false;
static const getMinMaxResFunc functab[7] = static const getMinMaxResFunc functab[7] =