GPU Profiling Using CLI - GPU Profiling Using CLI - 57368

uProf User Guide

Document ID
57368
Release Date
2025-06-09
Revision
5.1 English

Collect Profile Data

Use the following commands to collect GPU performance data:
  • GPU Profile with All supported Views collection
    AMDuProfCLI collect –config gpu -o <output-dir> <application>
  • GPU Profile with System Speed of Light view
    AMDuProfCLI collect –config gpu_sol -o <output-dir> <application>
  • GPU Profile with specific IP-Block collection
    AMDuProfCLI collect –collect gpu –ip-block SQ -o <output-dir> <application>

These commands will launch the program and collect the profile data. After the launched application is executed, the AMDuProfCLI will display the session directory path in which the raw profile data is saved.

Refer Table 1 for all supported options.

Example
[bin]$ ./AMDuProfCLI collect --config gpu -o /tmp/ /tmp/namd
Profiling started
………
Profiling (data collection) completed
Generated data files path: /tmp/AMDuProf-namd-GPUProfile_Sep-05-2024_21-43-08

Here, the generated session directory is /tmp/AMDuProf-namd-GPUProfile_Sep-05-2024_21-43-08.