Commit Graph

8311 Commits

Author SHA1 Message Date
Dominik Dabek
a5f589265d performance: enable usm reuse, BMG
Related-To: NEO-6893, GSD-11387

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-07-18 16:27:45 +02:00
Naklicki, Mateusz
baab16c394 refactor: remove unused debug variables
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-07-18 13:14:27 +02:00
Eric Mortensen
69f2cda2fa fix: add error checks & return to unMapVirtualMem
Related-To: NEO-8566

Signed-off-by: Eric Mortensen <eric.mortensen@intel.com>
2025-07-17 23:53:19 +02:00
Maciej Bielski
35ecde70df refactor: extract parts of KernelImp data for easier capturing
`KernelImp` is virtual class so capturing the current kernel state
cannot be done by a simple copy-instance of the class. However, this can
be done by extracting the relevant data to a separate class and
capturing a copy of its instance.

Related-To: NEO-15374
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-07-17 23:00:22 +02:00
Grochowski, Stanislaw
171b398465 fix: Add PTL sku device ids
Related-To: NEO-14999

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-07-17 21:27:13 +02:00
Naklicki, Mateusz
5c74b361a3 test: prevent test cross-contamination in ClCache tests
Environment flags set in
GivenIgcEnvVarSetWhenGetDefaultCacheConfigThenWarningIsPrinted were
leaking to other tests, causing them to fail in some scenarios.

Resolves: NEO-15578
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-07-17 21:18:01 +02:00
Szymon Morek
1d842c58bf performance: don't terminate ULLS if BCS is busy
Related-To: NEO-15452

If CCS is idle, but BCS is busy, keep CCS ULLS
context running. BMG only.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-07-17 17:46:23 +02:00
Grochowski, Stanislaw
e652679b95 fix: correct pollForCompletion in aub on program termination
Related-To: NEO-14867

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-07-17 12:59:00 +02:00
John Falkowski
d3564fab68 refactor: Use common default pat index for vmUnbind
Related-To: NEO-13697

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-07-17 10:41:38 +02:00
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
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
Filip Hazubski
8136487439 fix: Correct logic to catch invalid gmm compression format
Add check for GMM_XE2_UNIFIED_COMP_FORMAT when creating Gmm for image.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-07-15 18:52:25 +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
Compute-Runtime-Validation
377b99e741 Revert "fix: do not align to 64kb when requested alignment is bigger"
This reverts commit 33749b8b5a.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-15 14:58: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
Dominik Dabek
a683caa2fc fix: disable l0 usm reuse, xe3
Related-To: NEO-6893, HSD-18042686324

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-07-14 13:13:17 +02:00
Maciej Plewka
12ab2131d8 fix: use alignment when allocate by linux kmd
Related-To: NEO-14082
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-07-14 09:29:41 +02:00
Compute-Runtime-Validation
a585cb45b7 Revert "fix: use alignment when allocate by kmd"
This reverts commit 72492a9a18.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-12 07:48:44 +02:00
Maciej Plewka
33749b8b5a fix: do not align to 64kb when requested alignment is bigger
Related-To: NEO-14082
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-07-11 19:59:28 +02:00
Kindracki, Jakub Tomasz
4b9010b87d test: Add tests for Xe and Xe2 commands headers
Related-To: NEO-13146
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-07-11 19:48:34 +02:00
Mateusz Jablonski
5e43ee905d refactor: remove not needed logic related to vme
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-11 17:02:48 +02:00
Mateusz Jablonski
500ae54fc1 refactor: remove not needed code related to device enqueue
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-11 10:37:27 +02:00
Mateusz Jablonski
8b6aaceab4 refactor: remove not needed code related to cl accelerator
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-10 18:08:32 +02:00
Mateusz Jablonski
b58de85026 refactor: remove not needed flag deviceSupportsVmePreemption
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-10 16:03:20 +02:00
Kindracki, Jakub Tomasz
d8170a4c35 test: Add tests for Xe3 commands header
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-07-10 15:31:35 +02:00
Compute-Runtime-Validation
23698ac860 Revert "fix: Set compression parameter when resource imported"
This reverts commit ed04190d77.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-10 13:41:07 +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
Grochowski, Stanislaw
8180e95e0f fix: ensure pollForCompletion in aub on program termination
Related-To: NEO-14867

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-07-10 08:32:00 +02:00
Dominik Dabek
ff662b3e88 fix: usm reuse aub/tbx indirect access
When allocation is saved for reuse, remove it from allocations map.
On get from reuse, reinsert it with new allocId.

Allocations saved for reuse should not be made resident for indirect
access.

Only applicable on aub/tbx csr types.

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-07-10 08:02:03 +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
Maciej Plewka
72492a9a18 fix: use alignment when allocate by kmd
Related-To: NEO-14082
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-07-09 15:16:12 +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
Aleksandra Nizio
292ca51bdc test: use safe env handling when IGC var is detected in tests
Replaced manual environment setup and cleanup with RAII-based
MockEnvironBackup in tests that check IGC_* variables. This ensures
proper isolation, automatic restoration, and prevents side effects
between tests when IGC environment variables are present.

Related-To: NEO-12721
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-07-09 10:49:03 +02:00
Aravind Gopalakrishnan
ed04190d77 fix: Set compression parameter when resource imported
Related-To: NEO-12375

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2025-07-09 08:36:05 +02:00
Kamil Kopryk
2edd953026 refactor: move empty sba programming in heapless prolog to base class
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-07-08 16:46:57 +02:00
Fabian Zwoliński
316ef0ac74 test: resolve unsafe type conversion
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-07-08 15:06:30 +02:00
Aleksandra Nizio
ff00896801 fix: add warning when IGC_* env vars are set
Related-To: NEO-12721
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-07-08 13:34:53 +02:00
Fabian Zwoliński
0bca8782c2 fix: resolve SVM allocation size mismatch for 2MB pages
Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-07-08 13:32:01 +02:00
Aleksander Czerwionka
27920bb645 fix: check if aubCenter exists before using setCCSMode
Related-To: NEO-15423

Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com>
2025-07-08 10:38:57 +02:00
Aleksandra Nizio
0842e16412 test: Remove usage of real env and captured PRINT_DEBUG_STRING in test
Related-To: NEO-12721
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-07-07 20:22:24 +02:00
Szymon Morek
9f02c72f15 performance: Change compression format on BCS for Xe2
Related-To: NEO-15454

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-07-07 16:23:38 +02:00
Dominik Dabek
3dcfef5812 fix: usm reuse aub/tbx update alloc id
On getting from reuse update alloc id and increment allocations counter.
This is to ensure that making indirect allocations resident picks up the
reuse allocation.
Only applicable on aub/tbx csr types.

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-07-07 15:49:16 +02:00
Aleksandra Nizio
6975f7bb8d fix: Disable compiler cache if any IGC_ env is set
Related-To: NEO-12721
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-07-07 09:55:49 +02:00
Compute-Runtime-Validation
8086c2a96f Revert "fix: check if aubCenter exists before using setCCSMode"
This reverts commit d670e66caa.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-05 03:43:34 +02:00
Mateusz Jablonski
9dbdbd50f2 test: mock file system in file logger tests
Related-To: NEO-14110
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-04 14:42:00 +02:00
Marcel Skierkowski
d896d98a61 test: fix resource leak by closing pipe file descriptors in StreamCapture
Ensure all pipe file descriptors (FDs) are close

Add destructor and set descriptors to -1 after closing
to prevent double close.

Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-07-04 14:28:41 +02:00
Slawomir Milczarek
76090f041d fix: Fixed out-of-bounds write to usageInfos array with residency task count
Related-To: NEO-12952

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2025-07-03 18:00:37 +02:00
Marcel Skierkowski
6a9a643b75 test: StreamCaptureStd on pipes
Store data in a pipe instead of a temporary file like gtest
resulting in faster test execution

Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-07-03 11:32:05 +02:00
Oskar Hubert Weber
1c722ddb7c test: mock filesystem in ULTs 2/n
Remove USE_REAL_FILE_SYSTEM() macro uses from API, program, kernel and
gtpin tests.

Related-To: NEO-15069

Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com>
2025-07-03 09:44:06 +02:00
Aleksander Czerwionka
d670e66caa fix: check if aubCenter exists before using setCCSMode
Related-To: NEO-15423

Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com>
2025-07-02 15:51:40 +02:00