Open gsitaram opened 12 months ago
Hi @gsitaram. Internal ticket has been created to investigate your issue. Thanks!
Hi @gsitaram, the default behaviour is to clear the workload directory if it exists during setup, see this line. If you run multiple workloads with the same name, the directory will be cleared in-between runs. This does not happen with the --roof-only
flag so you should run the roofline after you have done the profiling.
It is not a good idea to ask users to remember an order of issuing commands. I can think of some possibilities. Please comment on them.
--roof-only
first, then can that be identified when running the second command? Clearly, --roof-only
is the only way to generate those roofline PDFs and legends. The command in step 2 does not generate those. So, why erase them if they exist?
Describe the bug If we profiled the application with
omniperf profile
and then obtained roofline chart PDFs usingomniperf profile --kernel-names --roof-only
, then we have both the profiling data and the roofline PDFs. If we reversed the order of these two operations, we lose the PDFs and legend. Could this be fixed that the user does not have to remember this ordering detail?Development Environment:
To Reproduce Steps to reproduce the behavior:
If you did the steps in the opposite order, we will have all profiling data intact.
Expected behavior If we profile and collect different things in different commands but save to the same workload, nothing should be erased by subsequent profile steps unless the subsequent step collects the same info and has to overwrite the data collected. I can see how the second command above would have assumed that all roofline data collected earlier has to be overwritten.. but could we have the PDFs regenerated in this case?