-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenCL segfault #53
Comments
Ray says, I think there is a bug in InitDSProfile. I suspect if you change if (status == SUCCESS) to if (status == SUCCESS && profile->numDevices > 0) |
still trouble |
note that if we get through this, I will probably enable OpenCL by default for Debian/Ubuntu |
I'm in stuck. How this code (located at oclkernels.h:1086) can work:
where maximum value of index can be 4x higher that size of imageData array
|
I get a similar looking segfault (but I didn't confirm with gdb) even on a computer that contains a discrete graphics card. Is OpenCL working for anyone at all? |
it worked for me on some images (there are some issues reported already - IMO 2 color tiff should work). Last week it segfault on linux. I will try windows today... |
I can't get fully worked OpenCL configuration. But I have a much different environment (without any other dependencies except leptonica). I've got errors like: |
I am not sure what do you mean with "any other dependencies except leptonica" - to run tesseract with opencl support you need libtiff and opencl sdk that support your hardware... |
@jbreiden: [DS] Device: "Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz" (OpenCL) evaluation... [DS] Device: "Intel(R) HD Graphics 4600" (OpenCL) evaluation... [DS] Device: "(null)" (Native) evaluation... The quick brown dog jumped over the |
Just made a bit changes to exclude libtiff dependency. |
spSerg: you can request attention, but if we can't reproduce you need to supply more information, such as a backtrace from gdb or the output of valgrind (either works much better when ./configure is run with --enable-debug) |
I'm having an unexpectedly hard time with this. |
|
Hardware is a Ubuntu 14.04 laptop with integrated Intel graphics.
The text was updated successfully, but these errors were encountered: