Commit Graph

6056 Commits

Author SHA1 Message Date
Chodor, Jaroslaw
fcc2038def refactor: modernizing NEO::Range->std::span
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-07-17 01:27:11 +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
Mateusz Jablonski
10dc8a52a8 fix: correct shared cross device alloc caps for sub devices
in case of single exposed device, if there are subdevice, then
subdevices may access between each other

Related-To: HSD-18042639532

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-16 15:47:25 +02:00
Chodor, Jaroslaw
a1da10ea75 feature: Adding support for zebin's .text section
Related-To: NEO-12229

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-07-16 15:01:44 +02:00
Compute-Runtime-Validation
a6149fca1a Revert "fix: Add -emit-lib-compile-errors flag when library compilation is en...
This reverts commit c9ebf91271.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-16 14:36:11 +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
Zbigniew Zdanowicz
ef5efeac0c refactor: add kernel properties and move implementations to imp class
Related-To: NEO-15374

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-15 15:08:44 +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
Tomasz Biernacik
2c5cbec033 feature: control post sync completion check
Related-To: NEO-14844

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2025-07-15 13:51:19 +02:00
Zbigniew Zdanowicz
087d1ecea4 refactor: use encoders instead direct dispatch commands in mcl experimental
Related-To: NEO-10492

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-15 12:52:13 +02:00
Radoslaw Jablonski
be6fe9294c fix: stop Direct Submission on device teardown
This prevents a race condition, causing page faults, where device related
resources are released, but are still in use by commands (e.g. cache flushes)
submitted by the Direct Submission Controller.

Related-To: NEO-15017

Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
2025-07-15 12:12:59 +02:00
Mateusz Jablonski
6511837348 refactor: remove designated intializers from default descriptor definitions
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-15 09:58:55 +02:00
Zbigniew Zdanowicz
b62813297d refactor: move add kernel arg stateful buffer to experimental implementation
Related-To: NEO-10492

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-15 01:02:26 +02:00
Aviral Nigam
0c15dcbd05 fix: Correct the pci device slot address
This change fix the slot address while performing cold reset

Resolves: NEO-15305

Signed-off-by: Aviral Nigam <aviral.nigam@intel.com>
2025-07-14 18:45:14 +02:00
Mateusz Jablonski
536585e8bc test: use default context in L0 black box tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-14 18:34:29 +02:00
Mateusz Jablonski
8dc24d9e2c feature: add default command queue descriptor to ze_intel_gpu.h
Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-14 16:24:18 +02:00
Zbigniew Zdanowicz
b8faf7f092 test: add missing mutable command list tests
- expand existing for missing subcases

Related-To: NEO-10492

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-14 13:34:16 +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
1aefbd709b performance: reserve space for internal vectors
- reserved space avoids vector memory relocations

Related-To: NEO-13916

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-14 13:13:55 +02:00
Aviral Nigam
08cb337e93 feature(sysman): Adding support for Media Frequency Domain
Adding support for Media Frequency Domain for the Xe platform

Related-To: NEO-11149

Signed-off-by: Aviral Nigam <aviral.nigam@intel.com>
2025-07-14 09:51:56 +02:00
Zbigniew Zdanowicz
d31366794a fix: skip and continue kernel isa mutation when same kernel is provided
Related-To: NEO-10492

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-11 20:28:51 +02:00
Mateusz Jablonski
762b04cf77 feature: add command queue flag to pass copy offload hint
Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-11 19:42:48 +02:00
Mateusz Jablonski
645de5add8 fix: correct shared cross device alloc capabilities
allow for access in case of multiple exposed devices when
there is only one root device

Related-To: HSD-18042639532
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-11 18:32:06 +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
Anvesh Bakwad
cf1eeb8b51 feature(sysman): Add support for PMT for BMG G31 Linux platform
Related-To: NEO-15428

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2025-07-10 16:04:52 +02:00
Aravind Gopalakrishnan
c1c8eb59c0 refactor: Cache context settings during init
- cache context related settings once to reuse in subsequent calls

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2025-07-10 12:06:20 +02:00
Zbigniew Zdanowicz
0713709d51 test: add region barrier kernel mutation tests
Related-To: NEO-10492

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-10 11:08:40 +02:00
Filip Hazubski
f8dc80c7fc test: Adjust direct submission tests
Disable direct submission at the end of the test for cases where
direct submission is enabled in test body.

Adjust mock csr to restore os context in cases where
context has been replaced in test body.

Related-To: NEO-15017

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-07-10 11:01:33 +02:00
Aleksandra Nizio
c9ebf91271 fix: Add -emit-lib-compile-errors flag when library compilation is enabled
Related-To: NEO-8608
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-07-10 10:48:21 +02:00
Mateusz Jablonski
6bc9829e99 refactor: dont use designated initializers in default descriptor definition
designated initializers require c++20

Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-10 10:30:34 +02:00
Chodor, Jaroslaw
0313bee322 feature: Adding record and replay headers to devel package
Related-To: NEO-15373

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-07-10 10:06:06 +02:00
Mateusz Hoppe
703497b067 fix: read ONEAPI_PVC_SEND_WAR_WA env
- disable optimization with compiler internal option when env is set to
zero

Related-To: NEO-15378, GSD-10884

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-07-09 16:22:18 +02:00
Zbigniew Zdanowicz
fc37b98b69 fix: provide fixes for kernel isa mutation of cooperative kernels
- update correctly mutable residency of cooperative kernel barrier allocation
- fix disable noop patching when mutate into non cooperative kernel
- reset mutation variables for not default kernels in mutable kernel group

Related-To: NEO-10492

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-09 16:22:00 +02:00
Mateusz Jablonski
af0e387f35 fix: ensure proper drm cleanup in L0 sysman init path
drm cleanup currently applied in positive scenario should be also
applied in case of multi GPU if some devices failed at initialization

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-09 13:48:53 +02:00
Zbigniew Zdanowicz
ec0e493ca8 fix: add initial calculation max thread group count for cooperative
Related-To: NEO-10492

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-08 21:23:24 +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
Shreyas Kunder
e1eae6a3e5 feature(sysman): Add support for Memory properties & state for iGPU's in Linux
Related-To: NEO-14198

Signed-off-by: Shreyas Kunder <shreyas.kunder@intel.com>
2025-07-08 15:02:24 +02:00
Mateusz Jablonski
a345fa0783 fix: remove not needed printf from production code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-08 12:01:52 +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
Zbigniew Zdanowicz
c1ec5db4fc refactor: simplify conditions and add unit tests for mcl
- remove always true conditions
- move experimental code to experimental implementations
- add missing unit tests
- extend existing unit tests

Related-To: NEO-10492

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-08 11:07:10 +02:00
Maciej Plewka
6951ff1a07 fix: store whole global timestamp before context timestamp
Related-To: NEO-15192
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-07-07 21:34:08 +02:00
Compute-Runtime-Validation
d952298321 Revert "fix: skip cleanup in L0 DllMain when terminating process"
This reverts commit b70c7fd078.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-07 17:42:50 +02:00
Marcel Skierkowski
492b81d02d test: Restore StreamCapture usage in l0_tools tests
Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-07-07 17:26:33 +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
Zbigniew Zdanowicz
699c55ddd5 test: add missing mcl tests
- add portion of negative tests
- add functional tests
- extend existing tests

Related-To: NEO-10492

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-07 14:58:23 +02:00
Anvesh Bakwad
3dfc6601ba fix(sysman): fix Burst Power Limit node retrieval issue in i915 platforms
Related-To: NEO-15450

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2025-07-07 13:26:34 +02:00
Lukasz Jobczyk
67462c4356 fix: Correct alignment check for immediate fill v2
Resolves: HSD-18042731538

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-07-07 11:43:53 +02:00