Discover and explore top open-source AI tools and projects—updated daily.
intelPerformance analysis toolkit for Intel GPUs
Top 98.5% on SourcePulse
Summary
Intel's Profiling Tools Interfaces for GPU (PTI for GPU) repository offers a comprehensive set of documentation and tools designed to simplify performance analysis on Intel® Processor Graphics. It targets engineers and researchers working with Intel GPUs, providing the necessary interfaces and samples to easily collect and interpret performance data, thereby optimizing application efficiency.
How It Works
PTI for GPU facilitates performance analysis through a layered approach, supporting various profiling techniques. It enables Runtime API Tracing for OpenCL™ and oneAPI Level Zero, Device Activity Tracing, Binary/Source Correlation, and Metrics Collection via the Level Zero Metric API and Performance Monitoring registers. The project also integrates Binary Instrumentation and Code Annotation capabilities. Key tools include unitrace for unified tracing of hardware and software events, onetrace for host and device tracing, and oneprof for GPU hardware metrics collection.
Quick Start & Requirements
Primary installation requires CMake (>=3.12), Git (>=1.8), and Python (>=3.6). On Linux, users must be part of the video or render group to perform computations. Essential dependencies include the OpenCL™ ICD Loader and Headers, oneAPI Level Zero loader, Intel® Graphics Compute Runtime, and the Intel® Metrics Discovery Application Programming Interface. Building samples involves navigating to the specific sample directory, creating a build subdirectory, and executing cmake -DCMAKE_BUILD_TYPE=Release .. followed by make. Testing all samples can be initiated with python <pti_root>/tests/run.py.
Highlighted Details
unitrace for unified tracing, onetrace for host/device tracing, oneprof for GPU HW metrics, and API-specific tracers (ze_tracer, cl_tracer).Licensing & Compatibility
Samples are distributed under the permissive MIT License. No specific compatibility notes for commercial use or closed-source linking are provided, but the MIT license generally allows broad usage.
Limitations & Caveats
Windows support is currently under development. Known issues on RHEL include potential missing IGA libraries (requiring manual linking) and possible compiler version requirements. Non-root users may need to adjust kernel module parameters for metrics collection.
2 days ago
1 day
AnswerDotAI