Skip to content

Commit

Permalink
CPX has 2 FMA for 53xx
Browse files Browse the repository at this point in the history
Change-Id: I54231dc8e5c6849b4c82ff9248f69be0d25a0c20
  • Loading branch information
Hammond, Jeff R committed Aug 13, 2020
1 parent 7c4b3ba commit b20db6d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions vpu-count.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,14 @@ int vpu_count(void)
return 2;
}
else if (cpu_name[9] == 'X') {
/* Cooper Lake: Intel(R) Xeon(R) Platinum _3__H... */
if (cpu_name[23] == '3') {
#ifdef DEBUG
fprintf(stderr,"Cooper Lake detected, BF16 %s\n", cpu_name,
has_avx512_bf16() ? "found" : "not found" );
#endif
return 2;
}
/* Xeon Scalable series: "Intel(R) Xeon(R) Platinum..." */
if (cpu_name[17] == 'P') {
return 2;
Expand Down

0 comments on commit b20db6d

Please sign in to comment.