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

bugfix: we must count the actual number of cuda devices #109

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

abouteiller
Copy link
Contributor

to decide if we need to register (or not) the gpu workspaces

@abouteiller abouteiller added the bug Something isn't working label Jan 22, 2024
@abouteiller abouteiller self-assigned this Jan 22, 2024
@abouteiller abouteiller requested a review from a team as a code owner January 22, 2024 21:03
@devreal
Copy link
Contributor

devreal commented Jan 22, 2024

Can we have an API in PaRSEC that returns the number of devices for a given type?

@abouteiller
Copy link
Contributor Author

I reworked the PR after discovering that we were already doing the device counting in testing/common.c

both points raised still stand, as the existing code could use the proposed API that count devices of a particular type, and the code handles only CUDA indeed

initialized/not initialized differently than the -g param

Signed-off-by: Aurelien Bouteiller <[email protected]>
@abouteiller
Copy link
Contributor Author

Can we have an API in PaRSEC that returns the number of devices for a given type?

ICLDisco/parsec#621

@abouteiller
Copy link
Contributor Author

abouteiller commented Jan 31, 2024

I propose we move forward with this as-is to fix the buggy behavior, and integrate with the query interface in a separate PR when it has been merged in parsec.

@abouteiller abouteiller merged commit 416aec9 into ICLDisco:master Jan 31, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants