Currently there's no easy way to see what the result of the settings in "Options - LibreOffice - OpenCL" will be. It would be useful to show whether OpenCL will be used based on the active OpenCL whitelist and blacklist settings, and if possible which implementation.
The setting around OpenCL are available in opencl/source/openclconfig. The OpenCL dialog is in cui/source/options/optopencl.cxx and cui/uiconfig/ui/optopenclpage.ui
Ideally we shouldn't have the white and black lists visible in the UI at all. I don't have any expectation that actual end-users will ever understand what they mean, or edit them. (This is my personal opinion.)
Migrating Whiteboard tags to Keywords: (easyHack, difficultyBeginner, skillCpp) [NinjaEdit]
JanI is default CC for Easy Hacks (Add Jan; remove LibreOffice Dev List from CC) [NinjaEdit]
I will try to fix this bug.
(In reply to JIří Burant from comment #5) > I will try to fix this bug. Super, let us (me) know if you need help. Also have a look at: https://wiki.documentfoundation.org/Development/GetInvolved happy hacking
I'm currently struggling with this bug. I went through the files concerning openCL, but I cant find a method which would give me the actual openCL setting on the computer, so I can compare it with the black and white lists. The only reasonable thing I found, that could be doing this is 'gpuEnv' from 'openclwrapper.cxx': GPUEnv gpuEnv; respectively: gpuEnv.mpDevID But I am not sure what does this variable mean, or what does it do. Thanks for help
A polite ping, still working on this bug?
Yes, I have submitted it for a review, I got some feedback, but the reviewers didnt really agree how it should look like, so I am waiting for a decesive response.
Unassign due to lack of work
JBurant committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=c58ef7f10839d78859c470c160fe20ae2d49e6ab tdf#90336, make it visible in options, if openCL will be used It will be available in 5.3.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Still needs some cleanup based on Tor's comments ... =)
I've pushed a cleanup patch here - unfortunately - this is no longer an easy hack; there is some nasty thinking to be done around how OpenCL is enabled or not enabled - pwrt. its first use. So - taking the rest of this =)
Michael Meeks committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ef47ce2397d4ed453fe01d994d13a13f442ec3bb tdf#90336 - further cleanup of OpenCL options page. It will be available in 5.3.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
I think this can be resolved now. As we now do the OpenCL verification early on first-time start (with an empty profile), probably the indication matches reality.