Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
2 contributors

Users who have contributed to this file

@ArturHarasimiuk @JacekDanecki
71 lines (45 sloc) 1.8 KB

Intel(R) Graphics Compute Runtime for OpenCL(TM)

Building

Instructions assume clean Centos 7.4.1708 installation.*

  1. Download & install required dependencies

Example:

sudo yum groups install  "Development Tools"
sudo yum install centos-release-scl epel-release
sudo yum install devtoolset-4-gcc-c++ cmake3 ninja-build
sudo /usr/sbin/alternatives --install /usr/bin/cmake cmake /usr/bin/cmake3 50
  1. Instal required dependencies

Neo requires Intel(R) Graphics Compiler for OpenCL(TM) and Intel(R) Graphics Memory Management to be installed on your system.

Please visit IGC and GmmLib repositories to build and install intel-igc-opencl-devel and intel-gmmlib-devel packages including all required dependencies

  1. Create workspace folder and download sources:

Example:

	workspace
	  |- neo                https://github.com/intel/compute-runtime

Example:

git clone https://github.com/intel/compute-runtime neo

Note: Instructions for compiling Intel Graphics Compiler copied from https://github.com/intel/intel-graphics-compiler/blob/master/README.md

  1. Create folder for build:

Example:

mkdir build
  1. Enabling additional extension
  1. Build complete driver:
cd build
scl enable devtoolset-4 "cmake -DBUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release ../neo"
scl enable devtoolset-4 "make -j `nproc` package"

Installing

To install OpenCL driver please use rpm package generated during build

Example:

sudo rpm -i intel-opencl-1.0-0.x86_64-igdrcl.rpm

(*) Other names and brands my be claimed as property of others.

You can’t perform that action at this time.