Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial overhaul of Analyze mode #210

Merged
merged 7 commits into from
Dec 11, 2023
Merged

Initial overhaul of Analyze mode #210

merged 7 commits into from
Dec 11, 2023

Conversation

coleramos425
Copy link
Collaborator

@coleramos425 coleramos425 commented Dec 6, 2023

Please see the changes below for the initial implementation of our revised Analysis mode. Again, this has only been verified on a Mi200 + rocprofv1 environment. Once this is merged into the main 2.x branch we can conduct additional verification against our CI pipeline.

A couple changes to call attention to:

  1. Removing hardcoded lists of available archs

https://github.com/AMDResearch/omniperf/blob/4275e15eea222e2bd7f6b18ea2c66b95d4f07904/src/argparser.py#L410-L415

https://github.com/AMDResearch/omniperf/blob/4275e15eea222e2bd7f6b18ea2c66b95d4f07904/src/utils/file_io.py#L237-L245

We've removed instances of hardcoded lists, and instead read from archs defined in src/omniperf_soc/

  1. Analyze utilities (i.e. file_io.py, parser.py, tty.py) have been moved to the top level src/utils/ directory

Signed-off-by: colramos-amd <colramos@amd.com>
Signed-off-by: colramos-amd <colramos@amd.com>
@koomie koomie added this to the v2.0.0 milestone Dec 7, 2023
src/argparser.py Outdated Show resolved Hide resolved
src/argparser.py Outdated Show resolved Hide resolved
koomie and others added 4 commits December 7, 2023 15:14
Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Signed-off-by: colramos-amd <colramos@amd.com>
…r clarity

Signed-off-by: colramos-amd <colramos@amd.com>
Signed-off-by: colramos-amd <colramos@amd.com>
@coleramos425
Copy link
Collaborator Author

Added a new property to our base class
https://github.com/AMDResearch/omniperf/blob/3d7e4bc121c2a13839f7631067fb152b817e7e28/src/omniperf_base.py#L50-L54

Signed-off-by: Cole Ramos <colramos@amd.com>
@koomie koomie merged commit 97c5b2c into 2.x Dec 11, 2023
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants