forked from RRZE-HPC/likwid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix APIC mapping in sysFeatures_amd_hsmp
Likwid and hwloc currently have an incomplete/wrong understanding of APIC IDs and blindly assume a mapping of linux processor number to APIC ID. This is wrong. For example AMD EPYC 9354 reports gaps and jumps in its ID order. This commit makes sure to explicitly query the APIC ID via CPUID in order to correctly map LikwidDevice_t to APIC IDs.
- Loading branch information
Showing
1 changed file
with
77 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters