diff --git a/tests/framework/utils_cpu_templates.py b/tests/framework/utils_cpu_templates.py index cf3a57d2698..8f68f352336 100644 --- a/tests/framework/utils_cpu_templates.py +++ b/tests/framework/utils_cpu_templates.py @@ -26,8 +26,8 @@ def get_supported_cpu_templates(): match cpuid_utils.get_cpu_vendor(): case cpuid_utils.CpuVendor.INTEL: # T2CL template is only supported on Cascade Lake and newer CPUs. - skylake_model = "Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz" - if global_props.cpu_model == skylake_model: + + if global_props.cpu_codename == cpuid_utils.CpuModel.INTEL_SKYLAKE: return sorted(set(INTEL_TEMPLATES) - set(["T2CL"])) return INTEL_TEMPLATES case cpuid_utils.CpuVendor.AMD: diff --git a/tests/framework/utils_cpuid.py b/tests/framework/utils_cpuid.py index 5ca9b876a43..91b5a3e035a 100644 --- a/tests/framework/utils_cpuid.py +++ b/tests/framework/utils_cpuid.py @@ -33,6 +33,7 @@ class CpuModel(str, Enum): CPU_DICT = { CpuVendor.INTEL: { "Intel(R) Xeon(R) Platinum 8175M CPU": "INTEL_SKYLAKE", + "Intel(R) Xeon(R) Platinum 8124M CPU": "INTEL_SKYLAKE", "Intel(R) Xeon(R) Platinum 8259CL CPU": "INTEL_CASCADELAKE", "Intel(R) Xeon(R) Platinum 8375C CPU": "INTEL_ICELAKE", },