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

MI300 omniperf analyze mode: per_kernel normalization results in error #349

Closed amnamasood-amd closed 6 months ago

amnamasood-amd commented 6 months ago

Describe the bug After profiling, omniperf analyze with -n per_kernel results in the following error: ERROR: [analysis] 'float' object has no attribute 'empty'

Development Environment: Ubuntu 22.04 Omniperf version: 2.0.0 (dev) Git revision: 2f00dfb GPU: MI300A A1, MI300X A1

To Reproduce Steps to reproduce the behavior: For BabelStream:

  1. Run 'omniperf profile -n streamtest2 -- ./hip-stream -s $((82510241024))'
  2. Run 'omniperf analyze -p workloads/streamtest2/MI300X_A1/ -k 0 -n per_kernel'

This error is consistent across different apps, even the vcopy application in omniperf/samples

coleramos425 commented 6 months ago

Hi @amnamasood-amd. I applied a patch for your issue to the dev branch this afternoon. Could you please pull and confirm this fixes your problem? Thanks!

amnamasood-amd commented 6 months ago

Hi @coleramos425 I checked and I am able to get the correct CLI output. Thank you!