BKM: How to build NEO for OpenCL on CentOS - OpenVisualCloud/Dockerfiles GitHub Wiki

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 ```