This project will no longer be maintained by Intel.
Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project.
Intel no longer accepts patches to this project.
If you have an ongoing need to use this project, are interested in independently developing it, or would like to maintain patches for the open source software community, please create your own fork of this project.
Table of contents
- CMake, version >= 3.10
- pkg-config, latest version.
- libffi, latest version.
- OpenCL headers, latest version.
- Level Zero development package, latest version.
- Get the source code and put to <PATH TO SOURCE>
- mkdir <BUILD DIRECTORY> && cd <BUILD DIRECTORY>
- cmake [OPTIONS, see below] <PATH TO SOURCE>
By default system-installed headers and libraries shall be used. To override some locations the following cmake options can be used
cmake -DOPENCL_HEADERS_PATH=<PATH TO OPENCL HEADERS>
cmake -DLevelZero_INCLUDE_DIR=<PATH CONTAINING level_zero subdir with headers>
cmake -DLevelZero_LIBRARY=<PATH TO>libze_loader.so
Local building for ESIMD_EMULATION support for DPCPP/esimd (https://github.com/intel/llvm) without dependency on OpenCL/LevelZero. This option suppresses shim-layer build.
cmake -D __SYCL_EXPLICIT_SIMD_PLUGIN__=true
cmake -DCMAKE_INSTALL_PREFIX=<YOUR PATH>
- make
To create DEB, RPM packages and TAR.XZ archive in <BUILD DIRECTORY> run
- make package
- make install
This project is licensed under the MIT License. You may obtain a copy of the License at: