Searched refs:histRedKern (Results 1 – 1 of 1) sorted by relevance
/dports/graphics/tesseract/tesseract-5.0.0/src/opencl/ |
H A D | openclwrapper.cpp | 1548 KernelEnv histRedKern; in HistogramRectOCL() local 1549 SetKernelEnv(&histRedKern); in HistogramRectOCL() 1605 histRedKern.mpkKernel = clCreateKernel(histRedKern.mpkProgram, in HistogramRectOCL() 1613 histRedKern.mpkKernel = clCreateKernel(histRedKern.mpkProgram, in HistogramRectOCL() 1639 clStatus = clSetKernelArg(histRedKern.mpkKernel, 0, sizeof(cl_int), &n); in HistogramRectOCL() 1641 clStatus = clSetKernelArg(histRedKern.mpkKernel, 1, sizeof(cl_mem), &tmpHistogramBuffer); in HistogramRectOCL() 1643 clStatus = clSetKernelArg(histRedKern.mpkKernel, 2, sizeof(cl_mem), &histogramBuffer); in HistogramRectOCL() 1655 clStatus = clEnqueueNDRangeKernel(histRedKern.mpkCmdQueue, histRedKern.mpkKernel, 1, nullptr, in HistogramRectOCL() 1658 clFinish(histRedKern.mpkCmdQueue); in HistogramRectOCL() 1664 ptr = clEnqueueMapBuffer(histRedKern.mpkCmdQueue, histogramBuffer, CL_TRUE, CL_MAP_READ, 0, in HistogramRectOCL() [all …]
|