libreoffice-opencl_profile-opencl_devices-registrymodifications.xcu
Choose Tools - Options - LibreOffice - OpenCL.
Can’t enable OpenCL, as after restarting LibreOffice, the checkbox is unchecked again and OpenCL is not used.
Can’t enable OpenCL.
$ clinfo -l
Platform #0: Clover
`-- Device #0: AMD RENOIR (DRM 3.40.0, 5.10.221-slitaz64, LLVM 13.0.0)
$ cat .config/libreoffice/4/cache/opencl_profile.xml
<?xml version="1.0" encoding="UTF-8"?>
<profile>
<version>LibreOffice v1</version>
<device>
<type>opencl</type>
<name>AMD RENOIR (DRM 3.40.0, 5.10.221-slitaz64, LLVM 13.0.0)</name>
<driver>21.3.8</driver>
<time>max</time>
<errors>true</errors>
</device>
<device>
<type>native</type>
<time>1678848</time>
<errors>false</errors>
</device>
</profile>
$ cat .config/libreoffice/4/cache/opencl_devices.log
Device Index: 0
Selected: false
Device Name: AMD RENOIR (DRM 3.40.0, 5.10.221-slitaz64, LLVM 13.0.0)
Device Vendor: AMD
Device Version: OpenCL 1.1 Mesa 21.3.8
Driver Version: 21.3.8
Device Type: gpu
Device Extensions: cl_khr_byte_addressable_store
cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics
cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics
cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp64
cl_khr_extended_versioning
Device OpenCL C Version: OpenCL C 1.1
Device Available: true
Device Compiler Available: true
Device Linker Available: true
Platform Name: Clover
Platform Vendor: Mesa
Platform Version: OpenCL 1.1 Mesa 21.3.8
Platform Profile: FULL_PROFILE
Platform Extensions: cl_khr_icd
$ grep OpenCL .config/libreoffice/4/user/registrymodifications.xcu
<item oor:path="/org.openoffice.Office.Common/Misc"><prop
oor:name="OpenCLAllowList"
oor:op="fuse"><value><it>//Advanced Micro Devices,
Inc\.//</it><it>//Intel\(R\)
Corporation//</it><it>//NVIDIA
Corporation//</it><it>Linux//Advanced Micro Devices,
Inc\.//1445\.5
\(sse2,avx\)</it></value></prop></item>
<item oor:path="/org.openoffice.Office.Common/Misc"><prop
oor:name="OpenCLDenyList"
oor:op="fuse"><value><it>Windows//Intel\(R\)
Corporation//3\.0\.1\.10891</it><it>Windows//Intel\(R\)
Corporation//4\.2\.0\.99</it><it>Windows//Intel\(R\)
Corporation//5\.2\.0\.10049</it><it>Windows//Intel\(R\)
Corporation//9\.17\.10\.2884</it></value></prop></item>
<item oor:path="/org.openoffice.Office.Common/Misc"><prop
oor:name="UseOpenCL"
oor:op="fuse"><value>false</value></prop></item>