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 <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35116>
This commit is contained in:
Sushma Venkatesh Reddy 2025-05-21 00:48:40 +00:00 committed by Marge Bot
parent 519ecf372d
commit a796b4a0d2

View file

@ -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);