Skip to content

Commit

Permalink
UTIL: add amd milan to cpu family (openucx#699)
Browse files Browse the repository at this point in the history
  • Loading branch information
shimmybalsam authored Dec 21, 2022
1 parent 32451ed commit 8e76c0b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/utils/arch/x86_64/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,14 @@ ucc_cpu_model_t ucc_arch_get_cpu_model()
return UCC_CPU_MODEL_AMD_ROME;
}
}

if (family == 0x19) {
switch (model) {
case 0x00:
case 0x01:
return UCC_CPU_MODEL_AMD_MILAN;
}
}
}

return UCC_CPU_MODEL_UNKNOWN;
Expand Down

0 comments on commit 8e76c0b

Please sign in to comment.