From a796b4a0d28bfb64d7970c16941dfff56d8c7d11 Mon Sep 17 00:00:00 2001 From: Sushma Venkatesh Reddy Date: Wed, 21 May 2025 00:48:40 +0000 Subject: [PATCH] intel/tools: Reflect SIMD lane count for EUs in device info output Update the device info output to display EU count together with the native SIMD width. This clarifies the SIMD width of execution units and explains differences in EU counts between hardware generations. Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/tools/intel_dev_info.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/intel/tools/intel_dev_info.c b/src/intel/tools/intel_dev_info.c index e0d1fd75c03..d0c3c6009fa 100644 --- a/src/intel/tools/intel_dev_info.c +++ b/src/intel/tools/intel_dev_info.c @@ -91,7 +91,10 @@ print_base_devinfo(const struct intel_device_info *devinfo) fprintf(stdout, " slices: %u\n", n_s); fprintf(stdout, " %s: %u\n", subslice_name, n_ss); - fprintf(stdout, " EUs: %u\n", n_eus); + + fprintf(stdout, " EUs: %u (SIMD%u native)\n", n_eus, + devinfo->ver >= 20 ? 16 : devinfo->ver >= 12 ? 8 : 4); + fprintf(stdout, " EU threads: %u\n", n_eus * devinfo->num_thread_per_eu); fprintf(stdout, " LLC: %u\n", devinfo->has_llc);