Bug 160577

Summary: Enable OpenCL with Apple Silicon
Product: LibreOffice Reporter: jctang <tangjinchuan>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: enhancement CC: serval2412
Priority: medium    
Version: 24.2.0.3 release   
Hardware: ARM   
OS: macOS (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 97391    

Description jctang 2024-04-07 14:45:31 UTC
Dear Calc developers,

It seems that OpenCL on the Apple silicon version of libreoffice calc could not be enabled even after confirming and restarting the program after selecting OpenCL in the preferences. Could you please have a look?

Meanwhile, I may offer some help on this issue if someone can kindly point the direction. It looked like it either does not support OpenCL 1.2 (Apple deprecated version) or could not load/find the libopencl.so. The former made me skeptical for I could enable calc's OpenCL in an Intel xe GPU.

By the way, thank you for your loads of supports coming in https://cgit.freedesktop.org/libreoffice/core/log/?qt=grep&q=OpenCL owing to Luboš Luňák and others. The median was deleted due to lacking a sort algorithm, which may need someone to fix for GPU-based bitonic sort is a good candidate.  

Thank you very much!

Best wishes,
Jinchuan Tang
Comment 1 Julien Nabet 2024-04-07 21:02:41 UTC
If interested in code contributing, you may start with this page:
https://wiki.documentfoundation.org/Development/GetInvolved

First thing would be to build LO locally.
For macOS, this page may help:
https://wiki.documentfoundation.org/Development/BuildingOnMac