Commit Graph

2665 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Krzysztof Sprzaczkowski
5a057bbd46 feature: Add PCI barrier mmap logic for xe
Related-To: NEO-13081
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
Signed-off-by: Krzysztof Sprzaczkowski <krzysztof.sprzaczkowski@intel.com>
2025-07-01 16:32:54 +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
Mateusz Hoppe
cb152ba821 fix: copy sip binary to allocation based on blitRequired query
- readOnly ISA allocations must be written through CPU pointer
- command buffer allocation in singleAddressSpaceSbaTracking mode cannot
be readonly - it is written by SBA tracking commands
- this change is fixing ZET_ENABLE_PROGRAM_DEBUGGING mode 2

Related-To: GSD-10359

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-06-30 19:41:19 +02:00
Szymon Morek
af6ac59a40 Revert "fix: Override timestamp width from KMD"
This reverts commit 7f2b806413.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-06-30 16:10:01 +02:00
Bartosz Dunajski
78c6751be1 feature: initial support for multitile bcs split
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-06-30 12:38:58 +02:00
Kamil Kopryk
fe34302a3a fix: RTDispatchGlobals programming
Related-To: NEO-14423

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-06-26 04:45:49 +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
Szymon Morek
0db5ce22a1 performance: use resource_barrier on Xe2 and PTL
Related-To: NEO-14943

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-06-24 14:24:47 +02:00
Raiyan Latif
533d351f5d fix: Add External Semaphore IOCTL calls to XE ioctl helper
Related-To: NEO-15298

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2025-06-24 06:15:53 +02:00
Chandio, Bibrak Qamar
c1867ed981 feature: atomic attributes for shared system alloc
Related-To: NEO-13715, NEO-14862

Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
2025-06-23 20:14:47 +02:00
Dominik Dabek
77e25f90d7 fix: prepare for l0 usm reuse enable
adjust ULTs
disable usm reuse in multi device l0
don't initialize usm caches if max reuse size is 0
check requested alignment when returning from cache
guard against double free

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-06-23 17:17:18 +02:00
Bartosz Dunajski
de8f98b43e feature: initial support for aggregated bcs split
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-06-23 16:20:14 +02:00
Mateusz Hoppe
b7580a3998 fix: store image arg size in kernel descriptor
- use arg size when patching bindless offset

Related-To: HSD-18042502539

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-06-23 13:37:44 +02:00
Jaroslaw Warchulski
2375ff89bb refactor: cleanup headers
Related-To: NEO-5548
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-06-23 11:23:49 +02:00
Jack Myers
f2b5126598 feature: enable tbx fault manager by default
Related-To: NEO-13748
Signed-off-by: Jack Myers <jack.myers@intel.com>
2025-06-23 09:59:32 +02:00
Slawomir Milczarek
2720f2316c feature: Add capability to print debug messages with pid and timestamp
Controlled with the knob DebugMessagesBitmask (1 - pid, 2 - timestamp)

Related-To: NEO-12952

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2025-06-21 19:35:52 +02:00
Bellekallu Rajkiran
1be3d6ad37 refactor: Refactor product helpers
Related-To: NEO-14627

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-06-20 23:04:34 +02:00
Aleksandra Nizio
f0780df9be fix: Remove unused AubMemDump logic
Related-To: NEO-14718
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-06-20 19:54:48 +02:00
John Falkowski
764fd33a46 refactor: clSetKernelArgSVMPtr ptr error if debug var set
Related-To: NEO-12988

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-06-18 20:55:48 +02:00
Jaroslaw Warchulski
49152d957f test: cleanup in common matchers
IsAtLeastGen12LP / IsNotWithinXeGfxFamily / IsNotXe2HpgCore /
IsWithinXeHpgCoreAndXe3Core / IsWithinXeHpcCoreAndXe3Core -> deleted
IsAtLeastXeHpCore -> IsAtLeastXeCore
IsBeforeXeHpCore / IsBeforeXeHpgCore / IsAtMostXeHpCore -> IsGen12LP
IsXeHpOrXeHpgCore -> IsXeHpgCore
IsXeHpOrXeHpcCore -> IsXeHpcCore
IsNotXeHpOrXeHpgCore -> IsNotXeHpgCore
IsNotXeHpOrXeHpcCore -> IsNotXeHpcCore
IsWithinXeGfxFamily / IsXeHpcOrXeHpgCore / IsXeHpOrXeHpcOrXeHpgCore ->
IsXeCore
IsNotXeHpgOrXeHpcCore -> IsNotXeCore
IsWithinXeHpCoreAndXe2HpgCore -> IsWithinXeCoreAndXe2HpgCore
IsXeHpcCoreOrXe2HpgCore -> IsWithinXeHpcCoreAndXe2HpgCore
IsWithinXeHpCoreAndXe3Core -> IsWithinXeCoreAndXe3Core
IsXe2HpgCoreOrXe3Core -> IsWithinXe2HpgCoreAndXe3Core
IsAtLeastBmg -> IsAtLeastXe2HpgCore
IsBeforeXeHpcCore -> IsAtMostXeHpgCore
IsBeforeXe2HpgCore / IsAtMostArl / IsAtMostXeHpcCore -> IsAtMostXeCore

Related-To: NEO-12681
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-06-18 10:48:17 +02:00
Kindracki, Jakub Tomasz
43f524d019 test: remove resetCommandStreamReceiver from tests
Added HWCMDTEST_TEMPLATED_F type of tests.
Removed resetCommandStreamReceiver from as many of this tests as
possible.

Related-To: NEO-3927
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-06-17 17:16:00 +02:00
Maciej Plewka
299c8689da refactor: move isPostImageWriteFlushRequired to release helper
Related-To: NEO-14935
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-06-17 13:24:20 +02:00
Szymon Morek
558752288f performance: set 1ms ULLS timeout on Windows since Xe2
Related-To: NEO-13843

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-06-17 08:09:24 +02:00
Compute-Runtime-Validation
763fe6ff86 Revert "feature: Enable defer backing by default"
This reverts commit bf8de245d9.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-06-17 06:31:27 +02:00
Kamil Kopryk
cdf087f3da fix: correct bindless offsets for L0 bindless images extension with heapless
Related-To: NEO-14710
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-06-16 11:50:18 +02:00
Grochowski, Stanislaw
a8394cbdeb refactor: remove WalkerVariant
Related-To: NEO-14537

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-06-16 11:30:32 +02:00
Bellekallu Rajkiran
bf8de245d9 feature: Enable defer backing by default
Related-To: NEO-13403

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-06-16 10:39:08 +02:00
Bartosz Dunajski
9fc244c83a refactor: remove not needed imm cmd list flush task code
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-06-16 08:59:51 +02:00
Compute-Runtime-Validation
006e853f2b Revert "fix: set correct bindless offsets for L0 bindless images extension wi...
This reverts commit 83e92017c5.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-06-13 09:41:57 +02:00
Kamil Kopryk
83e92017c5 fix: set correct bindless offsets for L0 bindless images extension with heaples
Related-To: NEO-14710
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-06-12 11:04:24 +02:00
Raiyan Latif
b6c2c59d8f feature: Add product helper for PidFdOrSocketForIPC
Related-To: NEO-15183

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2025-06-12 02:02:14 +02:00
Chodor, Jaroslaw
2c10dc2f53 feature: Adding debug key for custom igc lib name
This commit adds new debug key which can be used
to override loaded igc libary name.

E.g. IgcLibraryName=my_custom_igc.so

Related-To: NEO-14579

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-06-11 22:07:25 +02:00
Kamil Kopryk
bb52c358b9 refactor: flush Task method
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-15011

Also correct ults
2025-06-11 16:36:56 +02:00
Marcel Skierkowski
a52260ce63 test: StreamCapture on pipes
Enhance StreamCapture class to mimic gtest's CaptureStdout/Stderr functionality.
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-06-11 15:37:01 +02:00