Visible to Intel only — GUID: GUID-DE075337-72FD-4B83-9157-75FC8FB7EC1D
Visible to Intel only — GUID: GUID-DE075337-72FD-4B83-9157-75FC8FB7EC1D
Install OpenCL™ Offline Compiler (OCLOC)
This topic targets Linux* users who want to use Ahead-of-Time (AOT) Compilation to generate binaries for one or multiple selected devices. For details about the AOT feature, please refer to the Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference.
There are currently three operating systems supported:
The instructions to install the Install OpenCL™ Offline Compiler (OCLOC) are listed below.
RHEL 8.0
To access OCLOC packages, add the repository to your system and then install the packages using DNF. Root permission is required.
cat << EOF | sudo tee /etc/yum.repos.d/intel-graphics.repo [intel-graphics] name=Intel Graphics Drivers Repository baseurl=https://repositories.intel.com/graphics/rhel/8.0/ enabled=1 gpgcheck=0 EOF sudo dnf install intel-ocloc
Ubuntu 18.04
To access OCLOC packages, add the repository to your system and install the packages using apt. Root permission is required.
cat << EOF | sudo tee /etc/apt/sources.list.d/intel-graphics.list deb [trusted=yes arch=amd64] https://repositories.intel.com/graphics/ubuntu bionic main EOF sudo apt-get update sudo apt-get install intel-ocloc
Ubuntu 19.10
To access OCLOC packages, add the repository to your system and install the packages using apt. Root permission is required.
cat << EOF | sudo tee /etc/apt/sources.list.d/intel-graphics.list deb [trusted=yes arch=amd64] https://repositories.intel.com/graphics/ubuntu eoan main EOF sudo apt-get update sudo apt-get install intel-opencl-icd
Did you find the information on this page useful?
Feedback Message
Characters remaining: