Pratik Bari

Results 5 comments of Pratik Bari

The API zesDeviceGetProperties is expected to return ZE_RESULT_ERROR_UNINITIALIZED i.e error code 78000001 when the core handle is given. This core handle has been created since the zeInit based sysman initialization...

Regarding the BMG details, on BMG Xe KMD is enabled. On Xe KMD only sysman initialization with zesInit is supported. Legacy sysman initialization is not supported. https://github.com/intel/compute-runtime/blob/master/programmers-guide/SYSMAN.md

The zeDeviceGetProperties is a core API and it expects a Core handle here (ze_device_handle_t). Here it will pass correctly. However, the zesDeviceGetProperties is a sysman API and it expects a...

@alanzhai219 The support for the enumeration of the Engine Handles for Xe driver has been recently added. It will be available with the new driver release in 3-4 weeks.

At present there is no separate API to check the legacy mode or the new mode. This should be referred for the Sysman initialization https://github.com/intel/compute-runtime/blob/master/programmers-guide/SYSMAN.md#support-and-limitations