From 394d3dd179f4d1c51cb4701cbebdd5c1a2c1d03f Mon Sep 17 00:00:00 2001 From: Guillaume Raffy Date: Fri, 19 Dec 2025 18:21:30 +0100 Subject: [PATCH] v0.0.17 added support for xeon 6747p cpu (which wasn't recognized) work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=4249] --- iprbench/autoparams.py | 5 +++++ iprbench/version.py | 2 +- test/test_cpu.py | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/iprbench/autoparams.py b/iprbench/autoparams.py index 3f7274f..b777aae 100644 --- a/iprbench/autoparams.py +++ b/iprbench/autoparams.py @@ -93,6 +93,11 @@ class CpuModel(IAutoParam): if match: return f'intel_core_i{match["major_id"]}_{match["minor_id"].lower()}' + # eg "Intel(R) Xeon(R) 6747P" + match = re.match(r'^Intel\(R\) Xeon\(R\) (?P[^ ]+)$', cpu_model_name) + if match: + return f'intel_xeon_{match["xeon_id"].lower()}' + # eg "Intel(R) Xeon(R) Gold 6248R CPU @ 3.00GHz" match = re.match(r'Intel\(R\) Xeon\(R\) Gold +(?P[^ ]+) +CPU +@ [0-9]+\.[0-9]+GHz', cpu_model_name) if match: diff --git a/iprbench/version.py b/iprbench/version.py index 19c6940..b47451b 100644 --- a/iprbench/version.py +++ b/iprbench/version.py @@ -1 +1 @@ -__version__ = '0.0.16' +__version__ = '0.0.17' diff --git a/test/test_cpu.py b/test/test_cpu.py index 4f21269..d1c2262 100644 --- a/test/test_cpu.py +++ b/test/test_cpu.py @@ -33,6 +33,7 @@ class CpuTestCase(unittest.TestCase): r'Intel(R) Xeon(R) CPU E5-2660 v2 @ 2.20GHz': 'intel_xeon_e5-2660v2', r'Intel(R) Xeon(R) CPU E5-2660 v4 @ 2.00GHz': 'intel_xeon_e5-2660v4', r'Intel(R) Xeon(R) Gold 6248R CPU @ 3.00GHz': 'intel_xeon_gold_6248r', + r'Intel(R) Xeon(R) 6747P': 'intel_xeon_6747p', r'AMD EPYC 7282 16-Core Processor': 'amd_epyc_7282', r'AMD EPYC 7452 32-Core Processor': 'amd_epyc_7452', }