Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

BKM: How to build NEO for OpenCL on CentOS

dpatel257 edited this page Mar 26, 2020 · 1 revision

NEO is the shorthand name for Compute Runtime.

The Intel(R) Graphics Compute Runtime for oneAPI Level Zero and OpenCL(TM) Driver is an open source project providing compute API support for Intel graphics hardware architectures (HD Graphics, Xe).

Where NEO installtion on ubuntu is merely installing deb packages available on compute-runtime github page, CentOS installation is tricky and has to be done from scratch.

Here are the steps from opencl.m4 with description.

According to build guide from NEO it requires:

Please follow opencl.m4 for detailed build instructions on all of the above.

After the dependencies opencl template also follow following steps to build the NEO and install it.

cd neo
git checkout 18.41.11649
mkdir build
cd build
scl enable devtoolset-4 "PKG_CONFIG_PATH=/usr/lib/pkgconfig/ cmake -DCMAKE_BUILD_TYPE=Release .."
scl enable devtoolset-4 "make -j$(nproc) package"
rpm -ivh intel-opencl-18.41-0.x86_64-igdrcl.rpm ```