OpenCL Installable Client Driver Loader - 2023.2 English

Vitis Unified Software Platform Documentation: Application Acceleration Development (UG1393)

Document ID
UG1393
Release Date
2023-12-13
Version
2023.2 English

The AMD Vitis™ environment supports the OpenCL™ Installable Client Driver (ICD) extension (cl_khr_icd). This extension allows multiple implementations of OpenCL to co-exist on the same system. The ICD Loader acts as a supervisor for all installed platforms, and provides a standard handler for all API calls.

Applications can choose an OpenCL platform from the list of installed platforms. Based on the platform ID specified by the application, the ICD dispatches the OpenCL host calls to the right runtime.

Tip: This is an optional package to install if your system has or uses multiple versions of the OpenCL library.

AMD does not provide the OpenCL ICD library, so the following should be used to install the library on your system.

Ubuntu

On Ubuntu the ICD library is packaged with the distribution. Install the following packages:
sudo apt-get install ocl-icd-libopencl1
sudo apt-get install opencl-headers
sudo apt-get install ocl-icd-opencl-dev

RHEL/CentOS

For RHEL/CentOS use EPEL to install the following packages:
sudo yum install ocl-icd
sudo yum install ocl-icd-devel
sudo yum install opencl-headers
Note: Refer to https://fedoraproject.org/wiki/EPEL for information on installing EPEL if needed.