Files
El Mehdi YOUNES d2a82364ac package/opencl-icd-loader: new package
This adds the OpenCL installable client driver (ICD) loader
which provides the 'libOpenCL.so' shared library needed to
run OpenCL programs.

Mesa3D can offer opencl implementations (such as rusticl),
but it does not provide 'libOpenCL.so'.

Without it, programs like 'clinfo' fail to build not
finding 'libOpenCL.so'.

see:
https://github.com/KhronosGroup/OpenCL-ICD-Loader

Signed-off-by: El Mehdi YOUNES <elmehdi.younes@smile.fr>
[Julien: add Medhi in DEVELOPERS for this package]
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-06-07 21:44:36 +02:00

13 lines
482 B
Plaintext

config BR2_PACKAGE_OPENCL_ICD_LOADER
bool "OpenCL-ICD-Loader"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_PACKAGE_HAS_LIBOPENCL
select BR2_PACKAGE_OPENCL_HEADERS
help
OpenCL defines an Installable Client Driver (ICD) mechanism to
allow developers to build applications against an Installable
Client Driver loader (ICD loader) rather than linking their
applications against a specific OpenCL implementation.
https://github.com/KhronosGroup/OpenCL-ICD-Loader