Commit Graph

356 Commits

Author SHA1 Message Date
Joshua Santosh Ranjan 3db2183810 feature: support metrics runtime disabling
This feature disallows metric group activation
if disabled

Related-To: NEO-14310

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2025-05-16 18:56:00 +02:00
Bartosz Dunajski ef0c525847 feature: copy offload support for images
Related-To: NEO-7067

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-05-15 18:02:06 +02:00
Zbigniew Zdanowicz f2601d8ccf refactor: simplify interface of append launch kernel
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-05-15 10:22:36 +02:00
Mateusz Jablonski e77b862362 fix: fill missing ddi entries
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-15 08:40:02 +02:00
Dominik Dabek 449b82003d fix: disable experimental l0 ipc methods
Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-05-14 19:07:59 +02:00
Raiyan Latif be40078d71 fix: Fill Ddi Entry for external semaphore functions
Related-To: NEO-11488

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2025-05-14 13:13:13 +02:00
Mateusz Jablonski 041f879e64 refactor: correct location of definition of new L0 API functions
L0 API functions have two definitions, internal and external:
- internal definition is in L0 namespace
- external defintion is in extern C scope and points to internal definition

Below API functions are corrected within this change:
- zeDriverGetDefaultContext
- zerDriverGetDefaultContext
- zerDeviceTranslateToIdentifier
- zerIdentifierTranslateToDeviceHandle
- zeDeviceSynchronize

Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-14 12:20:00 +02:00
Mateusz Jablonski 48881bfb9a feature: add L0 API to append kernel with all params
Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-14 11:13:35 +02:00
Bartosz Dunajski 9e92324171 feature: copy offload support for fill operations
Related-To: NEO-7067

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-05-12 10:34:19 +02:00
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