raffaeldantas / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
1 stars 0 forks source link

QEMU OpenCL error #1213

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
While trying to run tesseract with openCL on our vServers I get the following 
error:
Tesseract Open Source OCR Engine v3.03 with Leptonica
[DS] Profile file not available (tesseract_opencl_profile_devices.dat); 
performing profiling.

[DS] Device: "QEMU Virtual CPU version 1.0" (OpenCL) evaluation...
OpenCL error code is -2 at   when populateGPUEnv::createContext .
OpenCL error code is -34 at   when populateGPUEnv::createCommandQueue .
OpenCL error code is -1 at   when clGetDeviceIDs .
OpenCL error code is -34 at   when clCreateProgramWithSource .
OpenCL error code is -44 at   when clCreateKernel .
OpenCL error code is -48 at   when clSetKernelArg .
OpenCL error code is -48 at   when clSetKernelArg .
OpenCL error code is -48 at   when clSetKernelArg .
OpenCL error code is -48 at   when clSetKernelArg .
OpenCL error code is -48 at   when clSetKernelArg .
OpenCL error code is -36 at   when clEnqueueNDRangeKernel .
OpenCL error code is -36 at   when clEnqueueMapBuffer outputCl .
OpenCL error code is -34 at   when clCreateBuffer imageBuffer .
OpenCL error code is -34 at   when clCreateBuffer histogramBuffer .
OpenCL error code is -34 at   when clCreateBuffer tmpHistogramBuffer .
OpenCL error code is -34 at   when clCreateBuffer atomicSyncBuffer .
OpenCL error code is -44 at   when clCreateKernel 
kernel_HistogramRectAllChannels .
OpenCL error code is -44 at   when clCreateKernel 
kernel_HistogramRectAllChannelsReduction .
OpenCL error code is -36 at   when clEnqueueMapBuffer tmpHistogramBuffer .
Segmentation fault (core dumped)

Leptonica and Tesseract are both i newest versions. tesseract -v displays:
tesseract 3.03
 leptonica-1.70
  libjpeg 8d : libpng 1.2.50 : libtiff 4.0.3 : zlib 1.2.8

 OpenCL info:
  Found 1 platforms.
  Platform name: Intel(R) OpenCL.
  Version: OpenCL 1.2 LINUX.
  Found 1 devices.
    Device 1 name: QEMU Virtual CPU version 1.0.

Regards,
Lukas

Original issue reported on code.google.com by lukasstr...@googlemail.com on 24 May 2014 at 4:59

GoogleCodeExporter commented 9 years ago

Original comment by zde...@gmail.com on 16 Apr 2015 at 7:26

GoogleCodeExporter commented 9 years ago
OpenCL support is not available on virtual systems.

Original comment by amdass...@gmail.com on 15 Jun 2015 at 11:24

GoogleCodeExporter commented 9 years ago

Original comment by zde...@gmail.com on 17 Jun 2015 at 7:45