2017-12-02 02:44:37 +08:00
|
|
|
|
|
|
|
Intel(R) Graphics Memory Management Library
|
|
|
|
*******************************************
|
|
|
|
|
|
|
|
Introduction
|
|
|
|
=============
|
|
|
|
|
|
|
|
The Intel(R) Graphics Memory Management Library provides device specific and buffer
|
|
|
|
management for the Intel(R) Graphics Compute Runtime for OpenCL(TM) and the
|
|
|
|
Intel(R) Media Driver for VAAPI.
|
|
|
|
|
|
|
|
License
|
|
|
|
========
|
|
|
|
|
|
|
|
The Intel(R) Graphics Memory Management Library is distributed under the MIT
|
|
|
|
Open Source license.
|
|
|
|
|
|
|
|
You may obtain a copy of the License at:
|
|
|
|
|
|
|
|
https://opensource.org/licenses/MIT
|
|
|
|
|
|
|
|
Building
|
|
|
|
========
|
2022-03-16 00:53:53 +08:00
|
|
|
1) Get gmmlib repository
|
2017-12-02 02:44:37 +08:00
|
|
|
|
2018-05-23 01:51:26 +08:00
|
|
|
2) Change it to root directory
|
2017-12-02 02:44:37 +08:00
|
|
|
|
2022-03-16 00:53:53 +08:00
|
|
|
``$ cd gmmlib``
|
|
|
|
|
|
|
|
3) Make a build directory
|
|
|
|
|
|
|
|
``$ mkdir build && cd build``
|
2018-05-23 01:51:26 +08:00
|
|
|
|
2022-03-16 00:53:53 +08:00
|
|
|
4) Run the cmake command to prepare build files
|
2018-05-23 01:51:26 +08:00
|
|
|
|
2023-09-08 22:08:57 +08:00
|
|
|
``$ cmake [-DCMAKE_BUILD_TYPE= Release | Debug | ReleaseInternal] ..``
|
2017-12-02 02:44:37 +08:00
|
|
|
|
2022-03-16 00:53:53 +08:00
|
|
|
5) Build the project
|
2017-12-02 02:44:37 +08:00
|
|
|
|
2022-03-16 00:53:53 +08:00
|
|
|
``$ make -j"$(nproc)" (Also performs compile time ULT)``
|
2017-12-02 02:44:37 +08:00
|
|
|
|
|
|
|
Install
|
2022-03-16 00:53:53 +08:00
|
|
|
=======
|
|
|
|
``$ sudo make install``
|
|
|
|
|
|
|
|
This will install the following files (e.g. on Ubuntu):
|
|
|
|
|
|
|
|
| -- Install configuration: "Release"
|
|
|
|
| -- Installing: /usr/local/lib/libigdgmm.so.12.1.0
|
|
|
|
| -- Installing: /usr/local/lib/libigdgmm.so.12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-12-02 02:44:37 +08:00
|
|
|
Not a stand alone software component.
|
2019-01-16 03:24:23 +08:00
|
|
|
GmmLib is built as dynamic library for Intel media driver and Compute runtime for OpenCL
|
2017-12-02 02:44:37 +08:00
|
|
|
|
|
|
|
Supported Platforms
|
|
|
|
-------------------
|
2018-05-19 05:09:47 +08:00
|
|
|
Intel Atom and Core Processors supporting Gen8/Gen9/Gen10 graphics devices
|
2017-12-02 02:44:37 +08:00
|
|
|
|
|
|
|
BDW (Broadwell)
|
|
|
|
|
2018-05-19 05:09:47 +08:00
|
|
|
SKL (Skylake, Kaby Lake, Coffee Lake)
|
2017-12-02 02:44:37 +08:00
|
|
|
|
2022-01-21 23:28:08 +08:00
|
|
|
BXTx (BXT: Broxton, APL: Apollo Lake, GLK: Gemini Lake)
|
|
|
|
|
|
|
|
KBLx (KBL: Kaby Lake, CFL: Coffe Lake, WHL: Whiskey Lake, CML: Comet Lake, AML: Amber Lake)
|
2017-12-02 02:44:37 +08:00
|
|
|
|
2018-05-19 05:09:47 +08:00
|
|
|
CNL (Cannonlake)
|
2017-12-02 02:44:37 +08:00
|
|
|
|
2019-01-16 03:24:23 +08:00
|
|
|
ICL (Icelake)
|
|
|
|
|
2022-01-21 23:28:08 +08:00
|
|
|
TGLx (TGL: Tiger Lake, RKL: Rocket Lake)
|
|
|
|
|
|
|
|
ADLx (ADL-S: Alder Lake S, ADL-P: Alder Lake P, ADL-N: Alder Lake N)
|
|
|
|
|
|
|
|
XE_LP (DG1)
|
|
|
|
|
|
|
|
XE_HP (XE_HP_SDV)
|
|
|
|
|
|
|
|
XE_HPC (PVC: Ponte Vecchio)
|
|
|
|
|
|
|
|
XE_HPG (DG2, ACM: Alchemist)
|
2017-12-02 02:44:37 +08:00
|
|
|
|
2022-03-16 00:53:53 +08:00
|
|
|
Release Tags
|
|
|
|
============
|
|
|
|
|
|
|
|
Gmmlib Release tag versioning schema follows:
|
|
|
|
|
|
|
|
| Tag ``intel-gmmlib-<x>.<y>.<z>`` will be stable release series with the same API and ABI version with only bug fixes where,
|
|
|
|
| x = GMMLIB_API_MAJOR_VERSION + 10,
|
|
|
|
| y = GMMLIB_API_MINOR_VERSION,
|
|
|
|
| z = RELEASE NUMBER which is incremented as 0,1,2,...n for changes including new flag, bug fixes, etc.
|
|
|
|
|
|
|
|
|
| Example:
|
|
|
|
| For GMM library ``libigdgmm.so.12.0.0``,
|
|
|
|
| Tag = ``intel-gmmlib-22.0.0`` where,
|
|
|
|
| 22 = GMMLIB_API_MAJOR_VERSION + 10 = 12 + 10
|
|
|
|
| 0 = GMMLIB_API_MINOR_VERSION
|
|
|
|
| 0 = RELEASE NUMBER
|
|
|
|
|
|
|
|
|
On potential ABI break changes,
|
|
|
|
|
|
|
|
| Tag ``intel-gmmlib-<x>.<y>.<z>`` becomes ``intel-gmmlib-<x + 1>.0.0``
|
|
|
|
| i.e ``intel-gmmlib-22.5.3`` becomes ``intel-gmmlib-23.0.0``
|
|
|
|
|
2017-12-02 02:44:37 +08:00
|
|
|
Known Issues and Limitations
|
2022-03-16 00:53:53 +08:00
|
|
|
============================
|
|
|
|
Current Gmmlib support only limited to Linux
|
2017-12-02 02:44:37 +08:00
|
|
|
|
2018-05-22 07:38:13 +08:00
|
|
|
(*) Other names and brands may be claimed as property of others.
|
2017-12-02 02:44:37 +08:00
|
|
|
---------------------------------------------------------------
|
2022-03-16 00:53:53 +08:00
|
|
|
|