Home

Awesome

Intel(R) Metrics Discovery Application Programming Interface

Introduction

This software is a user mode library that provides access to GPU performance data.

The library has OS abstraction layer that allows for interoperability in different environments.

License

Intel(R) Metrics Discovery Application Programming Interface is distributed under the MIT License.

You may obtain a copy of the License at: https://opensource.org/licenses/MIT

Supported Platforms

Supported Operating Systems

Intel(R) Metrics Discovery Application Programming Interface is supported on Linux family operating systems with minimum kernel version 4.14. Event based measurements require minimum Mesa version 18.2.

Detailed minimum version requirements

PlatformCode NameMinimum Linux Kernel VersionMinimum Mesa Version
ArcAlchemist5.2022.1.5
Gen12Rocket Lake5.1722.1.5
Gen12DG15.1322.1.5
Gen12Tiger Lake5.921.0
Gen11Elkhart Lake5.319.1
Gen11Ice Lake4.1819.1
Gen9, Gen8*4.1418.2
Gen7.5Haswell4.1718.2

Build and Install

1. Download sources.

2. Install libdrm-dev.

sudo apt install libdrm-dev

or

sudo dnf install libdrm-devel

3. Run CMake generation:

mkdir build && cd build
cmake ..

4. Build:

make -j$(nproc)

5. Built library will be here (for 64-bit Linux):

(project_root)/dump/linux64/release/metrics_discovery/libigdmd.so

6. Install:

If using native package manager (yum, dnf, etc..) skip to step 7

sudo make install

7. Packaging:

make package

After the process completes, there should be a set of files such as

intel-metrics-discovery-[VERSION].x86_64.rpm
intel-metrics-discovery-devel-[VERSION].x86_64.rpm
intel-metrics-discovery-pkgconfig-[VERSION].x86_64.rpm

Note: To clear CMake params remove CMakeCache.txt, then regenerate.

Support

Please file a GitHub issue to report an issue or ask questions.

How to Contribute

Contributions to the Metrics-Discovery are welcomed and encouraged. Please see CONTRIBUTING for details how to contribute to the project.

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