Skip to content

Commit

Permalink
Fixed missing CPUID for cpuid Turin (bugfix) (#1397)
Browse files Browse the repository at this point in the history
Fixed missing id for cpuid turin

Minor: Fix bug, print the id string, not the object, so that it is easier to fetch
  • Loading branch information
Hook25 authored Aug 7, 2024
1 parent 7b86b36 commit 17d2d8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion providers/base/bin/cpuid.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ def cpuid_to_human_friendly(cpuid: str) -> str:
"AMD Bergamo": ['0xaa0f01'],
"AMD Siena SP6": ['0xaa0f02'],
"AMD Raphael": ['0xa60f12'],
"AMD Turin": ['0xb00f21'],
"Broadwell": ['0x4067', '0x306d4', '0x5066', '0x406f'],
"Canon Lake": ['0x6066'],
"Cascade Lake": ['0x50655', '0x50656', '0x50657'],
Expand Down Expand Up @@ -231,7 +232,7 @@ def main():
my_id, nice_name))
except ValueError:
raise SystemExit(
"Unable to determine CPU Family for this CPUID: {}".format(cpuid))
"Unable to determine CPU Family for this CPUID: {}".format(my_id))


if __name__ == "__main__":
Expand Down

0 comments on commit 17d2d8c

Please sign in to comment.