Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intel EmeraldRappids Support #3719

Merged
merged 1 commit into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/PerfCounters.cc
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ enum CpuMicroarch {
IntelAlderlake,
IntelRaptorlake,
IntelSapphireRapid,
LastIntel = IntelSapphireRapid,
IntelEmeraldRapid,
LastIntel = IntelEmeraldRapid,
FirstAMD,
AMDF15R30 = FirstAMD,
AMDZen,
Expand Down Expand Up @@ -168,6 +169,7 @@ struct PmuConfig {
// See Intel 64 and IA32 Architectures Performance Monitoring Events.
// See check_events from libpfm4.
static const PmuConfig pmu_configs[] = {
{ IntelEmeraldRapid, "Intel EmeraldRapid", 0x5111c4, 0, 0, 125, PMU_TICKS_RCB },
{ IntelSapphireRapid, "Intel SapphireRapid", 0x5111c4, 0, 0, 125, PMU_TICKS_RCB },
{ IntelRaptorlake, "Intel Raptorlake", 0x5111c4, 0, 0, 125, PMU_TICKS_RCB },
{ IntelAlderlake, "Intel Alderlake", 0x5111c4, 0, 0, 125, PMU_TICKS_RCB },
Expand Down
2 changes: 2 additions & 0 deletions src/PerfCounters_x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ static CpuMicroarch compute_cpu_microarch() {
return IntelRaptorlake;
case 0x806f0:
return IntelSapphireRapid;
case 0xc06f0:
return IntelEmeraldRapid;
case 0x30f00:
return AMDF15R30;
case 0x00f10: // Naples, Whitehaven, Summit Ridge, Snowy Owl (Zen), Milan (Zen 3) (UNTESTED)
Expand Down
Loading