Introduction

AMD uProf is a performance analysis tool suite for x86-based applications running on Windows, Linux, and FreeBSD operating systems. It provides performance metrics for AMD “Zen”-based processors and AMD Instinct™ MI Series accelerators. AMD uProf enables the developer to better understand the performance bottlenecks, optimization scope, and evaluate improvements.

Official websitehttps://www.amd.com/en/developer/uprof.html

Prerequisites

For the AMD uProf Spack recipe to work, download the associated amduprof tarball and place it in the Spack root directory.

Complete the following steps to download the tarball package:

  1. Download the tarball
    1. Go to the AMD uProf homepage:  https://www.amd.com/en/developer/uprof.html
    2. From the Download section, find the latest version specified in the recipe and click the download link.
    3. Accept the EULA (End User License Agreement) and save the downloaded file to your local machine.
      Note: For older versions of AMD uProf, see the Archive section.
  2. Place the tarball in the Spack root directory
    1. Open the terminal or Command Prompt.
    2. Navigate to the Spack root directory.
    3. Move the downloaded tarball to the Spack root directory.

The AMD uProf recipe should be able to find and use the tar package during installation.

Installing AMD uProf using Spack

    # Example for installing amduprof with AOCC
$ spack install amduprof@{version} %aocc

Supported AMD uProf versions

AMD supports the following versions of AMD uProf usage in Spack:

  • amduprof-5.0.0
  • amduprof-4.2.0

Uninstalling AMD uProf

    # Example for installing amduprof with AOCC
$ spack uninstall amduprof@{version}