missing tesseract_opencl_profile_devices.dat (or how to disable OpenCL)

44 views
Skip to first unread message

Markus Leuthold

unread,
Jul 16, 2023, 11:21:48 AM7/16/23
to tesseract-ocr
I'm using tesseract-ocr built by OpenSuse TW. For each ocr run, an error appears about a missing profile file, then a new file tesseract_opencl_profile_devices.dat is created. The 2nd run with the profile file is then successful. How do I disable opencl at all (at run time, not at compile time) or fix the issue with the profile file?

Zdenko Podobny

unread,
Jul 16, 2023, 1:05:20 PM7/16/23
to tesser...@googlegroups.com
There is no possibility to disable OpenCL at run time.
OpenCL is disabled by default and marked as experimental, not suggested by the forum/issue tracker, etc. 
It is there (as compile option) only as a startup point for possible developers. 

Zdenko


ne 16. 7. 2023 o 17:21 Markus Leuthold <markus....@titlis.org> napísal(a):
I'm using tesseract-ocr built by OpenSuse TW. For each ocr run, an error appears about a missing profile file, then a new file tesseract_opencl_profile_devices.dat is created. The 2nd run with the profile file is then successful. How do I disable opencl at all (at run time, not at compile time) or fix the issue with the profile file?

--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/3a8bbf6a-d52c-4962-94fb-d94717b940b7n%40googlegroups.com.

Markus Leuthold

unread,
Jul 16, 2023, 3:13:28 PM7/16/23
to tesseract-ocr
It looks like OpenSuse TW builds the package with "--enable-opencl"
Would you consider this a bad choice and prefer to build without opencl for a large distribution such as OpenSuse?

Zdenko Podobny

unread,
Jul 16, 2023, 3:19:54 PM7/16/23
to tesser...@googlegroups.com
It is incompetent and irresponsible to use an experimental code in production/distribution.


Zdenko


ne 16. 7. 2023 o 21:13 Markus Leuthold <markus....@titlis.org> napísal(a):

Markus Leuthold

unread,
Jul 16, 2023, 3:52:31 PM7/16/23
to tesseract-ocr
thanks for the answer, I will file a bug report at opensuse
Reply all
Reply to author
Forward
0 new messages