Commit Graph

150 Commits

Author SHA1 Message Date
Kulkarni, Ashwin Kumar bf481e6103 Add Stub Sysman APIs for Level zero specification 1.5
Related-To: LOCI-3841

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-02-07 08:17:09 +01:00
Dunajski, Bartosz 807b7bec65 L0: Capability to set RelaxedOrdering mode per call
This is prework for future RelaxedOrdering mode optimizations

Related-To: NEO-7458

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-01-30 15:01:20 +01:00
Dunajski, Bartosz 61544f13cf RelaxedOrdering: Dont apply optimization for barrier calls
Related-To: NEO-7458

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-12-08 16:21:16 +01:00
Mateusz Jablonski 51fa04fc60 L0: Add experimental extensions for wait and write on memory
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-02 10:47:39 +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
Zbigniew Zdanowicz 072686f283 Replace function term with kernel class specific names
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-09-12 12:00:24 +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
Lukasz Jobczyk fd99ea7259 Describe ZEX_HOST_MEM_ALLOC_FLAG_USE_HOST_PTR flag
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-07-27 18:06:30 +02:00
Lukasz Jobczyk 8eae6c2ba3 Add ZEX_HOST_MEM_ALLOC_FLAG_USE_HOST_PTR flag
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-07-14 13:28:48 +02:00
Bellekallu Rajkiran e1ba6d825a Support for power limit extensions
Boiler plate implementation of power limit
extension functions.

Related-To: LOCI-3125, LOCI-3193

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-07-11 09:02:25 +02:00
Daniel Chabrowski c303c218be Add missing pragma once in header files
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-06-07 16:19:11 +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
Mateusz Jablonski 747c2d3d83 Cleanup includes in cmdlist, cmdqueue, context, device, driver and module
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-03 02:54:41 +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
Zbigniew Zdanowicz 9e575532b3 Extend command list kernel interface
Related-To: NEO-6959

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-30 11:56:24 +02:00
Neil R Spruit 8c894fad5e Change Packed binary Returned in L0 GetNative to be the Target Device binary
- Packed Binary Returned to a customer in L0 GetNative is now
the target device's native binary.

Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com>
2022-05-25 21:27:45 +02:00
Bellekallu Rajkiran 3efdfba41e Add support for error correction codes
Implement ECC API.
Add ULTs to validate error correction codes.
Integrate sysman ecc with igsc.

Related-To: LOCI-2782

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-05-24 11:03:16 +02:00
Artur Harasimiuk 3f04769f07 style: configure readability-identifier-naming.FunctionCase
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-17 20:55:56 +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
Bellekallu Rajkiran cee2051db8 Update power control/query interface
Add support for getCardPowerDomain API.
Modify check to verify whether hwmon dir exists.
Modify ULTs to verify updated power interface.

Update power control/query interface.

Related-To: LOCI-2735, LOCI-3046
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-04-25 22:10:13 +02:00
Jaime Arteaga 798501c8c3 Clean up driver experimental headers (2)
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-04-15 18:07:31 +02:00
Jaime Arteaga 9f79e432bb Clean up driver experimental headers
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-04-08 06:10:25 +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
Zbigniew Zdanowicz e4d8dfcdd9 Implement fence creation flag
Related-To: NEO-6242

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-03-25 12:04:43 +01:00
Joshua Santosh Ranjan 82ad3d61be Metrics Refactor MetricQuery and Metric Query Pool
This patch is to refactor MetricQuery and MetricQueryPool
so that Stall sampling metric could be integrated seamlessly

Related-To: LOCI-2904

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-02-07 19:34:22 +01:00
Joshua Santosh Ranjan 93e117fa9e Metrics Refactor Metric Group
Refactor Metric Group Implementation to move OA specific
implementation to OA specific classes.
This is so that stall sampling specific Metric Group
implementation could be done seamlessly.

Related-To: LOCI-2753

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-02-04 18:28:39 +01:00
Young Jin Yoon 32ccf30c61 Add support for pci_ext_properties_t
Added API definition in ze_device.cpp, and added function declaration of
getPciProperties() in device.h and device_imp.cpp
Initially returns -1 for all values of ze_pci_speed_ext_t for now, simply
because we do not have function to retrieve the information of the PCI
speed.

Related-To: LOCI-2669
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2022-01-05 10:43:54 +01:00
Jaime Arteaga 3b497270c8 Add support for memory free policies
Add support for ZE_DRIVER_MEMORY_FREE_POLICY_EXT_FLAG_BLOCKING_FREE
added in v1.3.

Related-To: LOCI-2672

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-12-28 08:27:50 +01:00
Bellekallu Rajkiran f7b735e12b Rename "zesDiagnosticsRunTests" input parameters
Rename "zesDiagnosticsRunTests" input parameters as per
update in input param naming in latest level zero specification.

Related-To: LOCI-2736

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2021-12-09 18:01:07 +01:00
davidoli 3c5a81d27a Add ProcAddrTable for metrics exp api.
Related-To: LOCI-2607
Signed-off-by: davidoli <david.olien@intel.com>
2021-10-05 11:07:18 +02:00
Jitendra Sharma c46f591a99 Do not initialize Sysman if OsSysman Init failed
Related-To: LOCI-2552

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-09-30 09:11:55 +02: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
Filip Hazubski de1e4e0074 Add adjustMaxWorkGroupCount helper
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-27 15:39:48 +02:00
Jaime Arteaga 2fab8ccf05 Add support for zeKernelSchedulingHintExp (2)
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-08-20 04:35:08 +02:00
Vinod Tipparaju 37670aeb91 Add support for new thread arbitration policies via zeKernelSchedulingHintExp
Related-To: LOCI-2319

Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-08-09 21:07:08 +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
Milczarek, Slawomir 55374d419f Cache reservation amendements
Related-To: NEO-4969

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-07-02 16:16:39 +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
Milczarek, Slawomir e4eb7538fa L0 extension for cache reservation
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-06-29 13:35:23 +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
Brandon Yates 52ad8b0977 Update L0 Loader to 1.4.1 (v1.2 spec)
Also make changes to debug API to mitigate API break

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2021-06-23 19:27:50 +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
Kanhaiya Singh ad9aaa260a Updated pDdiTable for EventListenEx
Signed-off-by: Kanhaiya Singh <kanhaiya.singh@intel.com>
2021-05-27 11:48:30 +02:00
lgotszal 3bd4bca911 Copyright header update
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).

Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
2021-05-17 20:38:19 +02:00
Vilvaraj, T J Vivek 24a745f4bd sysman:add support for Diagnostis API.
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2021-05-04 20:37:38 +02:00
Mayank Raghuwanshi 61c08c052f Implement zesDriverEventListenEx
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-04-17 04:25:35 +02:00