Commit Graph

387 Commits

Author SHA1 Message Date
Mateusz Jablonski
b5ea7274b8 fix: remove const from arguments in append with arguments
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-06 16:30:34 +02:00
Mateusz Jablonski
ee5cd678ea fix: correct naming of zer functions
zerDriverGetDefaultContext -> zerGetDefaultContext
zerDriverGetLastErrorDescription -> zerGetLastErrorDesription
zerDeviceTranslateToIdentifier -> zerTranslateDeviceHandleToIdentifier
zerIdentifierTranslateToDeviceHandle -> zerTranslateIdentifierToDeviceHandle

Related-To: NEO-14560

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-04 15:17:04 +02:00
Matias Cabral
1b7a26996e refactor: renaming of metrics calcOp related structures
Resolves: NEO-15139

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-08-04 11:09:28 +02:00
Compute-Runtime-Validation
566b6551a5 Revert "fix: correct naming of zer functions"
This reverts commit 91a9ccaebe.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-02 02:09:08 +02:00
Mateusz Jablonski
91a9ccaebe fix: correct naming of zer functions
zerDriverGetDefaultContext -> zerGetDefaultContext
zerDriverGetLastErrorDescription -> zerGetLastErrorDesription
zerDeviceTranslateToIdentifier -> zerTranslateDeviceHandleToIdentifier
zerIdentifierTranslateToDeviceHandle -> zerTranslateIdentifierToDeviceHandle

Related-To: NEO-14560

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-01 14:25:20 +02:00
Matias Cabral
b7f9d55118 feature: support excluded metrics from calc op
Resolves: NEO-15492

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-07-29 05:16:29 +02:00
Matias Cabral
93195e3501 feature: support for Metric Scopes
Resolves: NEO-15136

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-07-23 21:42:48 +02:00
Chodor, Jaroslaw
42ab9b5829 feature: Record&Replay support for queries
Related-To: NEO-15377

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-07-22 10:48:55 +02:00
Michal Mrozek
773248dc45 performance: remove redundant vector in mcl
Related-To: NEO-15498

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-07-21 14:43:03 +02:00
Michal Mrozek
aa8ab38156 performance: remove redundant vector
Related-To: NEO-15498
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-07-21 12:54:22 +02:00
Chodor, Jaroslaw
74f04acb88 feature: Record&Replay support for additional API calls
Related-To: NEO-15373

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-07-19 02:56:47 +02:00
Zbigniew Zdanowicz
259883c9c7 performance: do not capture and mutate stateful arguments in default mode
Related-To: NEO-13916

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-18 13:25:47 +02:00
Compute-Runtime-Validation
4c929fcc84 Revert "feature: support for Metric Scopes"
This reverts commit e92ac1c8ab.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-17 04:29:44 +02:00
Matias Cabral
e92ac1c8ab feature: support for Metric Scopes
Resolves: NEO-14753

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-07-16 19:30:14 +02:00
Chodor, Jaroslaw
7acb9585af feature: Adding fork/join support
Related-To: NEO-15373

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-07-16 17:28:26 +02:00
Mateusz Jablonski
4dc4c45bbb fix: correct signature of zeCommandListAppendLaunchKernelWithArguments
add const to pArguments and pNext types

Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-16 16:25:12 +02:00
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