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

Improve finding rocm_agent_enumerator #465

Open
wants to merge 1 commit into
base: amd-staging
Choose a base branch
from

Conversation

trixirt
Copy link

@trixirt trixirt commented Sep 1, 2024

On Fedora rocm_agent_enumerator is part of the distro and installed to /usr/bin. So it will not be located in /opt/rocm/bin/.

Add some heuristics to find it.
First try the environment variable ROCM_PATH
Then /opt/rocm
Last /usr

On Fedora rocm_agent_enumerator is part of the distro and installed to /usr/bin.
So it will not be located in /opt/rocm/bin/.

Add some heuristics to find it.
First try the environment variable ROCM_PATH
Then /opt/rocm
Last /usr

Signed-off-by: Tom Rix <[email protected]>
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.

1 participant