Commit Graph

9044 Commits

Author SHA1 Message Date
Krzysztof Sprzaczkowski
6c811acb8b fix: crash due to duplicates in the allocForResidency container for multi-GPU
Related-To: NEO-16582
Signed-off-by: Krzysztof Sprzaczkowski <krzysztof.sprzaczkowski@intel.com>
2025-12-03 11:11:22 +01:00
Szymon Morek
6e96e8dfb0 refactor: reduce cl_buffer pool size for ULTs
Related-To: NEO-16452

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-12-03 10:01:23 +01:00
Compute-Runtime-Validation
936de45c71 Revert "feature: enable defer backing by default"
This reverts commit 94a857b975.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-12-03 01:52:36 +01:00
Arek G
bcae1bcd3b test: Mock filesystem in ults 13/n
Related-To: NEO-15069

Signed-off-by: Arek G <arkadiusz.grubba@intel.com>
2025-12-02 14:05:23 +01:00
Lukasz Jobczyk
7561400935 fix: Correct allocation remove from eviction container
Resolves: HSD-18044004146

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-12-02 11:22:13 +01:00
Maciej Plewka
d57a715327 fix: map with correct access attribute
Related-To: NEO-13468
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-12-02 10:35:49 +01:00
Jack Myers
4425f394a9 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-12-02 04:53:41 +01:00
Bellekallu Rajkiran
94a857b975 feature: enable defer backing by default
Related-To: NEO-13403

Signed-off-by: Narendra Bagria <narendra.bagria@intel.com>
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-12-02 04:46:23 +01:00
Narendra Bagria
a74cbdafc1 feature: shared system support for clEnqueueSVMMemFill
Related-To: NEO-16825

Signed-off-by: Narendra Bagria <narendra.bagria@intel.com>
2025-12-01 19:21:20 +01:00
Dominik Dabek
2c18892a6e 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-12-01 17:36:45 +01:00
Aleksandra Nizio
1e2b0228a0 refactor: Moving MakeAllBuffersResident flag from release var to debug var
Resolves: NEO-16215
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-12-01 11:22:06 +01:00
Aleksandra Nizio
748e947c10 performance: Implement InvertedCompatibilityMap to optimize compatibility lookup
Added getInvertedCompatibilityMapping() utility in AOT namespace
to enable efficient reverse lookup of product compatibility. This change
reduces redundant searches and improves performance for compatibility
fallback queries.

Related-To: NEO-14300,GSD-10568
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-12-01 10:46:12 +01:00
Aleksandra Nizio
bbba367745 refactor: creating igdrcl.log file with _pid suffix
Resolves: NEO-16871
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-12-01 10:36:16 +01:00
Mateusz Jablonski
3a6f194806 refactor: remove not needed code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-28 14:51:17 +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
Michal Mrozek
68d01f398f refactor: remove not needed code
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-11-28 13:08:13 +01:00
Michal Mrozek
e709165f41 refactor: remove not needed code
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-11-28 10:44:27 +01:00
Mateusz Jablonski
31febb587d test: add macros for cri/xe3p tests
Related-To: NEO-16649

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-28 08:13:31 +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
Michal Mrozek
4fd0452e26 refactor: remove not needed code
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-11-27 17:13:44 +01:00
Mateusz Jablonski
405b39f722 fix: move getting scratchPtr offset method to ImplicitArgs class
Related-To: NEO-16649
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-27 16:06:44 +01:00
Mateusz Hoppe
015d14891d performance: wrap xeLogs in macro to prevent evaluation of args
Related-To: NEO-14153

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-11-27 16:01:29 +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
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
Mateusz Jablonski
35901ecfec feature: add placeholder value for cri product
Related-To: NEO-16649
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-27 12:20:40 +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
Filip Hazubski
2fbb12b545 feature: Add debug toggle OverrideSamplerArbitrationControl
Resolves: NEO-16608

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-11-27 09:53:06 +01:00
Mateusz Jablonski
9db471bf13 test: add test for xe drm support
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-27 09:51:42 +01:00
Mateusz Jablonski
1bfca607c9 test: add test for config in aub file name
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-27 07:15:22 +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
Mateusz Jablonski
73a6b75f57 refactor: placeholder for device handle in gmm client context
Related-To: NEO-11080

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-26 15:28:29 +01:00
Michal Mrozek
af43bd6236 performance: add debug flag to override node ordinal for ccs
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-11-26 13:04: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
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
Mateusz Jablonski
b8e85a9ce4 refactor: move xe3 core definitions to common place
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-25 16:39:54 +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
Maciej Plewka
c3912acaca fix: do not pass msaa sharing to compile for CL in version below 1.2
Related-To: NEO-15673
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-11-25 10:35:14 +01:00
Szymon Morek
861ea7200d performance: increase heap size to 4MB on OCL
Related-To: NEO-16348

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-11-25 09:58:16 +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
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