kercn 1452 modules/core/src/arithm.cpp int kercn = haveMask || haveScalar ? cn : ocl::predictOptimalVectorWidth(_src1, _src2, _dst); kercn 1453 modules/core/src/arithm.cpp int scalarcn = kercn == 3 ? 4 : kercn; kercn 1458 modules/core/src/arithm.cpp bitwise ? ocl::memopTypeToStr(CV_MAKETYPE(srcdepth, kercn)) : kercn 1459 modules/core/src/arithm.cpp ocl::typeToStr(CV_MAKETYPE(srcdepth, kercn)), doubleSupport ? " -D DOUBLE_SUPPORT" : "", kercn 1464 modules/core/src/arithm.cpp kercn, rowsPerWI); kercn 1473 modules/core/src/arithm.cpp ocl::KernelArg src1arg = ocl::KernelArg::ReadOnlyNoSize(src1, cn, kercn); kercn 1474 modules/core/src/arithm.cpp ocl::KernelArg dstarg = haveMask ? ocl::KernelArg::ReadWrite(dst, cn, kercn) : kercn 1475 modules/core/src/arithm.cpp ocl::KernelArg::WriteOnly(dst, cn, kercn); kercn 1499 modules/core/src/arithm.cpp ocl::KernelArg src2arg = ocl::KernelArg::ReadOnlyNoSize(src2, cn, kercn); kercn 1507 modules/core/src/arithm.cpp size_t globalsize[] = { src1.cols * cn / kercn, (src1.rows + rowsPerWI - 1) / rowsPerWI }; kercn 1827 modules/core/src/arithm.cpp int kercn = haveMask || haveScalar ? cn : ocl::predictOptimalVectorWidth(_src1, _src2, _dst); kercn 1828 modules/core/src/arithm.cpp int scalarcn = kercn == 3 ? 4 : kercn, rowsPerWI = d.isIntel() ? 4 : 1; kercn 1835 modules/core/src/arithm.cpp oclop2str[oclop], ocl::typeToStr(CV_MAKETYPE(depth1, kercn)), kercn 1836 modules/core/src/arithm.cpp ocl::typeToStr(depth1), ocl::typeToStr(CV_MAKETYPE(depth2, kercn)), kercn 1837 modules/core/src/arithm.cpp ocl::typeToStr(depth2), ocl::typeToStr(CV_MAKETYPE(ddepth, kercn)), kercn 1838 modules/core/src/arithm.cpp ocl::typeToStr(ddepth), ocl::typeToStr(CV_MAKETYPE(wdepth, kercn)), kercn 1841 modules/core/src/arithm.cpp ocl::convertTypeStr(depth1, wdepth, kercn, cvtstr[0]), kercn 1842 modules/core/src/arithm.cpp ocl::convertTypeStr(depth2, wdepth, kercn, cvtstr[1]), kercn 1843 modules/core/src/arithm.cpp ocl::convertTypeStr(wdepth, ddepth, kercn, cvtstr[2]), kercn 1844 modules/core/src/arithm.cpp doubleSupport ? " -D DOUBLE_SUPPORT" : "", kercn, rowsPerWI, kercn 1846 modules/core/src/arithm.cpp ocl::convertTypeStr(CV_8U, ddepth, kercn, cvtstr[3]) : "noconvert"); kercn 1868 modules/core/src/arithm.cpp ocl::KernelArg src1arg = ocl::KernelArg::ReadOnlyNoSize(src1, cn, kercn); kercn 1869 modules/core/src/arithm.cpp ocl::KernelArg dstarg = haveMask ? ocl::KernelArg::ReadWrite(dst, cn, kercn) : kercn 1870 modules/core/src/arithm.cpp ocl::KernelArg::WriteOnly(dst, cn, kercn); kercn 1899 modules/core/src/arithm.cpp ocl::KernelArg src2arg = ocl::KernelArg::ReadOnlyNoSize(src2, cn, kercn); kercn 1920 modules/core/src/arithm.cpp size_t globalsize[] = { src1.cols * cn / kercn, (src1.rows + rowsPerWI - 1) / rowsPerWI }; kercn 4902 modules/core/src/arithm.cpp int kercn = haveScalar ? cn : ocl::predictOptimalVectorWidth(_src1, _src2, _dst), rowsPerWI = dev.isIntel() ? 4 : 1; kercn 4905 modules/core/src/arithm.cpp kercn = 1; kercn 4907 modules/core/src/arithm.cpp int scalarcn = kercn == 3 ? 4 : kercn; kercn 4915 modules/core/src/arithm.cpp ocl::typeToStr(CV_MAKE_TYPE(depth1, kercn)), kercn 4916 modules/core/src/arithm.cpp ocl::typeToStr(CV_8UC(kercn)), kercn, kercn 4917 modules/core/src/arithm.cpp ocl::convertTypeStr(depth1, CV_8U, kercn, cvt), kercn 4939 modules/core/src/arithm.cpp convertAndUnrollScalar( src2, depth1, (uchar *)buf, kercn ); kercn 4960 modules/core/src/arithm.cpp convertAndUnrollScalar(Mat(1, 1, CV_32S, &ival), depth1, (uchar *)buf, kercn); kercn 4965 modules/core/src/arithm.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src1, cn, kercn), kercn 4966 modules/core/src/arithm.cpp ocl::KernelArg::WriteOnly(dst, cn, kercn), scalararg); kercn 4974 modules/core/src/arithm.cpp ocl::KernelArg::WriteOnly(dst, cn, kercn)); kercn 4977 modules/core/src/arithm.cpp size_t globalsize[2] = { dst.cols * cn / kercn, (dst.rows + rowsPerWI - 1) / rowsPerWI }; kercn 5600 modules/core/src/arithm.cpp int kercn = haveScalar ? cn : std::max(std::min(ocl::predictOptimalVectorWidth(_src, _lowerb, _upperb, _dst), 4), cn); kercn 5601 modules/core/src/arithm.cpp if (kercn % cn != 0) kercn 5602 modules/core/src/arithm.cpp kercn = cn; kercn 5603 modules/core/src/arithm.cpp int colsPerWI = kercn / cn; kercn 5605 modules/core/src/arithm.cpp haveScalar ? "-D HAVE_SCALAR " : "", cn, ocl::typeToStr(CV_MAKE_TYPE(sdepth, kercn)), kercn 5606 modules/core/src/arithm.cpp ocl::typeToStr(sdepth), ocl::typeToStr(CV_8UC(colsPerWI)), kercn, sdepth, kercn 5490 modules/core/src/convert.cpp int kercn = 1; kercn 5494 modules/core/src/convert.cpp kercn = ocl::checkOptimalVectorWidth( vectorWidths, _src, _dst, kercn 5500 modules/core/src/convert.cpp kercn = ocl::predictOptimalVectorWidthMax(_src, _dst); kercn 5508 modules/core/src/convert.cpp ocl::typeToStr(CV_8UC(kercn)), kercn 5509 modules/core/src/convert.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), kercn 5510 modules/core/src/convert.cpp ocl::typeToStr(CV_MAKE_TYPE(wdepth, kercn)), wdepth, kercn 5511 modules/core/src/convert.cpp ocl::convertTypeStr(depth, wdepth, kercn, cvt[0]), kercn 5512 modules/core/src/convert.cpp ocl::convertTypeStr(wdepth, CV_8U, kercn, cvt[1]), kercn 5523 modules/core/src/convert.cpp dstarg = ocl::KernelArg::WriteOnly(dst, cn, kercn); kercn 5530 modules/core/src/convert.cpp size_t globalsize[2] = { src.cols * cn / kercn, (src.rows + rowsPerWI - 1) / rowsPerWI }; kercn 5687 modules/core/src/convert.cpp int kercn = lcn == 1 ? std::min(4, ocl::predictOptimalVectorWidth(_src, _dst)) : dcn; kercn 5690 modules/core/src/convert.cpp format("-D dcn=%d -D lcn=%d -D srcT=%s -D dstT=%s", kercn, lcn, kercn 5696 modules/core/src/convert.cpp ocl::KernelArg::WriteOnly(dst, dcn, kercn)); kercn 5698 modules/core/src/convert.cpp size_t globalSize[2] = { dst.cols * dcn / kercn, (dst.rows + 3) / 4 }; kercn 680 modules/core/src/copy.cpp flipType, kercn = std::min(ocl::predictOptimalVectorWidth(_src, _dst), 4); kercn 684 modules/core/src/copy.cpp kercn = cn; kercn 698 modules/core/src/copy.cpp kercn = (cn!=3 || flipType == FLIP_ROWS) ? std::max(kercn, cn) : cn; kercn 702 modules/core/src/copy.cpp kercn != cn ? ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)) : ocl::vecopTypeToStr(CV_MAKE_TYPE(depth, kercn)), kercn 703 modules/core/src/copy.cpp kercn != cn ? ocl::typeToStr(depth) : ocl::vecopTypeToStr(depth), cn, pxPerWIy, kercn)); kercn 711 modules/core/src/copy.cpp int cols = size.width * cn / kercn, rows = size.height; kercn 716 modules/core/src/copy.cpp ocl::KernelArg::WriteOnly(dst, cn, kercn), rows, cols); kercn 850 modules/core/src/copy.cpp kercn = ocl::predictOptimalVectorWidth(_src, _dst); kercn 854 modules/core/src/copy.cpp ocl::memopTypeToStr(CV_MAKE_TYPE(depth, kercn)), kercn 855 modules/core/src/copy.cpp nx, ny, rowsPerWI, kercn)); kercn 860 modules/core/src/copy.cpp k.args(ocl::KernelArg::ReadOnly(src, cn, kercn), ocl::KernelArg::WriteOnlyNoSize(dst)); kercn 862 modules/core/src/copy.cpp size_t globalsize[] = { src.cols * cn / kercn, (src.rows + rowsPerWI - 1) / rowsPerWI }; kercn 67 modules/core/src/mathfuncs.cpp int kercn = oclop == OCL_OP_PHASE_DEGREES || kercn 78 modules/core/src/mathfuncs.cpp oclop2str[oclop], ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), rowsPerWI, kercn 89 modules/core/src/mathfuncs.cpp dstarg = ocl::KernelArg::WriteOnly(dst, cn, kercn); kercn 96 modules/core/src/mathfuncs.cpp size_t globalsize[] = { src1.cols * cn / kercn, (src1.rows + rowsPerWI - 1) / rowsPerWI }; kercn 838 modules/core/src/matmul.cpp int kercn = ocl::checkOptimalVectorWidth(vectorWidths, B, D); kercn 841 modules/core/src/matmul.cpp ocl::typeToStr(type), ocl::typeToStr(depth), ocl::typeToStr(CV_MAKETYPE(depth, kercn)), kercn 842 modules/core/src/matmul.cpp cn, kercn, block_size, kercn 853 modules/core/src/matmul.cpp ocl::KernelArg::ReadOnlyNoSize(B, cn, kercn), kercn 854 modules/core/src/matmul.cpp ocl::KernelArg::ReadWrite(D, cn, kercn), kercn 858 modules/core/src/matmul.cpp ocl::KernelArg::ReadOnlyNoSize(B, cn, kercn), kercn 859 modules/core/src/matmul.cpp ocl::KernelArg::ReadWrite(D, cn, kercn), kercn 862 modules/core/src/matmul.cpp size_t globalsize[2] = { sizeD.width * cn / kercn, sizeD.height}; kercn 2279 modules/core/src/matmul.cpp int kercn = ocl::predictOptimalVectorWidthMax(_src1, _src2, _dst), kercn 2287 modules/core/src/matmul.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), kercn 2288 modules/core/src/matmul.cpp ocl::typeToStr(CV_MAKE_TYPE(wdepth, kercn)), kercn 2289 modules/core/src/matmul.cpp ocl::convertTypeStr(depth, wdepth, kercn, cvt[0]), kercn 2290 modules/core/src/matmul.cpp ocl::convertTypeStr(wdepth, depth, kercn, cvt[1]), kercn 2300 modules/core/src/matmul.cpp dstarg = ocl::KernelArg::WriteOnly(dst, cn, kercn); kercn 2307 modules/core/src/matmul.cpp size_t globalsize[2] = { dst.cols * cn / kercn, (dst.rows + rowsPerWI - 1) / rowsPerWI }; kercn 2812 modules/core/src/matrix.cpp int type = _m.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), kercn = cn, rowsPerWI = 1; kercn 2819 modules/core/src/matrix.cpp kercn = std::min(ocl::predictOptimalVectorWidth(_m), 4); kercn 2820 modules/core/src/matrix.cpp if (kercn != 4) kercn 2821 modules/core/src/matrix.cpp kercn = 1; kercn 2827 modules/core/src/matrix.cpp ocl::memopTypeToStr(CV_MAKE_TYPE(depth, kercn)), kercn 2830 modules/core/src/matrix.cpp kercn, rowsPerWI)); kercn 2835 modules/core/src/matrix.cpp k.args(ocl::KernelArg::WriteOnly(m, cn, kercn), kercn 2838 modules/core/src/matrix.cpp size_t globalsize[2] = { m.cols * cn / kercn, (m.rows + rowsPerWI - 1) / rowsPerWI }; kercn 5495 modules/core/src/ocl.cpp int kercn = *std::min_element(kercns.begin(), kercns.end()); kercn 5497 modules/core/src/ocl.cpp return kercn; kercn 538 modules/core/src/opencl/fft.cl const int block_size = LOCAL_SIZE/kercn; kercn 553 modules/core/src/opencl/fft.cl for (int i=0; i<kercn; i++) kercn 558 modules/core/src/opencl/fft.cl for (int i=0; i<kercn; i++) kercn 624 modules/core/src/opencl/fft.cl const int block_size = LOCAL_SIZE/kercn; kercn 628 modules/core/src/opencl/fft.cl for (int i=0; i<kercn; i++) kercn 638 modules/core/src/opencl/fft.cl for (int i=0; i<kercn; i++) kercn 678 modules/core/src/opencl/fft.cl const int block_size = LOCAL_SIZE/kercn; kercn 694 modules/core/src/opencl/fft.cl for (int i=0; i<kercn; i++) kercn 750 modules/core/src/opencl/fft.cl for (int i=0; i<kercn; i++) kercn 758 modules/core/src/opencl/fft.cl for (int i=0; i<kercn; i++) kercn 793 modules/core/src/opencl/fft.cl const int block_size = LOCAL_SIZE/kercn; kercn 796 modules/core/src/opencl/fft.cl for (int i=0; i<kercn; i++) kercn 809 modules/core/src/opencl/fft.cl for (int i=0; i<kercn; i++) kercn 821 modules/core/src/opencl/fft.cl const int block_size = LOCAL_SIZE/kercn; kercn 832 modules/core/src/opencl/fft.cl for (int i=0; i<kercn; i++) kercn 874 modules/core/src/opencl/fft.cl for (int i=0; i<kercn; i++) kercn 42 modules/core/src/opencl/flip.cl #if kercn != 3 kercn 103 modules/core/src/opencl/flip.cl #if kercn == 2 kercn 108 modules/core/src/opencl/flip.cl #elif kercn == 4 kercn 149 modules/core/src/opencl/flip.cl #if kercn == 2 kercn 154 modules/core/src/opencl/flip.cl #elif kercn == 4 kercn 26 modules/core/src/opencl/gemm.cl #if kercn==2 kercn 67 modules/core/src/opencl/inrange.cl int src1_index = mad24(y0, src1_step, mad24(x, (int)sizeof(srcT1) * kercn, src1_offset)); kercn 70 modules/core/src/opencl/inrange.cl int src2_index = mad24(y0, src2_step, mad24(x, (int)sizeof(srcT1) * kercn, src2_offset)); kercn 71 modules/core/src/opencl/inrange.cl int src3_index = mad24(y0, src3_step, mad24(x, (int)sizeof(srcT1) * kercn, src3_offset)); kercn 76 modules/core/src/opencl/inrange.cl #if kercn >= cn && kercn == 4 && depth <= 4 && !defined HAVE_SCALAR kercn 54 modules/core/src/opencl/minmaxloc.cl #if kercn != 3 kercn 125 modules/core/src/opencl/minmaxloc.cl * kercn; kercn 174 modules/core/src/opencl/minmaxloc.cl * kercn kercn 210 modules/core/src/opencl/minmaxloc.cl #if kercn == 1 kercn 236 modules/core/src/opencl/minmaxloc.cl #elif kercn >= 2 kercn 239 modules/core/src/opencl/minmaxloc.cl #if kercn >= 3 kercn 241 modules/core/src/opencl/minmaxloc.cl #if kercn >= 4 kercn 243 modules/core/src/opencl/minmaxloc.cl #if kercn >= 8 kercn 248 modules/core/src/opencl/minmaxloc.cl #if kercn == 16 kercn 85 modules/core/src/opencl/reduce.cl #ifndef kercn kercn 98 modules/core/src/opencl/reduce.cl #if kercn == 1 kercn 206 modules/core/src/opencl/reduce.cl #if kercn == 1 kercn 211 modules/core/src/opencl/reduce.cl #elif kercn == 2 kercn 217 modules/core/src/opencl/reduce.cl #elif kercn == 4 kercn 225 modules/core/src/opencl/reduce.cl #elif kercn == 8 kercn 237 modules/core/src/opencl/reduce.cl #elif kercn == 16 kercn 262 modules/core/src/opencl/reduce.cl #if kercn == 1 kercn 270 modules/core/src/opencl/reduce.cl #elif kercn == 2 kercn 280 modules/core/src/opencl/reduce.cl #elif kercn == 4 kercn 294 modules/core/src/opencl/reduce.cl #elif kercn == 8 kercn 316 modules/core/src/opencl/reduce.cl #elif kercn == 16 kercn 356 modules/core/src/opencl/reduce.cl #if kercn == 1 kercn 362 modules/core/src/opencl/reduce.cl #elif kercn == 2 kercn 369 modules/core/src/opencl/reduce.cl #elif kercn == 4 kercn 378 modules/core/src/opencl/reduce.cl #elif kercn == 8 kercn 391 modules/core/src/opencl/reduce.cl #elif kercn == 16 kercn 416 modules/core/src/opencl/reduce.cl #if kercn == 1 kercn 420 modules/core/src/opencl/reduce.cl #elif kercn == 2 kercn 425 modules/core/src/opencl/reduce.cl #elif kercn == 4 kercn 432 modules/core/src/opencl/reduce.cl #elif kercn == 8 kercn 443 modules/core/src/opencl/reduce.cl #elif kercn == 16 kercn 498 modules/core/src/opencl/reduce.cl #if kercn == 1 kercn 501 modules/core/src/opencl/reduce.cl #elif kercn == 2 kercn 506 modules/core/src/opencl/reduce.cl #elif kercn == 4 kercn 513 modules/core/src/opencl/reduce.cl #elif kercn == 8 kercn 524 modules/core/src/opencl/reduce.cl #elif kercn == 16 kercn 568 modules/core/src/opencl/reduce.cl int id = get_global_id(0) * kercn; kercn 578 modules/core/src/opencl/reduce.cl for (int grain = groupnum * WGS * kercn; id < total; id += grain) kercn 46 modules/core/src/opencl/set_identity.cl #if kercn != 3 kercn 66 modules/core/src/opencl/set_identity.cl #if kercn == cn kercn 71 modules/core/src/opencl/set_identity.cl #elif kercn == 4 && cn == 1 kercn 1058 modules/core/src/stat.cpp kercn = cn == 1 && !haveMask ? ocl::predictOptimalVectorWidth(_src, _src2) : 1, kercn 1059 modules/core/src/stat.cpp mcn = std::max(cn, kercn); kercn 1090 modules/core/src/stat.cpp haveMask && _mask.isContinuous() ? " -D HAVE_MASK_CONT" : "", kercn, kercn 1256 modules/core/src/stat.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), kercn = ocl::predictOptimalVectorWidth(_src); kercn 1273 modules/core/src/stat.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), kercn 1274 modules/core/src/stat.cpp ocl::typeToStr(depth), (int)wgs, kercn, kercn 2061 modules/core/src/stat.cpp kercn = haveMask ? cn : std::min(4, ocl::predictOptimalVectorWidth(_src, _src2)); kercn 2107 modules/core/src/stat.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), wgs2_aligned, kercn 2110 modules/core/src/stat.cpp _mask.isContinuous() ? " -D HAVE_MASK_CONT" : "", kercn, kercn 2113 modules/core/src/stat.cpp ocl::typeToStr(ddepth), ocl::typeToStr(CV_MAKE_TYPE(ddepth, kercn)), kercn 2114 modules/core/src/stat.cpp ocl::convertTypeStr(depth, ddepth, kercn, cvt[0]), kercn 2118 modules/core/src/stat.cpp depth <= CV_32S && ddepth == CV_32S ? ocl::convertTypeStr(CV_8U, ddepth, kercn, cvt[1]) : "noconvert"); kercn 779 modules/core/src/umatrix.cpp int kercn = haveMask || cn == 3 ? cn : std::max(cn, ocl::predictOptimalVectorWidth(*this)), kercn 780 modules/core/src/umatrix.cpp kertp = CV_MAKE_TYPE(d, kercn); kercn 784 modules/core/src/umatrix.cpp convertAndUnrollScalar(value, tp, (uchar *)buf, kercn / cn); kercn 786 modules/core/src/umatrix.cpp int scalarcn = kercn == 3 ? 4 : kercn, rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; kercn 790 modules/core/src/umatrix.cpp ocl::memopTypeToStr(d), kercn); kercn 808 modules/core/src/umatrix.cpp ocl::KernelArg dstarg = ocl::KernelArg::WriteOnly(*this, cn, kercn); kercn 812 modules/core/src/umatrix.cpp size_t globalsize[] = { cols * cn / kercn, (rows + rowsPerWI - 1) / rowsPerWI }; kercn 860 modules/core/src/umatrix.cpp kercn = ocl::predictOptimalVectorWidth(src1, src2); kercn 879 modules/core/src/umatrix.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), ocl::typeToStr(depth), kercn 880 modules/core/src/umatrix.cpp ocl::typeToStr(ddepth), ocl::typeToStr(CV_MAKE_TYPE(ddepth, kercn)), kercn 881 modules/core/src/umatrix.cpp ddepth, ocl::convertTypeStr(depth, ddepth, kercn, cvt), kercn 884 modules/core/src/umatrix.cpp _src2.isContinuous() ? " -D HAVE_SRC2_CONT" : "", kercn)); kercn 78 modules/features2d/src/matchers.cpp int kercn = 1; kercn 82 modules/features2d/src/matchers.cpp kercn = 4; kercn 88 modules/features2d/src/matchers.cpp max_desc_len = 64 / kercn; kercn 90 modules/features2d/src/matchers.cpp max_desc_len = 128 / kercn; kercn 95 modules/features2d/src/matchers.cpp ocl::typeToStr(depth), ocl::typeToStr(CV_MAKETYPE(depth, kercn)), kercn, depth == CV_32F ? "-D T_FLOAT" : "", distType, block_size, max_desc_len); kercn 178 modules/features2d/src/matchers.cpp int kercn = 1; kercn 182 modules/features2d/src/matchers.cpp kercn = 4; kercn 188 modules/features2d/src/matchers.cpp max_desc_len = 64 / kercn; kercn 190 modules/features2d/src/matchers.cpp max_desc_len = 128 / kercn; kercn 195 modules/features2d/src/matchers.cpp ocl::typeToStr(depth), ocl::typeToStr(CV_MAKETYPE(depth, kercn)), kercn, depth == CV_32F ? "-D T_FLOAT" : "", distType, block_size, max_desc_len); kercn 294 modules/features2d/src/matchers.cpp int kercn = 1; kercn 298 modules/features2d/src/matchers.cpp kercn = 4; kercn 304 modules/features2d/src/matchers.cpp ocl::typeToStr(depth), ocl::typeToStr(CV_MAKETYPE(depth, kercn)), kercn, depth == CV_32F ? "-D T_FLOAT" : "", distType, block_size); kercn 65 modules/features2d/src/opencl/brute_force_match.cl # define SHARED_MEM_SZ (kercn * (BLOCK_SIZE * MAX_DESC_LEN + BLOCK_SIZE * BLOCK_SIZE)) kercn 67 modules/features2d/src/opencl/brute_force_match.cl # define SHARED_MEM_SZ (kercn * 2 * BLOCK_SIZE_ODD * BLOCK_SIZE) kercn 79 modules/features2d/src/opencl/brute_force_match.cl # if (8 == kercn) kercn 82 modules/features2d/src/opencl/brute_force_match.cl # elif (4 == kercn) kercn 91 modules/features2d/src/opencl/brute_force_match.cl # if (8 == kercn) kercn 94 modules/features2d/src/opencl/brute_force_match.cl # elif (4 == kercn) kercn 105 modules/features2d/src/opencl/brute_force_match.cl # if (8 == kercn) kercn 108 modules/features2d/src/opencl/brute_force_match.cl # elif (4 == kercn) kercn 117 modules/features2d/src/opencl/brute_force_match.cl # if (8 == kercn) kercn 119 modules/features2d/src/opencl/brute_force_match.cl # elif (4 == kercn) kercn 197 modules/features2d/src/opencl/brute_force_match.cl query_cols /= kercn; kercn 337 modules/features2d/src/opencl/brute_force_match.cl query_cols /= kercn; kercn 400 modules/features2d/src/opencl/brute_force_match.cl query_cols /= kercn; kercn 799 modules/imgproc/src/accum.cpp int kercn = haveMask ? cn : ocl::predictOptimalVectorWidthMax(_src, _src2, _dst), rowsPerWI = dev.isIntel() ? 4 : 1; kercn 811 modules/imgproc/src/accum.cpp ocl::typeToStr(sdepth), kercn, ocl::typeToStr(ddepth), kercn 821 modules/imgproc/src/accum.cpp dstarg = ocl::KernelArg::ReadWrite(dst, cn, kercn), kercn 838 modules/imgproc/src/accum.cpp size_t globalsize[2] = { src.cols * cn / kercn, (src.rows + rowsPerWI - 1) / rowsPerWI }; kercn 759 modules/imgproc/src/deriv.cpp int wdepth = std::max(depth, floatCoeff ? CV_32F : CV_32S), kercn = 1; kercn 769 modules/imgproc/src/deriv.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), kercn 770 modules/imgproc/src/deriv.cpp ocl::typeToStr(CV_MAKE_TYPE(wdepth, kercn)), kercn 771 modules/imgproc/src/deriv.cpp ocl::typeToStr(CV_MAKE_TYPE(ddepth, kercn)), kercn 773 modules/imgproc/src/deriv.cpp ocl::convertTypeStr(depth, wdepth, kercn, cvt[0]), kercn 774 modules/imgproc/src/deriv.cpp ocl::convertTypeStr(wdepth, ddepth, kercn, cvt[1]), kercn 787 modules/imgproc/src/deriv.cpp dstarg = ocl::KernelArg::WriteOnly(dst, cn, kercn); kercn 794 modules/imgproc/src/deriv.cpp size_t globalsize[] = { dst.cols * cn / kercn, dst.rows }; kercn 1490 modules/imgproc/src/histogram.cpp int kercn = dev.isAMD() && use16 ? 16 : std::min(4, ocl::predictOptimalVectorWidth(_src)); kercn 1494 modules/imgproc/src/histogram.cpp BINS, compunits, wgs, kercn, kercn 1495 modules/imgproc/src/histogram.cpp kercn == 4 ? "int" : ocl::typeToStr(CV_8UC(kercn)), kercn 3582 modules/imgproc/src/histogram.cpp int kercn = dev.isAMD() && use16 ? 16 : std::min(4, ocl::predictOptimalVectorWidth(_src)); kercn 3586 modules/imgproc/src/histogram.cpp BINS, compunits, wgs, kercn, kercn 3587 modules/imgproc/src/histogram.cpp kercn == 4 ? "int" : ocl::typeToStr(CV_8UC(kercn)), kercn 40 modules/imgproc/src/opencl/histogram.cl #ifndef kercn kercn 54 modules/imgproc/src/opencl/histogram.cl int id = get_global_id(0) * kercn; kercn 67 modules/imgproc/src/opencl/histogram.cl for (int grain = HISTS_COUNT * WGS * kercn; id < total; id += grain) kercn 75 modules/imgproc/src/opencl/histogram.cl #if kercn == 1 kercn 77 modules/imgproc/src/opencl/histogram.cl #elif kercn == 4 kercn 83 modules/imgproc/src/opencl/histogram.cl #elif kercn >= 2 kercn 87 modules/imgproc/src/opencl/histogram.cl #if kercn >= 4 kercn 90 modules/imgproc/src/opencl/histogram.cl #if kercn >= 8 kercn 95 modules/imgproc/src/opencl/histogram.cl #if kercn == 16 kercn 82 modules/imgproc/src/opencl/pyr_down.cl #if kercn == 4 kercn 110 modules/imgproc/src/opencl/pyr_down.cl #if kercn == 4 kercn 134 modules/imgproc/src/opencl/pyr_down.cl const int x = get_global_id(0)*kercn; kercn 152 modules/imgproc/src/opencl/pyr_down.cl #if kercn == 1 kercn 184 modules/imgproc/src/opencl/pyr_down.cl #if kercn == 1 kercn 216 modules/imgproc/src/opencl/pyr_down.cl #if kercn == 1 kercn 1089 modules/imgproc/src/pyramids.cpp int kercn = 1; kercn 1091 modules/imgproc/src/pyramids.cpp kercn = 4; kercn 1102 modules/imgproc/src/pyramids.cpp cn, kercn, float_depth, borderMap[borderType], local_size kercn 1110 modules/imgproc/src/pyramids.cpp size_t localThreads[2] = { local_size/kercn, 1 }; kercn 1111 modules/imgproc/src/pyramids.cpp size_t globalThreads[2] = { (src.cols + (kercn-1))/kercn, (dst.rows + 1) / 2 }; kercn 1142 modules/imgproc/src/thresh.cpp kercn = ocl::predictOptimalVectorWidth(_src, _dst), ktype = CV_MAKE_TYPE(depth, kercn); kercn 1172 modules/imgproc/src/thresh.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnly(dst, cn, kercn), kercn 1177 modules/imgproc/src/thresh.cpp size_t globalsize[2] = { dst.cols * cn / kercn, dst.rows };