Skip to content

Commit

Permalink
Fix oversubscription with CHPL_LOCALE_MODEL=gpu (#26059)
Browse files Browse the repository at this point in the history
The PRs to add GPU support to co-locales (PRs
#25734 and
#25846) broke oversubscription
such that no locales had any GPUs. This PR fixes that problem, and
cleans up resource allocation with co-locales in general.
Oversubscription is handled more cleanly, as is the "remainder" node
that occurs when the number of locales is not evenly divisible by the
number of nodes.

[Reviewed by @jabraham17, thank you.]
  • Loading branch information
jhh67 authored Oct 9, 2024
2 parents f8ed3bd + a204581 commit 75028c6
Show file tree
Hide file tree
Showing 3 changed files with 221 additions and 117 deletions.
Loading

0 comments on commit 75028c6

Please sign in to comment.