Related-To: NEO-10356
- Refactoring wait on event to skip flush when needed
- Refactor execute call interface to accept linear stream
- Program wait on events in new interface
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
This PR implements these two APIs defined in Level Zero spec.
They are required for SYCL bindless tests read_write_*D_subregion.cpp.
Related-To: GSD-4137
Signed-off-by: Wenju He <wenju.he@intel.com>
Modified event pool ddis for introspection APIs to be included
only when level-zero 1.9 or above is used.
Related-To: NEO-10265
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
Added version check to ensure new functions will be updated into ddi
table only when level_zero version is 1.9.
Related-To: NEO-10265
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
Added entrypoints for all event-related introspection APIs
and implemented corresponding functions in Event and EventPool.
Modified Event to record its EventPool upon creation.
Related-To: NEO-10265
Signed-off-by: Yoon, Young Jin <young.jin.yoon@intel.com>
Added entrypoints for all command-list-related introspection APIs
and implemented corresponding functions in command list.
Modified device to record ordinal when creating command lists.
Related-To: NEO-10265
Signed-off-by: Yoon, Young Jin <young.jin.yoon@intel.com>
Added entrypoints for zeCommandQueueGetOrdinal and
zeCommandQueueGetIndex and implemented getOrdinal and getIndex
in command queue.
Related-To: NEO-10265
Signed-off-by: Yoon, Young Jin <young.jin.yoon@intel.com>
- Add new extension property for user to query platform DP support.
- Add new blackbox and ULTs for extension.
Related-To: NEO-8786
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
- Add new extension property for user to query platform DP support.
- Add new blackbox and ULTs for extension.
Related-To: NEO-8786
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
Related-To: LOCI-4615
- Added Support for users to set ZE_FLAT_DEVICE_HIERARCHY to either FLAT
or COMPOSITE to change how devices are returned in zeDeviceGet and
clGetDeviceIDs.
- COMPOSITE is default behavior that exists today.
- FLAT returns all sub devices which have no sub devices and all root
devices that have no sub devices in zeDeviceGet ie with all devices
flattened out in order.
- Added zeDeviceGetRootDevice for one to retrieve the Root Device for
any SubDevice.
Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com>
Added setErrorDescription() and getErrorDescription() in DriverHandle
to record and retrieve the custom string for errors.
Related-To: LOCI-4619
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
Related-To: LOCI-4172, LOCI-4305, LOCI-4306
- Create a new IPC Memory handle upon call to getIpcMemHandle if the
previous handle has been freed.
- Release the Ipc Memory Handle when zeMemPutIpcHandle is called.
- Create a new IPC Handle for tracking thru zeMemGetAllocProperties
when ze_external_memory_export_fd_t is used.
- Convert FD to opaque IPC handle and IPC Handle to FD.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
zeImageViewCreateExt is now connected to zeImageViewCreateExp in the
backend.
Related-To: LOCI-3769
Signed-off-by: Zhang, Winston <winston.zhang@intel.com>