ROCm / rocprofiler-compute

Advanced Profiling and Analytics for AMD Hardware
https://rocm.docs.amd.com/projects/omniperf/en/latest/
MIT License
135 stars 49 forks source link

No GFX942 in --list-metrics #229

Closed Lynd98 closed 8 months ago

Lynd98 commented 9 months ago

lstringe@pp-128-b1-2:~/618StandAlone/workloads/618/MI300A_A1$ omniperf analyze --list-metrics gfx942 usage: omniperf analyze --path [analyze options]


Examples:

    omniperf analyze -p workloads/vcopy/mi200/ --list-metrics gfx90a

    omniperf analyze -p workloads/mixbench/mi200/ --filter-dispatch-ids 12 34 --decimal 3

    omniperf analyze -p workloads/mixbench/mi200/ --gui

tool: error: argument --list-metrics: invalid choice: 'gfx942' (choose from 'gfx906', 'gfx908', 'gfx90a')

Development Environment:

To Reproduce Steps to reproduce the behavior:

  1. Run: omniperf analyze --list-metrics gfx942
  2. See error

Expected behavior List the gfx942 metrics

Lynd98 commented 9 months ago

Here is how I build Omniperf.

lstringe@pp-128-b1-2:~/Omniperf$ cat DoIt.sh

Build Omniperf

cd /home/lstringe/Omniperf rm -rf omniperf-1.1.0-PR1 rm -rf omniperf

git clone https://github.com/AMDResearch/omniperf.git cd omniperf git checkout mi300 export INSTALL_DIR=/home/lstringe/Omniperf/omniperf python3 -m pip install -t ${INSTALL_DIR}/python-libs -r requirements.txt mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR}/1.1.0-PR1 -DPYTHON_DEPS=${INSTALL_DIR}/python-libs -DMOD_INSTALL_PATH=${INSTALL_DIR}/modulefiles .. make install cd .. find . -name omniperf

export AOMP=/COD/2024-01-08/aomp export PATH=$AOMP/bin:$PATH export LD_LIBRARY_PATH=$AOMP/lib:$LD_LIBRARY_PATH export PATH=/home/lstringe/Omniperf/omniperf/1.1.0-PR1/bin:$PATH

coleramos425 commented 9 months ago

Issue patched here: https://github.com/AMDResearch/omniperf/commit/475515ebe77389148fdb463ccec135991565ed49

Thanks for reporting issue. Please re-try.