Skip to content

Commit

Permalink
Merge pull request #9324 from openucx/tools/info/add-icelake-model-name
Browse files Browse the repository at this point in the history
TOOLS/INFO: Add Icelake CPU model name
  • Loading branch information
ivankochin authored Sep 2, 2023
2 parents 73a4870 + d1cf910 commit 47a03db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/tools/info/sys_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ static const char *cpu_model_names[] = {
[UCS_CPU_MODEL_INTEL_HASWELL] = "Haswell",
[UCS_CPU_MODEL_INTEL_BROADWELL] = "Broadwell",
[UCS_CPU_MODEL_INTEL_SKYLAKE] = "Skylake",
[UCS_CPU_MODEL_INTEL_ICELAKE] = "Icelake",
[UCS_CPU_MODEL_ARM_AARCH64] = "ARM 64-bit",
[UCS_CPU_MODEL_AMD_NAPLES] = "Naples",
[UCS_CPU_MODEL_AMD_ROME] = "Rome",
Expand Down
2 changes: 2 additions & 0 deletions src/ucs/arch/x86_64/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,8 @@ ucs_cpu_model_t ucs_arch_get_cpu_model()
cpu_model = UCS_CPU_MODEL_INTEL_SKYLAKE;
break;
case 0x6a:
case 0x6c:
case 0x7e:
cpu_model = UCS_CPU_MODEL_INTEL_ICELAKE;
break;
}
Expand Down

0 comments on commit 47a03db

Please sign in to comment.