LibreOffice Calc has some OpenCL support, but Beignet GPU isn't visible for LibreOffice Calc. Steps to reproduce: OpenCL could be enabled from Calc by: Tools->Options->In left pane choose: "LibreOffice Calc"->Formula->Detailed calculation settings->Custom->Details...->Click: "Enable OpenCL for some formula computations"->Choose under the list: Value: True. After that, you will see a list of available Platform/Devices at the bottom of the window, but no Intel GPU. I've tried on Ubuntu 14.04 x64 with Beignet 1.0.1 (Intel i5 3470) and LibreOffice 4.2 (stock) and 4.3.5 (from ubuntu ppa)
Created attachment 112959 [details] LibreOffice settings: Intel GPU not in the list
Created attachment 112960 [details] clinfo output
Given the fact the clinfo could find beignet, I guess there are some black list mechanism in libreoffice. It should be a issue in libreoffice rather than in beignet.
I thought may be libreoffice failed to compile its OpenCL kernels or something like that. Could it be the case? Or should I go to libreoffice bug tracker?
(In reply to gnn from comment #4) > I thought may be libreoffice failed to compile its OpenCL kernels or > something like that. Could it be the case? Or should I go to libreoffice bug > tracker? I don't think so, as beignet is not in the list. Libreoffice doesn't need to test each opencl platforms/devices before the user even choose them. I don't know which libreoffice version you are using. I just checked the 4.4, and there is an OpenCL option to set a whitelist and blacklist.
I've just installed Libre Office 4.4. It looks like they updated OpenCL support and UI for it. But in version 4.4 I don't see any way to get list of detected (used) devices (like in 4.3 on screenshot). Only general black and white lists.
(In reply to gnn from comment #6) > I've just installed Libre Office 4.4. It looks like they updated OpenCL > support and UI for it. But in version 4.4 I don't see any way to get list of > detected (used) devices (like in 4.3 on screenshot). Only general black and > white lists. You may ask the libre office community to find out how to know the available ocl platforms in libre office 4.4.
As we haven't found any specific beignet related issue here, I preferred to close this bug now. If you could provide further information to indicate beignet's not doing the right thing with LibreOffice, you are welcome to reopen or file a new bug. Thanks.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.