Commit Graph

347 Commits

Author SHA1 Message Date
Naklicki, Mateusz
9008ca7b3f fix: add missing ZE_APIEXPORT and ZE_APICALL keywords
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-05-08 18:36:17 +02:00
Mateusz Jablonski
1b42ebf7fb feature: add L0 API to wait for completion of all submissions to given device
Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-07 17:26:22 +02:00
Mateusz Jablonski
07f13fc319 feature: add L0 API to translate between device handle and 32-bit identifier
- zerDeviceTranslateToIdentifier to translate from device handle to
32-bit unsigned integer identifier
- zerIdentifierTranslateToDeviceHandle to translate from identifier to
device handle associated to default driver handle

Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-05 15:20:44 +02:00
Mateusz Jablonski
aaaea67557 feature: add L0 API functions to get default context handle
- zeDriverGetDefaultContext to get default context for given driver
handle
- zerDriverGetDefaultContext to get default context for default driver
handle

Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-04-30 14:04:28 +02:00
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
Mateusz Jablonski
f4f208421f feature: allow creating counter based event without specifying descriptor
default setting would point to:
- no profiling
- usable in both regular and immediate command list
- signals visible to the host
- wait scope device
- signal scope host

Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-04-30 11:50:00 +02:00
Mateusz Jablonski
0dd2535674 refactor: change type of stype member in L0 Core driver extensions
use uint32_t-alias type to avoid casting out of ze_structure_type_t enum range
Related-To: NEO-12901

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-04-18 15:02:31 +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
Matias Cabral
25ed9d1989 feature: metrics aggregation for EU Stall
Resolves: NEO-13999

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-04-10 22:38:19 +02:00
Fabian Zwoliński
ecc96a9ab4 refactor: Switch EventDescriptor initialization to designated initializers
Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-03-28 18:53:06 +01:00
Mateusz Jablonski
2394f9fd91 feature: update base layout of L0 handles to match ze_handle_t layout
this layout is required by L0 DDI Handle extension

Related-To: NEO-13121, NEO-13917
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-03-28 14:40:20 +01:00
Szymon Morek
ead0842763 feature: add L0 API to query kernel argument info
Related-To: NEO-14358

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-03-27 16:43:33 +01:00
Matias Cabral
1a2666d4e2 feature: get report format for IP sampling
Resolves: NEO-13998

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-03-20 21:59:29 +01:00
Joshua Santosh Ranjan
06b34da853 feature: support metrics runtime enabling
Related-To: NEO-14287

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2025-03-19 08:51:59 +01: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
Matias Cabral
f17500a977 feature: source independent entry for calc op create
Resolves: NEO-13996

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-03-03 19:39:58 +01:00
Joshua Santosh Ranjan
9d404fab50 fix: support MetricCreateFromProgrammableExp2
Related-To: NEO-14211

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2025-03-03 10:50:57 +01:00
Compute-Runtime-Validation
9785e5c11e Revert "feature: update base layout of L0 handles to match ze_handle_t layout"
This reverts commit 276c606329.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-02-26 02:37:14 +01:00
Mateusz Jablonski
276c606329 feature: update base layout of L0 handles to match ze_handle_t layout
this layout is required by L0 DDI Handle extension

Related-To: NEO-13121, NEO-13917
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-02-25 01:23:43 +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
Joshua Santosh Ranjan
5efbf1d04c refactor: add driver experimental entry points for tracer apis
Related-To: NEO-13770

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2025-02-05 00:40:59 +01:00
Joshua Santosh Ranjan
dbc85c4322 feature: add support for metric markers
Related-To: NEO-12058

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2025-01-29 20:22:34 +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
Pratik Bari
245aa0cb59 feature(sysman): Added implementation for zesVFManagementGetVFCapabilitiesExp2
As zesVFManagementGetVFCapabilitiesExp has been deprecated, added the
implementation for zesVFManagementGetVFCapabilitiesExp2

Related-To: NEO-13525

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-01-24 22:01:20 +01:00
Bellekallu Rajkiran
ad3110ff67 fix: Mapped time stamp retrieval with IPC
Create shared allocations to maintain reference timestamps.
Add flag to IPC pool data to check whether mapped time stamp
flag is set.

Related-To: NEO-12313

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-01-20 19:27:35 +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
Compute-Runtime-Validation
e1d1decf90 Revert "fix: Mapped time stamp retrieval with IPC"
This reverts commit 118cb62b7f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-18 01:11:28 +01:00
Bellekallu Rajkiran
118cb62b7f fix: Mapped time stamp retrieval with IPC
Create shared allocations to maintain reference timestamps.
Add flag to IPC pool data to check whether mapped time stamp
flag is set.

Related-To: NEO-12313

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-01-17 19:00:29 +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
Kamil Kopryk
92ea7ee7a3 fix: remove potential string's internal buffer overlaping if resized
Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-15 19:40:56 +01:00
Bartosz Dunajski
7c209e1ff0 fix: typo
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-01-09 18:06:26 +01:00
Raiyan Latif
b8157a2547 fix: Fix ULTs & signal path in External Semaphore
- Temporarily disables Multi-Threaded ULTs, to be
re-enabled in a separate dedicated test binary

Related-To: NEO-11488

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2025-01-09 07:40:16 +01:00
Latif, Raiyan
3122ce963e fix: Fix wait path in Experimental External Semaphore
Related-To: NEO-11488

Signed-off-by: Latif, Raiyan <raiyan.latif@intel.com>
2025-01-06 04:05:59 +01:00
Lukasz Jobczyk
83ebbb01d3 performance: Add flag to mitigate host visible signal in CB events
Related-To: NEO-13441

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-12-24 12:35:55 +01:00
Bartosz Dunajski
db3f268a97 refactor: reorganize l0 api include directories [2/n]
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-12-20 17:16:53 +01:00
Bartosz Dunajski
47f74b8a7b refactor: reorganize l0 api include directories [1/n]
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-12-20 12:59:08 +01:00
Raiyan Latif
06c94d47f9 feature: Add External Semaphore experimental [3/N]
Related-To: NEO-11488

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2024-12-18 05:29:33 +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
Aravind Gopalakrishnan
f4cc71f3f9 feature: Add External Semaphore experimental stubs [2/N]
Related-To: NEO-11488

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-11-21 01:42:50 +01:00
Aravind Gopalakrishnan
33f64edc31 feature: Add External Semaphore experimental stubs [1/N]
Related-To: NEO-11488

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-11-20 19:04:42 +01:00
Aravind Gopalakrishnan
26346af8ed refactor: Remove not needed experimental API definition
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-11-20 11:15:29 +01:00
Joshua Santosh Ranjan
f589408848 feature: update metrics for v1.11
Related-To: NEO-12597

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-11-19 02:02:46 +01:00
Bartosz Dunajski
fea50b1b94 feature: adjust CB Event creation in BB tests
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-14 16:51:15 +01:00
Pratik Bari
31ca28d5bf feature(sysman): VF telemetry APIs for memory utilization
Related-To: NEO-11337

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2024-11-14 10:12:27 +01:00
Bartosz Dunajski
c02e025e8f feature: default mode for zexCounterBasedEventCreate2
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-13 16:04:20 +01:00
Bartosz Dunajski
34e2e4fd6e feature: expose new CB Event APIs
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-13 11:23:32 +01:00
Bartosz Dunajski
ea8d2803ce fix: verify CB Event IPC input params
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-08 14:48:32 +01:00
Bartosz Dunajski
34e22f0eee fix: create standalone event with correct packet size
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-08 13:06:45 +01:00