OpenCL Installable Client Driver Loader

SDAccel™ supports the OpenCL™ ICD extension (cl_khr_icd). The OpenCL ICD Loader Library allows multiple implementations of OpenCL to co-exist on the same system. Applications may choose a platform from the list of installed platforms and hence dispatch OpenCL API calls to the correct underlying implementation.

Xilinx® does not provide the OpenCL ICD library and the following should be used to install the library on your preferred system:

On Ubuntu ICD the library is packaged with the distribution, install the following packages:
  • ocl-icd-libopencl1
  • opencl-headers
  • ocl-icd-opencl-dev
For RHEL/CentOS 7.X use EPEL 7, install the following packages:
  • ocl-icd
  • ocl-icd-devel
  • opencl-headers
For RHEL/CentOS 6.X the following procedure may be used:
  1. Install prerequisites.
    linux> yum install libICE libSM libXext libpng libXrender 
    fontconfig numactl redhat-lsb-core
  2. Install the OpenCL SDK RPMs.
    linux> rpm -i /proj/picasso/centos/OpenCL-RPMS/*.rpm
  3. Install xilinx.icd.
    linux> cat <<EOF > /etc/OpenCL/vendors/xilinx.icd
     linux> EOF