Files
compute-runtime/documentation/cl_intel_va_api_media_sharing.md
Jacek Danecki aee6d10f1f update build documentation
- add information about libdrm and libva compilation
  libva is needed to support cl_intel_va_api_media_sharing extension
  libdrm is needed to compile libva
- add information about building on Centos 7

Change-Id: I56df50c7d312b4e5be0f85576300a5d1ba311e80
2018-04-27 22:20:10 +02:00

1.1 KiB

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

Enabling cl_intel_va_api_media_sharing extension

To enable cl_intel_va_api_media_sharing extension Neo needs to be compiled on system with libva 2.x installed. Before compilation additional packages have to be installed.

  1. Download sources:

Example:

git clone https://anongit.freedesktop.org/git/mesa/drm.git libdrm
git clone https://github.com/intel/libva.git libva

2. Compile and install libdrm

Example:

```shell
cd libdrm
./autogen.sh
make -j `nproc`
sudo make install
  1. Compile and install libva

Example:

cd libva
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
./autogen.sh
make -j `nproc`
sudo make install
  1. During Neo compilation verify libva was discovered
-- Checking for module 'libva>=1.0.0'
--   Found libva, version 1.1.0
-- Looking for vaGetLibFunc in va
-- Looking for vaGetLibFunc in va - found
-- Using libva