2018-02-19 13:53:48 +01:00
|
|
|
# Intel(R) Graphics Compute Runtime for OpenCL(TM)
|
|
|
|
|
|
|
|
|
|
## Building
|
|
|
|
|
|
2019-10-31 12:41:43 +01:00
|
|
|
*Instructions assume clean Centos 8.0.1905 installation.**
|
2018-02-19 13:53:48 +01:00
|
|
|
|
2019-10-31 12:41:43 +01:00
|
|
|
1. Download & install required packages
|
2018-02-19 13:53:48 +01:00
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
|
|
```shell
|
2019-10-31 12:41:43 +01:00
|
|
|
sudo dnf install gcc-c++ cmake git make
|
2018-02-19 13:53:48 +01:00
|
|
|
```
|
|
|
|
|
|
2019-07-02 08:10:37 -04:00
|
|
|
2. Install required dependencies
|
2018-10-17 15:45:14 +02:00
|
|
|
|
2019-10-31 12:41:43 +01:00
|
|
|
Neo requires:
|
|
|
|
|
- [Intel(R) Graphics Compiler for OpenCL(TM)](https://github.com/intel/intel-graphics-compiler)
|
|
|
|
|
- [Intel(R) Graphics Memory Management](https://github.com/intel/gmmlib)
|
2018-10-17 15:45:14 +02:00
|
|
|
|
2019-10-31 12:41:43 +01:00
|
|
|
Please visit theirs repositories for building and instalation instructions or use packages from
|
|
|
|
|
[copr repository](https://copr.fedorainfracloud.org/coprs/jdanecki/intel-opencl)
|
|
|
|
|
Use versions compatible with selected [Neo release](https://github.com/intel/compute-runtime/releases)
|
2018-10-17 15:45:14 +02:00
|
|
|
|
|
|
|
|
3. Create workspace folder and download sources:
|
|
|
|
|
|
2018-02-19 13:53:48 +01:00
|
|
|
Example:
|
|
|
|
|
|
|
|
|
|
```shell
|
2019-10-31 12:41:43 +01:00
|
|
|
mkdir workspace
|
|
|
|
|
cd workspace
|
2018-02-19 13:53:48 +01:00
|
|
|
git clone https://github.com/intel/compute-runtime neo
|
|
|
|
|
```
|
|
|
|
|
|
2018-10-17 15:45:14 +02:00
|
|
|
4. Create folder for build:
|
2018-02-19 13:53:48 +01:00
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
mkdir build
|
|
|
|
|
```
|
|
|
|
|
|
2018-10-17 15:45:14 +02:00
|
|
|
5. Enabling additional extension
|
2018-04-18 16:27:52 +02:00
|
|
|
|
|
|
|
|
* [cl_intel_va_api_media_sharing](https://github.com/intel/compute-runtime/blob/master/documentation/cl_intel_va_api_media_sharing.md)
|
|
|
|
|
|
2019-10-31 12:41:43 +01:00
|
|
|
6. Build and install
|
2018-02-19 13:53:48 +01:00
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
cd build
|
2019-10-31 12:41:43 +01:00
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release -DSKIP_UNIT_TESTS=1 ../neo
|
|
|
|
|
make -j`nproc`
|
|
|
|
|
sudo make install
|
2018-02-19 13:53:48 +01:00
|
|
|
```
|
|
|
|
|
|
2019-12-20 08:58:32 +01:00
|
|
|
___(*) Other names and brands may be claimed as property of others.___
|