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

Indexing of information from the rocminfo application to helping the user to view #95

Open
wants to merge 9 commits into
base: amd-staging
Choose a base branch
from

Conversation

ajitclarencejoseph
Copy link

As we see that rocminfo provides a list of information and it is very difficult sometimes to look for a particular information in the page. So by indexing the information, it would be useful for the user to get particular information of a device

@ajitclarencejoseph ajitclarencejoseph changed the title Creating an indexing of information from the rocminfo application. Indexing of information from the rocminfo application to help in viewing for the user Sep 26, 2024
@ajitclarencejoseph ajitclarencejoseph changed the title Indexing of information from the rocminfo application to help in viewing for the user Indexing of information from the rocminfo application to helping the user to view Sep 26, 2024
Copy link
Contributor

@dayatsin-amd dayatsin-amd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for delay in review, overall, it looks good.
I believe agent_number is not used and can be removed.

I will also add @shwetagkhatri as reviewer so she can help applying the change via the internal repository

rocminfo.cc Outdated
hsa_status_t err;
agent_info_t agent_i;

int *agent_number = reinterpret_cast<int*>(data);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems agent_number is not used, and it can be removed

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently it is not used, I had thought to use it when we need to index the individual agent display. So removed and updated in the fork branch as provided below. Also made some changes in help message display
ajitclarencejoseph@026828a

rocminfo.cc Outdated Show resolved Hide resolved
@dayatsin-amd
Copy link
Contributor

Sorry for delay in review, overall, it looks good. I believe agent_number is not used and can be removed.

I will also add @shwetagkhatri as reviewer so she can help applying the change via the internal repository

@shwetagkhatri Also, please review code changes as well.

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.

3 participants