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

Seems finding invalid Kernel id is off by one #261

Closed JoseSantosAMD closed 8 months ago

JoseSantosAMD commented 8 months ago

Describe the bug Seems finding invalid Kernel id is off by one

Development Environment:

To Reproduce Steps to reproduce the behavior:

  1. Run ./src/omniperf analyze --path tests/workloads/vcopy/MI200/ -k 1
  2. See Error image

Expected behavior [ERROR]: 1 is an invalid kernel id. Please enter an id between 0-1 .

coleramos425 commented 8 months ago

See https://github.com/AMDResearch/omniperf/pull/287#issuecomment-1971719951

coleramos425 commented 8 months ago

Implemented