Lines Matching refs:threads
113 const dim3 threads(32, 8);
114 const dim3 grid(divUp(result.cols, threads.x), divUp(result.rows, threads.y));
116 matchTemplateNaiveKernel_CCORR<T, cn><<<grid, threads, 0, stream>>>(templ.cols, templ.rows, image, templ, result);
183 const dim3 threads(32, 8);
184 const dim3 grid(divUp(result.cols, threads.x), divUp(result.rows, threads.y));
186 matchTemplateNaiveKernel_SQDIFF<T, cn><<<grid, threads, 0, stream>>>(templ.cols, templ.rows, image, templ, result);
239 const dim3 threads(32, 8);
240 const dim3 grid(divUp(result.cols, threads.x), divUp(result.rows, threads.y));
242 matchTemplatePreparedKernel_SQDIFF_8U<cn><<<grid, threads, 0, stream>>>(w, h, image_sqsum, templ_sqsum, result);
311 const dim3 threads(32, 8);
312 const dim3 grid(divUp(result.cols, threads.x), divUp(result.rows, threads.y));
314 matchTemplatePreparedKernel_SQDIFF_NORMED_8U<cn><<<grid, threads, 0, stream>>>(w, h, image_sqsum, templ_sqsum, result);
354 dim3 threads(32, 8);
355 dim3 grid(divUp(result.cols, threads.x), divUp(result.rows, threads.y));
357 matchTemplatePreparedKernel_CCOFF_8U<<<grid, threads, 0, stream>>>(w, h, (float)templ_sum / (w * h), image_sum, result);
396 dim3 threads(32, 8);
397 dim3 grid(divUp(result.cols, threads.x), divUp(result.rows, threads.y));
399 matchTemplatePreparedKernel_CCOFF_8UC2<<<grid, threads, 0, stream>>>(
451 dim3 threads(32, 8);
452 dim3 grid(divUp(result.cols, threads.x), divUp(result.rows, threads.y));
454 matchTemplatePreparedKernel_CCOFF_8UC3<<<grid, threads, 0, stream>>>(
517 dim3 threads(32, 8);
518 dim3 grid(divUp(result.cols, threads.x), divUp(result.rows, threads.y));
520 matchTemplatePreparedKernel_CCOFF_8UC4<<<grid, threads, 0, stream>>>(
567 dim3 threads(32, 8);
568 dim3 grid(divUp(result.cols, threads.x), divUp(result.rows, threads.y));
574 matchTemplatePreparedKernel_CCOFF_NORMED_8U<<<grid, threads, 0, stream>>>(
627 dim3 threads(32, 8);
628 dim3 grid(divUp(result.cols, threads.x), divUp(result.rows, threads.y));
636 matchTemplatePreparedKernel_CCOFF_NORMED_8UC2<<<grid, threads, 0, stream>>>(
704 dim3 threads(32, 8);
705 dim3 grid(divUp(result.cols, threads.x), divUp(result.rows, threads.y));
715 matchTemplatePreparedKernel_CCOFF_NORMED_8UC3<<<grid, threads, 0, stream>>>(
793 dim3 threads(32, 8);
794 dim3 grid(divUp(result.cols, threads.x), divUp(result.rows, threads.y));
806 matchTemplatePreparedKernel_CCOFF_NORMED_8UC4<<<grid, threads, 0, stream>>>(
844 dim3 threads(32, 8);
845 dim3 grid(divUp(result.cols, threads.x), divUp(result.rows, threads.y));
850 normalizeKernel_8U<1><<<grid, threads, 0, stream>>>(w, h, image_sqsum, templ_sqsum, result);
853 normalizeKernel_8U<2><<<grid, threads, 0, stream>>>(w, h, image_sqsum, templ_sqsum, result);
856 normalizeKernel_8U<3><<<grid, threads, 0, stream>>>(w, h, image_sqsum, templ_sqsum, result);
859 normalizeKernel_8U<4><<<grid, threads, 0, stream>>>(w, h, image_sqsum, templ_sqsum, result);
889 dim3 threads(32, 8);
890 dim3 grid(divUp(result.cols, threads.x), divUp(result.rows, threads.y));
895 extractFirstChannel_32F<1><<<grid, threads, 0, stream>>>(image, result);
898 extractFirstChannel_32F<2><<<grid, threads, 0, stream>>>(image, result);
901 extractFirstChannel_32F<3><<<grid, threads, 0, stream>>>(image, result);
904 extractFirstChannel_32F<4><<<grid, threads, 0, stream>>>(image, result);