pti-gpu icon indicating copy to clipboard operation
pti-gpu copied to clipboard

[Unitrace] Use L0 core extension to query PCI properties

Open ph0b opened this issue 7 months ago • 0 comments

Unitrace uses sysman in legacy mode (zeInit + ZES_ENABLE_SYSMAN), however this is not supported for Xe2 and newer platforms: https://github.com/intel/compute-runtime/blob/releases/25.22/programmers-guide/SYSMAN.md#support-and-limitations hence leading to an abort on Xe2 and newer devices when calling unitrace --device-list.

./src/levelzero/ze_metrics.h:66: void PrintDeviceList(): Assertion status == ZE_RESULT_SUCCESS' failed.

Since Level-Zero 1.3.0 specification, you can use zeDevicePciGetPropertiesExt instead of sysman. As sysman is only used to query PCI information, you can remove its use and switch to the core extension instead.

ph0b avatar Jun 20 '25 12:06 ph0b