compute-runtime/documentation/BUILD_Ubuntu.md

1.6 KiB

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

Building

Instructions assume clean Ubuntu 16.04.3 LTS installation.*

  1. Download & install required packages

Example:

sudo apt-get install ccache cmake g++ git pkg-config

See LIMITATIONS.md for other requirements and dependencies, when building and installing NEO.

  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 theirs repositories 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
  1. Create folder for build:

Example:

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

Installing

To install OpenCL driver please use deb package generated during build

Example:

sudo dpkg -i intel-opencl-*.x86_64-igdrcl.deb

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