Lines Matching refs:wgs
1487 size_t wgs = dev.maxWorkGroupSize(); in ocl_calcHist1() local
1494 BINS, compunits, wgs, kercn, in ocl_calcHist1()
1507 size_t globalsize = compunits * wgs; in ocl_calcHist1()
1508 if (!k1.run(1, &globalsize, &wgs, false)) in ocl_calcHist1()
1514 BINS, compunits, (int)wgs, ocl::convertTypeStr(CV_32S, ddepth, 1, cvt), in ocl_calcHist1()
1522 return k2.run(1, &wgs, &wgs, false); in ocl_calcHist1()
3579 size_t wgs = dev.maxWorkGroupSize(); in ocl_equalizeHist() local
3586 BINS, compunits, wgs, kercn, in ocl_equalizeHist()
3597 size_t globalsize = compunits * wgs; in ocl_equalizeHist()
3598 if (!k1.run(1, &globalsize, &wgs, false)) in ocl_equalizeHist()
3601 wgs = std::min<size_t>(ocl::Device::getDefault().maxWorkGroupSize(), BINS); in ocl_equalizeHist()
3605 BINS, compunits, (int)wgs)); in ocl_equalizeHist()
3610 if (!k2.run(1, &wgs, &wgs, false)) in ocl_equalizeHist()