
The available packages containing various OpenCL ICDs are: This is necessary because all the SDKs add their runtime's lib directories to the search path through ld.so.conf.d files. If you want to ensure the ICD loader from the ocl-icd package is used, you can create a file in /etc/ld.so.conf.d which adds /usr/lib to the dynamic program loader's search directories: The other ICD loader libraries are installed as part of each vendor's SDK. Unfortunately, most vendors do not provide completely up-to-date ICD loaders, and therefore Arch Linux has decided to provide this library from a separate project ( ocl-icd) which currently provides a functioning implementation of the current OpenCL API. Most OpenCL vendors provide their own implementation of an OpenCL ICD loader, and these should all work with the other vendors' OpenCL implementations. The OpenCL ICD loader is supposed to be a platform-agnostic library that provides the means to load device-specific drivers through the OpenCL API. pocl: LLVM-based OpenCL implementation (hardware independent).
intel-opencl-runtime AUR: the implementation for Intel Core and Xeon processors.
intel-opencl AUR: the proprietary implementation for Intel HD Graphics GPU on Gen7 (Ivy Bridge) and beyond, deprecated by Intel in favour of NEO OpenCL driver, remains recommended solution for legacy HW platforms (e.g. beignet AUR: the open-source implementation for Intel HD Graphics GPU on Gen7 (Ivy Bridge) and beyond, deprecated by Intel in favour of NEO OpenCL driver, remains recommended solution for legacy HW platforms (e.g. the Neo OpenCL runtime, the open-source implementation for Intel HD Graphics GPU on Gen8 (Broadwell) and beyond. rocm-opencl-runtime AUR: Part of AMD's ROCm GPU compute stack, officially supporting GFX8 and later cards (Fiji, Polaris, Vega), with unofficial and partial support for Navi10 based cards. opencl-amd AUR: proprietary standalone runtime for AMDGPU and AMDGPU PRO. opencl-mesa: free runtime for AMDGPU and Radeon. To execute programs that use OpenCL, a compatible hardware runtime needs to be installed. Tip: The clinfo utility can be used to list OpenCL platforms, devices present and ICD loader properties.