Skip to content

Latest commit

 

History

History

ze_sysman

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Level Zero System Management

Overview

This sample application provides basic static and dynamic information for GPU device:

Output should look like the following:

Device: Intel(R) Iris(R) Plus Graphics 655 [0x3ea5]
-- Subdevice Count: 0
-- Driver Version: A7F72C54A5788663395C411
-- PCI Bus: 0000:00:02.0
-- Frequency Domains: 1
---- [0] Clock EU Freq Range (MHz): 300 - 1200 (changeable)
---- [0] Current Clock EU Freq (MHz): 300
-- Temperature Sensors: 5
---- [2] Core Temperature (C): 34

Supported OS

  • Linux
  • Windows (under development)

Prerequisites

Build and Run

Linux

Run the following commands to build the sample:

cd <pti>/samples/ze_sysman
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make

Use this command line to run the utility:

./ze_sysman

Windows

Use Microsoft* Visual Studio x64 command prompt to run the following commands and build the sample:

cd <pti>\samples\ze_sysman
mkdir build
cd build
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_LIBRARY_PATH=<level_zero_loader>\lib -DCMAKE_INCLUDE_PATH=<level_zero_loader>\include ..
nmake

Use this command line to run the application:

ze_sysman.exe