Commit Graph

7852 Commits

Author SHA1 Message Date
Dominik Dabek
1cbfdbf39a refactor: isFlushBetweenBlitsRequired helper
Moved from miArbCheckWaRequired in blit helper to product helper.

Preparation to remove flushes between blits on compatible platforms.

Related-To: NEO-16925

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-12-10 10:40:15 +01:00
Jaroslaw Warchulski
60376bd98a refactor: cleanup includes
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-12-10 09:33:04 +01:00
John Falkowski
0775972769 feature: Enable shared system USM by default for BMG
Resolves: NEO-16531

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-12-10 09:11:57 +01:00
Jaroslaw Warchulski
106d1bb486 refactor: cleanup includes
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-12-09 18:35:59 +01:00
Slawomir Milczarek
51563504d2 feature: Enhance Secondary Context Initialization and Reuse Logic
This commit improves the logic for initializing and reusing secondary contexts
in the Device class. The changes ensure better handling of context creation,
rotation, and reuse, particularly for high-priority and regular contexts.

Related-To: NEO-16676

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2025-12-09 17:13:32 +01:00
Maciej Bielski
f8b2ec4aab refactor: turn cleanupBeforeReturn into lambda
The function has local use-case only and doesn't have to be present in
class declaration. Make it a local lambda and cleanup duplicated
pointers (to parent and child of the same object)

Related-To: NEO-14742
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-12-09 15:48:47 +01:00
Compute-Runtime-Validation
5a29a3b789 Revert "feature: Allow device with unknown Device ID when ip version is known...
This reverts commit 43c06f0605.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-12-09 14:05:06 +01:00
Grochowski, Stanislaw
43c06f0605 feature: Allow device with unknown Device ID when ip version is known on Linux
Related-To: NEO-15318

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-12-09 11:57:50 +01:00
Szymon Morek
f7a87f1509 fix: properly flush device cache during host sync on event
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-12-09 10:44:28 +01:00
Lukasz Jobczyk
2a9a4522a0 refactor: correct function name
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-12-09 09:55:30 +01:00
Lukasz Jobczyk
4f1eb7fe63 fix: Use proper wait method for gl cl event
Resolves: HSD-13014125012

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-12-08 15:12:26 +01:00
Grochowski, Stanislaw
572932f830 fix: separate ipVersion query and setup
Related-To: NEO-15318

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-12-08 14:15:57 +01:00
Naklicki, Mateusz
2c3b6a8760 feature: add 64-bit semaphore command
Related-To: NEO-15636

Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-12-08 13:59:29 +01:00
Jaroslaw Warchulski
33e25b260e refactor: do not include gmm_lib.h in gmm.h
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-12-08 12:52:02 +01:00
Jaroslaw Warchulski
f636a833f0 refactor: use precompiled headers on Windows
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-12-08 10:12:32 +01:00
Krzysztof Gibala
1dc8dbe5ec refactor: update warning for Resizable BAR detection
Related-To: NEO-16954, GSD-12001
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2025-12-08 10:00:42 +01:00
Mateusz Jablonski
4f5d1f1175 feature: add stream properties for xe3p specific fields
Related-To: NEO-16649

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-12-08 09:23:23 +01:00
Kamil Kopryk
fefc1f6a36 refactor: move logic to dedicated functions
Related-To: NEO-14577
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-12-08 08:05:32 +01:00
Bellekallu Rajkiran
a99ff8154a fix: Register certain allocations before bind
Related-To: NEO-13403

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-12-05 06:41:30 +01:00
Wesley Waugh
fce9aa1cb2 feature: add new product helper for scratch space base pointer
Related-To: NEO-16700

Signed-off-by: Wesley Waugh <wesley.waugh@intel.com>
2025-12-04 23:04:15 +01:00
Maciej Bielski
d59df10683 feature: enable redirecting of PRINT_STRING() outputs
Related-To: NEO-14742
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-12-04 16:55:55 +01:00
Compute-Runtime-Validation
32a99b0667 Revert "fix: Check if provided CCS number is correct"
This reverts commit d367b702db.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-12-04 06:04:22 +01:00
Maciej Plewka
cf617fb31a fix: primarily use raw ptr passed to blt properties
Related-To: NEO-15934
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-12-03 14:14:59 +01:00
Kindracki, Jakub Tomasz
d367b702db fix: Check if provided CCS number is correct
Check if `ZEX_NUMBER_OF_CCS` env variable provided by the user is
correct. If it isn't, then return false and print debug message.

If provided `ZEX_NUMBER_OF_CCS` is bigger than allowed, then nothing
happens and program continues execution.

After this change if `zeInit` is called with invalid
`ZEX_NUMBER_OF_CCS`, then it fails with `ZE_RESULT_ERROR_UNINITIALIZED`.

Related-To: NEO-15230, GSD-11251
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-12-03 12:32:45 +01:00
Vysochyn, Illia
dc0cb255c3 performance: Optimize compression condition
Related-To: NEO-16804

Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
2025-12-03 12:03:05 +01:00
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
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
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
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