Commit Graph

6703 Commits

Author SHA1 Message Date
Compute-Runtime-Validation
bf3a0f6083 Revert "feature: Allow for child-parent synchronization in subgraphs"
This reverts commit 5bd47a0b7d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-11-29 02:37:53 +01:00
Aleksandra Nizio
a95964c4f6 fix: Add a check if driver model is not 'unknown'
In the systemBarrier function, we check if the driver model is 'unknown'
if it is then return Unsupported Feature and replacing test to accurate
file

Resolves: NEO-16661,NEO-16718

Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-11-28 15:57:32 +01:00
Arek G
278eb36d44 test: Mock filesystem in ults 10/n
Related-To: NEO-15069

Signed-off-by: Arek G <arkadiusz.grubba@intel.com>
2025-11-28 15:25:50 +01:00
Zbigniew Zdanowicz
81eed49911 fix: null memory copy extension descriptor is valid case
Related-To: NEO-15606

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-11-28 15:02:16 +01:00
Maciej Bielski
147bd894ec refactor: use PRINT_STRING macro for most diagnostics
Related-To: NEO-14742
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-11-28 13:28:29 +01:00
Dominik Dabek
231cfdc472 fix: l0, correct ptr in query kernel timestamps
Passed destPtr might not always be the allocations base address.

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-11-28 12:59:31 +01:00
Chodor, Jaroslaw
5bd47a0b7d feature: Allow for child-parent synchronization in subgraphs
With this change, only last seqeuence of event signal->wait from
child to parent graph will be treated as join of a forked cmdlist

Related-To: NEO-16554

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-11-28 12:24:44 +01:00
Arek G
9d0780b5ee test: Mock filesystem in ults 9/n
Related-To: NEO-15069

Signed-off-by: Arek G <arkadiusz.grubba@intel.com>
2025-11-28 07:50:09 +01:00
Dominik Dabek
76a1a81af6 fix: usm pool blocking free handling
When blocking free of chunk is requested, wait for pool allocation
completion.

In pool cleanup, make freeing pool non-blocking.

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-11-27 18:08:39 +01:00
Fabian Zwoliński
ef840798c7 feature: add per-module ISA allocation for large kernel groups
Introduce a third ISA allocation strategy for modules where debugger
is disabled but total kernel ISA size exceeds single page size.

Previously such modules would allocate separate ISA per each kernel.
Now they share single per-module allocation (kernelsIsaParentRegion),
reducing memory wastage.

Three allocation paths:
1. debuggerDisabled && size <= pageSize: pool allocator (cross-module)
2. debuggerDisabled && size > pageSize: per-module
3. debugger enabled: per-kernel separate allocations

Related-To: HSD-18043990512
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-11-27 18:01:31 +01:00
Compute-Runtime-Validation
194b969ffe Revert "feature: add 64-bit semaphore command"
This reverts commit 4dc2945060.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-11-27 15:38:15 +01:00
Jakub Nowacki
c6b7c5da7c refactor: use specific version when exposing ext
1. Use specific version when exposing extension
2. Use _CURRENT enum when verifying extension
3. Reorder and group the extension list

Related-To: NEO-11561

Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com>
2025-11-27 14:32:26 +01:00
Maciej Plewka
18073ee50e fix: remap virtual alloc when access attribute changed
Related-To: NEO-13468
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-11-27 13:07:25 +01:00
Igor Venevtsev
e6dda55428 feature: add support for zeKernelGetAllocationPropertiesExp L0 extension
Related-To: GSD-9624

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2025-11-27 12:46:37 +01:00
Naklicki, Mateusz
4dc2945060 feature: add 64-bit semaphore command
Related-To: NEO-15636

Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-11-27 12:03:54 +01:00
Zbigniew Zdanowicz
21ec747aa3 feature: add methods to handle additional extensions in graph dump
Related-To: NEO-15606

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-11-27 09:52:24 +01:00
Compute-Runtime-Validation
96457f879b Revert "fix: BMG returns non-zero maxClockRate in zeDeviceGetMemoryProperties"
This reverts commit 175c8a821f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-11-27 03:11:39 +01:00
Compute-Runtime-Validation
e9f1e05f31 Revert "fix: usm pool alignment check, use host ptr"
This reverts commit b0530e13e2.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-11-27 02:12:31 +01:00
Szymon Morek
9892a42e6e performance: copy D2H with staging buffers
Related-To: NEO-16791

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-11-26 18:02:11 +01:00
Szymon Morek
1ebfab3beb performance: enable timestamp caching on L0
Related-To: NEO-14360

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-11-26 17:10:54 +01:00
Dominik Dabek
b0530e13e2 fix: usm pool alignment check, use host ptr
Any alignments below pool alignment can be accepted.

Do not pool if host ptr is passed from application.

Adjust ULTs that previously did not use pooling due to alignment.

Related-To: NEO-16084

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-11-26 16:52:33 +01:00
Anvesh Bakwad
86ae7d8a2d feature(sysman): Add support for new detailed throttle reasons
Related-To: NEO-16801

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2025-11-26 14:59:57 +01:00
Jack Myers
175c8a821f fix: BMG returns non-zero maxClockRate in zeDeviceGetMemoryProperties
Implemented getDeviceMemoryMaxClkRate() override for BMG Linux to query
actual memory clock rate from DRM driver instead of returning 0.

Updated unit test to dynamically verify maxClockRate matches ProductHelper
return value instead of expecting hardcoded 0.

Related-To: NEO-16805

Signed-off-by: Jack Myers <jack.myers@intel.com>
2025-11-26 01:43:39 +01:00
Brandon Yates
6acdd40126 fix: Fix debugger thread remapping on PTL
No Thread remapping is required for this part. Remove all
thread remapping when using xe driver

Related-to: GSD-11702

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2025-11-25 21:34:50 +01:00
shubham kumar
1309a77292 feature: Add support for euss buffer overflow on windows
Related-To: NEO-15684

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-11-25 20:15:15 +01:00
Zbigniew Zdanowicz
0164380046 feature: add extension memory transfer appends to graph
Related-To: NEO-15606

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-11-25 16:13:32 +01:00
Szymon Morek
3037afa239 performance: defer DC flush to host synchronize
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-11-25 15:55:32 +01:00
Compute-Runtime-Validation
074cd41643 Revert "build: update gtest to v1.17.0"
This reverts commit ebb4f48083.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-11-25 14:25:11 +01:00
Jaroslaw Warchulski
cc79a136c9 refactor: do not use C headers
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-25 12:07:50 +01:00
Szymon Morek
bb15deca7e fix: do not wait on tag when releasing in-place
Related-To: GSD-11990

If user releases USM without defer policy, do not check whether
allocation is in use when trying to reuse.

Also, when context is being destroyed, use blocking policy to
make sure that tag is updated and driver will notice that
resource is no longer being used by GPU when cleaning up.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-11-25 11:12:43 +01:00
Szymon Morek
5790a624e1 performance: dont wait on already waited counter
Related-To: GSD-11996

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-11-25 11:09:59 +01:00
Kamil Kopryk
56b30d1803 feature: redesign host function workers
Each host function gets its unique ID within a CSR,
uses 1 mi store to write ID - to signal that host function is ready,
and 1 mi semaphore wait will wait for the ID to be cleared,
Use 0th bit from ID as pending/completed flag,
host function ID is incremented by 2, and starts with 1.
So each ID will always have 0bit set.
This is a must have since semaphore wait can wait for 4 bytes only.

Adjust command buffer programming and patching logic to IDs.

Add hostFunction callable class - using invoke method,
which stores required information about callback.

Add host function streamer - stores all host function data
for a given CSR.
All user provided host functions are stored in unordered map,
where key is host function ID.

Add host function scheduler, and a thread pool - under debug flag
Single threaded scheduler loops over all registered host function streamers,
dispatch ready to execute host functions to thread pool.

Allow for out of order host functions execution for OOQ - under debug flag,
each host function has bool isInOrder flag which indicates if it can be
executed Out Of Order - in this mode, ID tag will be cleared immediately,
so semaphore wait will unblock before the host function execution.

Remove Host Function worker CV and atomics based implementation.

Rename classes

Related-To: NEO-14577
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-11-25 08:05:41 +01:00
Mateusz Jablonski
4f7d2f0315 feature: add support for NVLS
Related-To: NEO-16649

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-24 22:33:06 +01:00
Mateusz Jablonski
a22817200f refactor: add wrapper for max gfx core
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-24 21:35:38 +01:00
Compute-Runtime-Validation
e0631437fc Revert "test: remove some offload test cases temporarily"
This reverts commit f3a7278d8f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-11-24 21:31:53 +01:00
Jaroslaw Warchulski
4a8350c29d test: use HWTEST_F instead of HWTEST2_F with MatchAny param
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-21 13:17:38 +01:00
Jaroslaw Warchulski
169dad90e1 refactor: add missing #pragma once directives
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-21 12:32:55 +01:00
Mateusz Jablonski
ebb4f48083 build: update gtest to v1.17.0
ignore character-conversion warning in gtest code

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-21 10:38:16 +01:00
Mateusz Jablonski
f33095928c build: rename target gtest to neo_gtest
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-21 09:41:04 +01:00
Bellekallu Rajkiran
f3a7278d8f test: remove some offload test cases temporarily
Temporarily disable offload test case related to additional blit
properties from the test

Related-To: NEO-13003

Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-11-21 01:15:33 +01:00
Jaroslaw Warchulski
b864c34d16 test: fix typo
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-20 18:35:17 +01:00
Fabian Zwoliński
4078022318 fix: configure ISA Pool params based on productHelper
When is2MBLocalMemAlignmentEnabled returns true,
increase pool size for builtins from 64k to 2MB.

Additionally, set appropriate alignment for kernel ISA heap allocations.
Additionally, configure isaAllocationPageSize based on productHelper.

Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-11-20 18:08:14 +01:00
Szymon Morek
26f3f7a343 refactor: remove not needed variable
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-11-20 18:00:27 +01:00
Mateusz Jablonski
553d931f4c build: rename gmock-gtest target to gtest
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-20 17:32:45 +01:00
Mateusz Jablonski
48cf53e9f5 build: remove not needed VERSION file
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-20 11:01:27 +01:00
Mateusz Hoppe
466f654308 fix: move waitWithKmdNotifyFallback under debug key
Related-To: NEO-2024

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-11-20 09:51:23 +01:00
Jaroslaw Warchulski
f50ca4432d refactor: cleanup includes
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-20 08:24:13 +01:00
Mateusz Jablonski
8db92240fc refactor: add wrapper for max product enum value
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-20 08:04:57 +01:00
Neil R. Spruit
b580e4e023 feature: Enable Support for reading updated StateSaveHeaders
Related-To: NEO-16518

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-11-19 16:42:42 +01:00
Jaroslaw Warchulski
a52f526929 refactor: cleanup includes
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-19 16:03:24 +01:00