Commit Graph

31 Commits

Author SHA1 Message Date
Mateusz Jablonski d45c16dfc2 fix: add fallback for invalid handles in extension functions
handle context, commandlist, driver, device, event, image and kernel handles

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-28 17:22:35 +02:00
Mateusz Hoppe 3051c5ef2b feature: bindless image extension
- support for zeMemGetPitchFor2dImage() and
zeImageGetDeviceOffsetExp()

Related-To: NEO-10352

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-02-14 21:11:31 +01:00
Mateusz Hoppe 22802d8680 feature: add ZE_experimental_bindless_image extension
- add definitions and functions
- Level Zero spec commit: 49c972463796e614597b028bd344e1b2f64a63b7

Related-To: NEO-10352

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-02-13 15:06:41 +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
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
Matias Cabral 96517a08aa feature: Implement zetMetricGroupGetGlobalTimestampsExp()
Resolves: LOCI-3072

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2023-06-21 09:48:41 +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
Joshua Santosh Ranjan a93edd8620 Support for FabricEdge APIs
Related-To: LOCI-3377

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-10-20 10:43:25 +02:00
Joshua Santosh Ranjan b81366f741 Initial draft to implement Fabric Vertex Apis using Driver Handle Information
Implement the below APIs
- zeFabricVertexGetExp
- zeFabricVertexGetSubVerticesExp
- zeFabricVertexGetPropertiesExp
- zeFabricVertexGetDeviceExp

Related-To: LOCI-3332

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-08-18 08:34:04 +02:00
Mateusz Jablonski 5bf1c84ed3 Cleanup includes in sampler, image, builtin and event
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-03 10:21:59 +02:00
Kacper Nowak c9cb58ec8e Wrap L0 exported functions to prevent symbol collision
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-05-31 21:52:16 +02:00
Jaime Arteaga 3f26f45c10 Add support for IPC handles with implicit scaling
When using implicit scaling, device allocations may have
more than one internal allocation created internally. In that case,
a separate dma-buf handle per internal allocation needs to be
exported.

So introduced two driver experimental extensions to export and
import more than one IPC handle:

- zexMemGetIpcHandles
- zexMemOpenIpcHandles

Related-To: LOCI-2919

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-05-09 00:38:17 +02:00
Jim Snow 0a926c7d12 Add Windows image memory export functionality
Adds zeImageGetAllocPropertiesExt function, implementation code shared
shared with zeMemGetAllocProperties moved into common helper function.

Related-To: LOCI-2665

Signed-off-by: Jim Snow <jim.m.snow@intel.com>
2022-03-26 05:11:35 +01:00
Robert Krzemien f3ea565121 Add implementation for zetMetricGroupCalculateMultipleMetricValuesExp.
Resolves: LOCI-2409
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com>
2021-09-29 22:49:26 +02:00
Aravind Gopalakrishnan fa2ddedf42 Add implementation for zeEventQueryTimestampExp
Related-To: LOCI-2318

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2021-08-06 11:43:25 +02:00
Kamil Diedrich a3930168d6 Extend image functionality
- add imageView extension
- add import win32 NT handle
- add black box test with imageView usage example


Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-07-05 11:40:57 +02:00
Kamil Diedrich 18b06eb345 Revert "Extend image functionality"
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-06-29 23:16:19 +02:00
Kamil Diedrich af55117fa0 Extend image functionality
- add imageView extension
- add import win32 NT handle
- add black box test with imageView usage example


Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-06-28 15:34:06 +02:00
Compute-Runtime-Validation 081b780270 Revert "Extend image functionality"
This reverts commit 6035607718.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-06-27 08:29:12 +02:00
Kamil Diedrich 6035607718 Extend image functionality
- add imageView extension
- add import win32 NT handle
- add black box test with imageView usage example


Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-06-25 14:20:16 +02:00
Kamil Diedrich 6aa40191e2 Add zeImageGetMemoryPropertiesExp implementation
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-06-24 13:36:40 +02:00
Igor Venevtsev 3f068eeca2 L0: rename EXTENSIONS to PUBLIC_EXTENTIONS in CmakeLists.txt
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-06-07 21:49:22 +02:00
Brandon Yates 4d5166b945 Update manifest to use L0 loader 1.2.3
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2021-03-09 20:30:58 +01:00
Compute-Runtime-Validation cac1b5465b Revert "Updating L0 loader to 1.2.3 in manifest"
This reverts commit 76666662c4.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-03-04 14:16:39 +01:00
Brandon Yates 76666662c4 Updating L0 loader to 1.2.3 in manifest
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2021-03-03 02:13:41 +01:00
Jaime Arteaga beb3c5ed05 Add support for global work offset extension in L0
Add experimental extension to set global work offest in L0.
Current L0 specification does not have interface to export
experimental function symbols, so for now, applications need
to find the symbol like with dlsym on Linux.

A blackbox test showing functionality is also added.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-12-09 07:33:40 +01:00