Commit Graph

142 Commits

Author SHA1 Message Date
Mateusz Jablonski
1c42b26f41 fix: add missing L0 API entries in global driver dispatch
all ddi entries related to exposed L0 API version should be set to valid ptr

Related-To: NEO-13121
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-04-30 12:57:18 +02:00
Zbigniew Zdanowicz
cf7209ddfe refactor: change queue and immediate command list to accept indirect lock
Related-To: NEO-10356

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-04-11 13:45:29 +02:00
Raiyan Latif
80168b194f refactor: Set external semaphore version in L0
Related-To: NEO-14295

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2025-03-08 01:57:15 +01:00
Mateusz Jablonski
b10c6b4703 feature: add global driver dispatch as prework for DDI handles extension support
As per DDI handles extension, global ddi table pointers will be included
in every L0 handle.

This change is focused on initialization of the global objects and reuse
of them within zeGet...ProcAddrTable functions to avoid duplication
of per component ddi table definitions

Related-To: NEO-13121, NEO-13917
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-02-24 15:46:51 +01:00
Compute-Runtime-Validation
9d249580fa Revert "feature: add global driver dispatch as prework for DDI handles extens...
This reverts commit dce4ca8ce7.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-02-21 01:52:55 +01:00
Mateusz Jablonski
dce4ca8ce7 feature: add global driver dispatch as prework for DDI handles extension support
As per DDI handles extension, global ddi table pointers will be included
in every L0 handle.

This change is focused on initialization of the global objects and reuse
of them within zeGet...ProcAddrTable functions to avoid duplication
of per component ddi table definitions

Related-To: NEO-13121, NEO-13917
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-02-20 17:44:36 +01:00
Compute-Runtime-Validation
ad99c8d818 Revert "feature: Submission for GlobalTimestamp as default"
This reverts commit 3d3c5ddf9f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-28 11:22:20 +01:00
Chandio, Bibrak Qamar
3d3c5ddf9f feature: Submission for GlobalTimestamp as default
Related-To: NEO-11908

Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
2025-01-18 01:27:24 +01:00
John Falkowski
78beae645c feature: Add zeKernelGetBinaryExp API as per specification V1.11
Resolves: NEO-12894

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-01-16 23:22:12 +01:00
Bartosz Dunajski
c6accb8d53 fix: select correct CSR for submission if copy offload is not allowed
Related-To: GSD-10194

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-29 11:41:53 +01:00
Neil R. Spruit
84cd8226e3 feature: Support for zeInitDrivers
- Enabled support for zeInitDrivers which combines init and driver get
support.
- Moved driverHandleGet to be part of Driver class to allow for unit
testing of the functionality.
- Updated GTPIN init conditions such that init only occurs when pCount >
0 and the driver handle pointer is not null. This ensures that the
gtPin init does not trigger during the loader init calling
zeInitDrivers and only is called before the first handle is retrieved.
- Removed ze_init_flags_t flag from all driverInit functions since this
flag is unused in all functions.

Related-To: NEO-12905

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2024-11-07 12:16:15 +01:00
Zbigniew Zdanowicz
e3acd850ea feature: add new functions to dispatch table
Related-To: NEO-11115

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-11-05 16:51:57 +01:00
Bartosz Dunajski
2d6fb1af4b fix: in-order relaxed ordering handling for signalEvent
Related-To: NEO-13082

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-25 15:30:33 +02:00
Wojciech Konior
6b40f9bc5a refactor: engineInstancedType removed
Related-To: NEO-12594

Signed-off-by: Wojciech Konior <wojciech.konior@intel.com>
2024-10-09 16:30:48 +02:00
Bartosz Dunajski
2618f586fa fix: copy offload mmio programming
Related-To: NEO-12771

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-24 19:37:58 +02:00
Bartosz Dunajski
4f1262645b refactor: pass extra walker params
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-10 15:30:03 +02:00
Mateusz Jablonski
c934877790 refactor: remove not needed function
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-30 12:18:14 +02:00
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