Skip to content
intelPublic

About

Profiling Tools Interfaces for GPU (PTI for GPU) is a set of Getting Started Documentation and Tools Library to start performance analysis on Intel(R) Processor Graphics easily

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

282 stars

Watchers

14 watching

Forks

Repository files navigation

Profiling Tools Interfaces for GPU (PTI for GPU)

Overview

This repository provides tools and a library for collecting performance data on Intel(R) Graphics: the unitrace and sysmon tools, and the PTI SDK profiling library.

License

Profiling Tools Interfaces for GPU (PTI for GPU) is distributed under the MIT License.

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

Supported OS

  • Linux
  • Windows

Supported Platforms

  • Intel® Processor Graphics Gen9 (formerly Skylake) and newer
  • Intel® Iris® Xe Graphics
  • Intel® Data Center GPU Flex Series
  • Intel® Data Center GPU Max Series
  • Intel® Arc™ Graphics

Regularly Tested Configurations

  • Ubuntu 24.04 with Intel® Arc™ B580 Graphics
  • Ubuntu 24.04 with Intel® Data Center GPU Max Series
  • Windows 11 with Intel® Arc™ B580 Graphics

Tools and SDK

  • unitrace - unified tracing and profiling tool. In addition to Level Zero and/or OpenCL, this tool is capable of profiling software layers in the software stack, for example, SYCL and plugins, oneCCL, MPI etc., for scale-up and scale-out applications. It also supports profiling hardware metrics (including instruction-level EU stalls) and software events at the same time.
  • sysmon - Linux "top" like utility to monitor GPUs installed on a system;
  • sdk - profiling library one can link against to gain the capability of profiling SYCL and Level Zero; used by PyTorch Profiler for the Intel® XPU Activity.

Prerequisites

More information on what each tool needs can be found in its README.

Build

The top-level CMakeLists.txt builds Unitrace and PTI SDK together. To build them, use CMake in the root of this repository.

source /opt/intel/oneapi/setvars.sh
cmake -S . -B build -GNinja -DCMAKE_BUILD_TYPE=Release
cmake --build build

Tested software versions one may find in SOFTWARE file.

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

About

Profiling Tools Interfaces for GPU (PTI for GPU) is a set of Getting Started Documentation and Tools Library to start performance analysis on Intel(R) Processor Graphics easily

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

282 stars

Watchers

14 watching

Forks

Used by

Contributors

Languages