Merge pull request #1557 from ilya-lavrenov:ocl_minor_doc_update
authorRoman Donchenko <roman.donchenko@itseez.com>
Fri, 4 Oct 2013 14:25:44 +0000 (18:25 +0400)
committerOpenCV Buildbot <buildbot@opencv.org>
Fri, 4 Oct 2013 14:25:44 +0000 (18:25 +0400)
1  2 
modules/ocl/include/opencv2/ocl/ocl.hpp
modules/ocl/src/arithm.cpp
modules/ocl/src/gftt.cpp

@@@ -481,10 -521,9 +481,9 @@@ static void arithmetic_minMax_run(cons
  }
  
  template <typename T, typename WT>
- void arithmetic_minMax(const oclMat &src, double *minVal, double *maxVal,
-                                              const oclMat &mask, oclMat &buf)
+ void arithmetic_minMax(const oclMat &src, double *minVal, double *maxVal, const oclMat &mask)
  {
 -    size_t groupnum = src.clCxt->computeUnits();
 +    size_t groupnum = src.clCxt->getDeviceInfo().maxComputeUnits;
      CV_Assert(groupnum != 0);
  
      int dbsize = groupnum * 2 * src.elemSize();
Simple merge