Commit Graph

371 Commits

Author SHA1 Message Date
shubham kumar
5a1d6ac552 feature: Add support for pcie downgrade in BMG
Related-To: NEO-15270

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-07-16 07:24:33 +02:00
Shreyas Kunder
e4158208ae feature: Update Metrics Driver Code to use runtime enable & Disable APIs
Related-To: NEO-15339

Signed-off-by: Shreyas Kunder <shreyas.kunder@intel.com>
2025-07-15 14:28:49 +02:00
Dominik Dabek
c6ad7b4184 fix: return error on non pow2 pattern size, l0
When appending memory fill and passing non power of 2 pattern size,
return ZE_RESULT_ERROR_INVALID_SIZE.
Avoids terminating application by abort.

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-07-14 13:27:59 +02:00
Zbigniew Zdanowicz
1599e5bafe feature: add missing experimental mcl api calls
Related-To: NEO-10492

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-11 18:23:37 +02:00
Mateusz Jablonski
8f1903c7dd feature: add zerDriverGetLastErrorDescription API
this function retrieves last error from default driver

Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-11 13:37:50 +02:00
Mateusz Jablonski
2661fd9522 feature: define default descriptors for counter based event and USM
user can use default descriptor to simplify creation

Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-08 16:10:23 +02:00
Zbigniew Zdanowicz
3e3f516434 refactor: add graph base entrypoints
- correct declaration of mutable command list entrypoints

Related-To: NEO-15373

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-08 12:00:03 +02:00
Chodor, Jaroslaw
58228a36fe feature: Adding basic record and replay mechanism
Related-To: NEO-15373

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-07-07 15:12:57 +02:00
Neil R. Spruit
1abaf40799 feature: RTAS EXT support
- Added Support for the RTAs Extension support replacing the Exp support
which will remain for backwards compatability.

Related-To: NEO-15257

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-07-01 21:36:40 +02:00
Chodor, Jaroslaw
f35bdeb2fe feature: Adding Record and Replay API entrypoints
Related-To: NEO-15373

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-07-01 14:43:13 +02:00
Zbigniew Zdanowicz
442c11b5ba feature: add mutable command list implementation
Related-To: NEO-10492

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-06-25 16:32:08 +02:00
Neil R. Spruit
532c663da6 feature: Add Initial Support for Get Vector Width Properties
- Added support for L0 to query Vector Width Properties which allows for
querying all the supported vector widths and their prefferred and
native vector widths per data type.
- Updated shared code to support querying the same values thru
getPreferredVectorWidth* and getNativeVectorWidth* helper functions
for OpenCL and Level Zero.
- Initial support for reporting base values for the vector
widths with future support for reporting different values per platform and
based on the SIMD/SIMT size used.

Related-To: NEO-13745

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-06-25 01:11:30 +02:00
Mateusz Jablonski
13a5e90124 refactor: split definitions from cmdlist_launch_params.h
Moving defintion of:
- CmdListKernelLaunchParamsExt to cmdlist_launch_params_ext.h
- CopyOffloadMode to copy_offload_mode.h
- MemoryCopyParams to cmdlist_memory_copy_params.h
- CommandToCopy to command_to_copy.h

Store LaunchParamsExt as non-pointer member of CmdListKernelLaunchParams

Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-30 17:39:35 +02:00
Cabral, Matias A
9831931722 refactor: correct names in calcop creation
Resolves: NEO-14512

Signed-off-by: Cabral, Matias A <matias.a.cabral@intel.com>
2025-05-27 18:40:00 +02:00
Mateusz Hoppe
0d57dcfdf0 feature: add L0 API querying priority levels - zeDeviceGetPriorityLevels()
Related-To: NEO-14572

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-05-23 09:24:16 +02:00
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