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

NVIDIA Grace cpukinds #635

Merged
merged 6 commits into from
Nov 9, 2023
Merged

Conversation

bgoglin
Copy link
Contributor

@bgoglin bgoglin commented Nov 7, 2023

When running on NVIDIA Grace, force a single homogeneous cpukinds despite little frequency and capacity differences.

Will be used to identify some platforms.

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
Exposed in root info as SoC0ID, SoC1Family, SoC0Revision, etc.

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
Get all sysfs frequencies and capacities in an array and then
submit cpukinds. We'll add intermediate quirks.

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
…kinds

Avoids building cpukinds and merging them later.

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
Add a quirk to uniformize basefreq (to its minimum), maxfreq and capacity
(to their maximum) and enable it on NVIDIA Grace.

Also add the envvar HWLOC_CPUKINDS_HOMOGENEOUS to force that quirk (=1)
or avoid it (=0).

Closes open-mpi#634

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
@bgoglin bgoglin merged commit bc094ea into open-mpi:master Nov 9, 2023
1 check passed
@bgoglin bgoglin deleted the nvidia-grace-cpukinds branch November 9, 2023 10:38
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.

None yet

1 participant