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

Add gpuId proc on locale #25943

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Add gpuId proc on locale #25943

wants to merge 3 commits into from

Conversation

stonea
Copy link
Contributor

@stonea stonea commented Sep 13, 2024

This PR adds a way to query gpuID (the location in the parent locale's here.gpus array) that a gpu locale is.

If used on a non gpu locale it will error out with this message:

Can not use 'gpuId' field on a non gpu locale

This should resolve #23650

TODO:

  • paratest
  • paratest nvidia

---
Signed-off-by: Andy Stone <[email protected]>
---
Signed-off-by: Andy Stone <[email protected]>
---
Signed-off-by: Andy Stone <[email protected]>
@stonea stonea self-assigned this Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Querying sublocale ID with the GPU locale model
1 participant