GPUPerfAPI

Tools

The GPU Performance API (GPUPerfAPI, or GPA) is a powerful library, providing access to GPU Performance Counters. It can help analyze the performance and execution characteristics of applications using a Radeon™ GPU.  This library
is used by Radeon Compute Profiler and CodeXL as well as several third-party tools.

  • Provides a standard API for accessing GPU Performance counters for both graphics and compute workloads across multiple GPU APIs.
  • Supports Vulkan™, DirectX® 12, DirectX® 11, OpenGL™, OpenCL™, and ROCm/HSA.
  • Supports all recent GCN-based Radeon graphics cards and APUs based on Graphics IP version 8 and newer.
  • Supports both Windows and Linux.
  • Provides derived “public” counters based on raw HW counters.
  • Provides access to some raw hardware counters. See Raw Hardware Counters for more information.

System Requirements

  • An AMD Radeon GPU or APU based on Graphics IP version 8 and newer.
  • Windows: Radeon Software Adrenaline 2019 Edition 19.7.1 or later (Driver Packaging Version 19.30 or later).
  • Linux: Radeon Software for Linux Revision 19.20 or later (19.30 required for AMD Radeon 5700 Series GPUs).
  • HSA/ROCm version requires ROCm 2.0 or newer.
    • For use with ROCm, please make sure that the optional ROCm package “rocprofiler-dev” is installed.
      • Ubuntu: sudo apt install rocprofiler-dev
      • CentOS: sudo yum install rocprofiler-dev
  • Radeon GPUs or APUs based on Graphics IP version 6 and 7 are no longer supported by GPUPerfAPI. Please use an older version (3.3) with older hardware.
  • Windows 7, 8.1, and 10.
  • Ubuntu (16.04 and later) and CentOS/RHEL (7 and later) distributions.

Technical Blogs

Resources