Commit Graph

4446 Commits

Author SHA1 Message Date
Naklicki, Mateusz
bd80531dea fix: allow scratch to be optional
Related-To: NEO-14130

Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-06-24 11:15:04 +02:00
Compute-Runtime-Validation
408556dcd8 Revert "performance: Use immediate fill for pattern sizes <= 4"
This reverts commit 45a023c123.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-06-24 11:09:22 +02:00
Lukasz Jobczyk
45a023c123 performance: Use immediate fill for pattern sizes <= 4
Related-To: NEO-9729

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-06-23 20:29:32 +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
Mateusz Hoppe
b8662d1a87 test: allow ocloc compilation to spirv with device in bbox tests
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-06-23 12:51:25 +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
Aravind Gopalakrishnan
aaa01c06f9 refactor: Introduce template type for Ipc data type
Related-To: NEO-15185

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2025-06-19 03:07:45 +02:00
Neil R. Spruit
dd63a48dfe feature: Support for Level Zero Device Cache Line Size Extension
Related-To: NEO-1324

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-06-18 22:02:01 +02:00
Mateusz Jablonski
b1eb32f447 refactor: split definition of L0 event completion timeout
reduce the value for unit tests

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-06-18 16:05:33 +02:00
Mateusz Jablonski
b8cebd7105 refactor: prework for parsing pNext extensions for append launch kernel
Related-To: NEO-14560

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-06-18 14:31:20 +02:00
Mateusz Jablonski
be924edf3d fix: correct exposing shared cross device alloc capabilities
support depends on kmd capabilities and debug key

Related-To: NEO-14938
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-06-18 12:57:07 +02:00
Dominik Dabek
ced0511777 fix: do not wait for timestamps if flag not set
If event was not created with timestamps flag do not wait for timestamps
to be populated.

Related-To: NEO-14139

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-06-18 11:14:54 +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
Zbigniew Zdanowicz
0b0aaa611d test: update mock kernel class
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-06-17 19:30:51 +02:00
Dominik Dabek
00921d0929 performance: enable l0 usm host pool
disable in sysman ults, pooling breaks in tests that simulate device
error

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-06-17 14:37:01 +02:00
Mateusz Jablonski
de57a3f3dd fix: correct setting p2p atomics property
p2p atomics flag should be set based on info queried from fabric

Related-To: NEO-14938
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-06-17 13:36:16 +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
Aravind Gopalakrishnan
e1b33a657c refactor: Use handle member in IpcHandleTracking
Related-To: NEO-15185

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2025-06-17 08:56:04 +02:00
Compute-Runtime-Validation
890182b093 Revert "fix: skip cleanup in DllMain when terminating process"
This reverts commit 0b5c9125ac.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-06-17 04:34:30 +02:00
Compute-Runtime-Validation
efb03340fb Revert "refactor: Use handle member in IpcHandleTracking"
This reverts commit 253764f440.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-06-17 02:06:56 +02:00
Mateusz Hoppe
e6ed42d056 fix: apply relocations in isa segments for builtin kernels
- use correct patched isa segments when transferring isa for builtins to
preserve applied relocations
- do not set requiresImplicitArgs to false for builtins, zebin defines
is implicit arg buffer is required

Related-To: NEO-14667, NEO-15276

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-06-16 17:51:55 +02:00
John Falkowski
969176e43c test: Modify AppendFillFixture for Shared System USM
Related-To: NEO-13697

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-06-16 17:30:12 +02:00
Maciej Plewka
cd27bb32c5 fix: In order signaling with pipe control for fill operation
Related-To: NEO-15192
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-06-16 15:58:44 +02:00
Mateusz Jablonski
0a8248fc9f fix: expose P2P property access flag based on canAccessPeer result
simplify case with same root device indices

Related-To: NEO-14938
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-06-16 15:47:01 +02:00
Aravind Gopalakrishnan
253764f440 refactor: Use handle member in IpcHandleTracking
Related-To: NEO-15185

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2025-06-16 13:17:38 +02:00
Dominik Dabek
e5477e614e fix: prepare for l0 host usm pool
enable only if all devices support hostUsmPooling

split product helper method by api type for pre PTL products

add ult helper function to cleanup and initialize pools -
used when replacing memory managers or normal cleanup during driver
destruction would access already freed resources

adjust ults

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-06-16 12:13:45 +02:00
Mateusz Jablonski
f165e713a5 fix: cache canAccessPeer result of each pair of devices
query peer access only once per pair of devices

Related-To: NEO-14938

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-06-16 12:04:08 +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
Oskar Hubert Weber
0b5c9125ac fix: skip cleanup in DllMain when terminating process
Per https://learn.microsoft.com/en-us/windows/win32/dlls/dllmain,
it's not safe to cleanup resources in DllMain when
fdwReason == DLL_PROCESS_DETACH and lpvReserved != NULL (the process is
terminating), e.g. can result in a hang in some cases.

Related-To: NEO-14121

Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com>
2025-06-16 11:08:43 +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
Lukasz Jobczyk
747a708213 performance: Allow optimized CB events on MCL
Resolves: NEO-14195

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-06-13 18:44:29 +02:00
Mateusz Jablonski
d842363c8b refactor: remove not needed function
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-06-13 17:21:48 +02:00
Bartosz Dunajski
7d5679cbfe fix: enable flush task submission for internal cmd lists
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-06-12 19:44:14 +02:00
Damian Tomczak
5cd1423bab feature: packed surface format
Resolves: NEO-13669

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-06-12 17:32:16 +02:00
Zbigniew Zdanowicz
762dc5ef8e refactor: pass heap allocation as pointer and not as reference to encoder
Related-To: NEO-10492

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-06-12 11:04:09 +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
Mateusz Hoppe
534f7837fe refactor: add validateWorkgroupSize() method
Related-To: NEO-14209

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-06-11 18:17:57 +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
Chodor, Jaroslaw
767755df94 refactor: introducing AOT platforms wrapper
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-06-11 15:30:24 +02:00
Lukasz Jobczyk
f0bf8ade4d performance: Enable async builtin init xe2+, linux and windows
Related-To: NEO-14821

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-06-11 11:25:26 +02:00
Mateusz Jablonski
3b0b9f07a8 build: add cmake flag to skip mt unit tests
exclude mt test targets from ALL build

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-06-11 11:12:52 +02:00
Mateusz Jablonski
c01ef3d9ad refactor: remove redundant exec environment pointer from L0::DeviceImp
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-06-10 22:10:02 +02:00
Bartosz Dunajski
9505230c50 refactor: move prefetch methods to different files
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-06-10 16:54:53 +02:00
Compute-Runtime-Validation
523bd92db4 Revert "refactor: remove redundant exec environment pointer from L0::DeviceImp"
This reverts commit c7893fb3ed.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-06-10 10:04:06 +02:00
Bartosz Dunajski
ff7d0a76cb feature: prework to enable memory prefetch
Related-To: NEO-14703

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-06-10 01:05:41 +02:00