Set sync=true in ocl_minMaxIdx kernel call. For tests

pull/3088/head
vbystricky 11 years ago
parent c5632d412e
commit aab6f6c56f
  1. 2
      modules/core/src/stat.cpp

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

Loading…
Cancel
Save