Commit Graph

125 Commits

Author SHA1 Message Date
Bartosz Dunajski
45cf88077b refactor: unify cooperative cmd list launch functions
Related-To: NEO-11621

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-06-20 14:47:01 +02:00
Aravind Gopalakrishnan
0eaed66334 feature: Append recorded command list into immediate (1/N)
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>
2024-05-29 05:59:32 +02:00
Aravind Gopalakrishnan
95cd6c5d0b feature: Add ddi table entry for GetPitch function
Related-To: NEO-7063

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-05-21 07:50:28 +02:00
Bartosz Dunajski
536698d276 fix: add profiling data to host signalled CB Event
Related-To: NEO-11378

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-05-10 11:16:20 +02:00
Mateusz Hoppe
76af952fcb feature: Bindless sampled image support
Related-To: NEO-10352

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-05-08 17:50:37 +02:00
Aravind Gopalakrishnan
d0fd62a98f fix: Fix immediate command list append header definition
Related-To: NEO-10356

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-05-07 11:39:49 +02:00
Zbigniew Zdanowicz
e2a3c21e1c feature: add mcl functions to dispatch table
Related-To: NEO-10062

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-05-06 16:28:25 +02:00
Aravind Gopalakrishnan
6a894f963e feature: Implement zeCommandListImmediateAppendCommandListsExp [2/N]
Add boiler plate for appendCommandLists

Related-To: NEO-10356

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-04-18 15:50:12 +02:00
Mateusz Jablonski
a91e438749 fix: fill ddi entries based on required version
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-04-10 14:04:37 +02:00
Mateusz Jablonski
15b59b145e fix: correct filling ddi table entries 2/n
fill entry only when proper version is requested

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-04-10 09:19:54 +02:00
Mateusz Jablonski
898cff1512 fix: correct filling ddi table entries 1/n
fill entry only when proper version is requested

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-04-09 14:23:15 +02:00
Wenju He
8acb4678fb feature: implement zeCommandListAppendImageCopyToMemoryExt/FromMemoryExt
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>
2024-03-26 08:55:25 +01:00
Young Jin Yoon
add1ff4902 fix: ddi table for event pool introspection APIs
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>
2024-03-12 16:57:16 +01:00
Zbigniew Zdanowicz
b37c57c92b feature: add wait command list argument
Related-To: NEO-10065

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-03-05 15:44:20 +01:00
Young Jin Yoon
4e7f225ab1 feature: Modify ddi tables for introspection APIs
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>
2024-02-28 09:54:24 +01:00
Aravind Gopalakrishnan
618f1dd346 feature: Implement zeCommandListImmediateAppendCommandListsExp [1/N]
Prepare execute call to accept event args

Related-To: NEO-10356

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-02-15 17:09:03 +01:00
Yoon, Young Jin
22f761b4eb feature: Add introspection APIs for event
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>
2024-02-07 11:48:28 +01:00
Yoon, Young Jin
dac2af299b feature: Add introspection APIs for cmdlist
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>
2024-02-07 07:22:26 +01:00
Yoon, Young Jin
7b12735ade feature: Add introspection APIs for cmdqueue
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>
2024-02-06 07:38:17 +01:00
Mateusz Hoppe
3a5345015c fix: export zeKernelSchedulingHintExp with external C linkage
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-01-03 15:50:16 +01:00
Mateusz Jablonski
e57d372608 refactor: correct naming of enum class constants
EngineGroupType
BlitDirection
PostBlitMode
WaitStatus

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-12-01 11:53:51 +01:00
Mateusz Hoppe
c933840708 fix: export Context residency functions with external C linkage
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-11-30 22:27:36 +01:00
Aravind Gopalakrishnan
99abb40a45 feature: Add extensions to expose dot product capabilities
- 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>
2023-10-31 21:54:39 +01:00
Compute-Runtime-Validation
c9d6615231 Revert "feature: Add extensions to expose dot product capabilities"
This reverts commit e988fe66e3.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-10-31 05:06:06 +01:00
Aravind Gopalakrishnan
e988fe66e3 feature: Add extensions to expose dot product capabilities
- 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>
2023-10-30 15:15:51 +01:00
John Falkowski
56f05303c9 feature: add support for zeMemGet/SetAtomicAccessAttributeExp
Resolves: NEO-8219

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2023-10-02 15:59:17 +02:00
Mateusz Jablonski
81b535d3f1 fix: correct handling ze group count in appendLaunchMultipleKernelsIndirect
Related-To: HSD-18033883770
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-09-29 12:16:32 +02:00
Mateusz Jablonski
cb730d11f4 refactor: pass ze group count as a reference, not a pointer
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-09-28 07:41:04 +02:00
Dunajski, Bartosz
4e8600d8d0 feature: initial support for RelaxedOrdering of in-order Events chaining
Disabled by default.

Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-09-27 16:45:20 +02:00
Latif, Raiyan
9bb559d468 feature: Ray Tracing Acceleration Structure (RTAS) Support
Related-To: LOCI-3419

Signed-off-by: Latif, Raiyan <raiyan.latif@intel.com>
2023-09-20 19:57:56 +02:00
Compute-Runtime-Validation
47dac196d9 Revert "feature: Ray Tracing Acceleration Structure (RTAS) Support"
This reverts commit 179abf00de.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-09-16 04:37:55 +02:00
Latif, Raiyan
179abf00de feature: Ray Tracing Acceleration Structure (RTAS) Support
Related-To: LOCI-3419

Signed-off-by: Latif, Raiyan <raiyan.latif@intel.com>
2023-09-15 19:05:20 +02:00
Compute-Runtime-Validation
c46abf149a Revert "feature: Ray Tracing Acceleration Structure (RTAS) Support"
This reverts commit faf9d3bcab.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-09-07 02:13:52 +02:00
Latif, Raiyan
faf9d3bcab feature: Ray Tracing Acceleration Structure (RTAS) Support
Related-To: LOCI-3419

Signed-off-by: Latif, Raiyan <raiyan.latif@intel.com>
2023-09-05 22:21:09 +02:00
Dunajski, Bartosz
1e95a8127f feature: enable RelaxedOrdering for in-order barriers
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-08-24 20:02:43 +02:00
Neil R Spruit
8efd8853fb feature: L0 Device Hierarchy support for Composite & Flat modes
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>
2023-07-20 01:00:54 +02:00
Young Jin Yoon
c5d675570a feature: support for zeDriverGetLastErrorDescription
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>
2023-06-30 17:12:32 +02:00
Joshua Santosh Ranjan
97b4d8bab5 feature: add initial support for host mapped timestamps
Related-To: LOCI-4171

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2023-06-26 08:29:58 +02:00
Spruit, Neil R
907f41529c feature: zeModuleInspectLinkageExt to read Linkage of modules
Related-To: LOCI-2914

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2023-06-15 18:13:43 +02:00
Zhang, Winston
44a8610ebb feature: Implement support for zeDeviceGetStatus
Added support for zeDeviceGetStatus API.
Added ULTs for zeDeviceGetStatus API.

Related-To: LOCI-1558

Signed-off-by: Zhang, Winston <winston.zhang@intel.com>
2023-06-15 06:36:14 +02:00
Dunajski, Bartosz
37f04dc670 feature: in-order CmdList support for BCS split
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-06-09 15:15:45 +02:00
Mayank Raghuwanshi
d0d5a03be7 feature: Add support for Experimental zexSysmanMemoryGetBandwidth
Related-To: LOCI-3838

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-05-25 00:46:07 +02:00
Joshua Santosh Ranjan
6de77dbfdc feature: initial support for zeCommandListHostSynchronize
Related-To: LOCI-4191

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2023-05-18 11:53:42 +02:00
Dunajski, Bartosz
41478c5972 feature: Experimental support of immediate cmd list in-order execution [6/n]
Related-To: LOCI-4332

- Signal appendWaitOnEvents API call
- Signal appendBarrier call
- Handle sync allocation residency

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-05-11 11:41:49 +02:00
Fabian Zwolinski
e351a90f81 refactor: Rename member variables to camelCase 2/n
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-04-27 20:39:22 +02:00
Spruit, Neil R
364c2da9fb feature: Add Support for zeMemPutIpcHandle & zeMemGet IPC Handle converters
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>
2023-04-27 03:53:52 +02:00
Mateusz Jablonski
2a60522e6e refactor l0 api: cleanup cmake files
Related-To: NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-03-17 09:58:52 +01:00
Zhang, Winston
db4eda7338 Move image view experimental extension to standard extension interface
zeImageViewCreateExt is now connected to zeImageViewCreateExp in the
backend.

Related-To: LOCI-3769

Signed-off-by: Zhang, Winston <winston.zhang@intel.com>
2023-03-07 01:33:55 +01:00
Warchulski, Jaroslaw
b485c025d0 Cleanup includes 57
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-02-17 11:19:59 +01:00
Lukasz Jobczyk
073de9db62 Do not track split internal events as a barrier
Related-To: NEO-7723, NEO-7716

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-02-13 11:19:00 +01:00