Commit aab6f6c5 authored by vbystricky's avatar vbystricky

Set sync=true in ocl_minMaxIdx kernel call. For tests

parent c5632d41
...@@ -1536,7 +1536,7 @@ static bool ocl_minMaxIdx( InputArray _src, double* minVal, double* maxVal, int* ...@@ -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] =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment