Commit Graph

20797 Commits

Author SHA1 Message Date
Slawomir Milczarek
7334aee8a8 fix: Switch copy-engine idle check to try-lock
Related-To: NEO-13325

Replace blocking obtainUniqueOwnership with non-blocking
tryObtainUniqueOwnership in isCopyEngineOnDeviceIdle.
Treat copy engine as not idle when lock is contended
(conservative; prevents false stops).
Avoid deadlock scenarios caused by holding
directSubmissionsMutex while waiting on a CSR lock.

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2025-09-29 17:28:32 +02:00
Bartosz Dunajski
e88b4d7b4c fix: correct signaling of partitioned aggregated event 2
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-09-29 16:21:38 +02:00
Pawel Cieslak
f87ff3449c ci: infra revision update
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2025-09-29 16:05:20 +02:00
Mateusz Jablonski
15d0feeda8 fix: improve propagating external functions info to kernel
When relocation points to symbol that is not defined within module mark
it as optional. When symbol is available at dynamic linking time then
info from the function is retrieved but when the symbol is not available
then ignore the dependency.

Any unresolved symbol needed for module linking is already handled
in a separate place.

Related-To: NEO-16243, NEO-16263, NEO-16262, NEO-16268
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-09-29 15:34:41 +02:00
Maciej Bielski
a440a3e8ea refactor: use Clonable type for pImplicitArgs
Clonable is a helper type which eases proper management of
dynamically-allocated resources. It allows to reduce the amount of
manual handling.

Related-To: NEO-16017
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-09-29 15:34:24 +02:00
Mateusz Hoppe
4b5f206058 feature: add ForceCompatibilityMode debug flag
- allows using device binary without validating device against target
device

Related-To: HSD-13013893426

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-09-29 15:22:06 +02:00
Filip Hazubski
07abb404e0 refactor: Refactor release_helper_common_xe_lpg.inl
Apply common file to release 12.74.

Move isMatrixMultiplyAccumulateSupported
specialization outside of the common file.

Move common specializations from releases: 12.70, 12.71, 12.74
to release_helper_common_xe_lpg.inl file.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-09-29 14:44:08 +02:00
ocldev
cc5c0e2741 build: igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2025-09-29 14:37:42 +02:00
Artur Harasimiuk
f7bfa9c98b ci: infra revision update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2025-09-29 14:19:21 +02:00
Maciej Bielski
8382f75c5b refactor: remove support for tracing
Tracing functionality has been moved to loader.

Related-To: NEO-15630
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-09-29 12:59:29 +02:00
Bartosz Dunajski
2f82a3a1c4 fix: dont optimize implicit semaphore in copy offload mode
Related-To: HSD-18043488005

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-09-29 12:30:57 +02:00
Slawomir Milczarek
40ce5eb55e fix: Fix DirectSubmissionController deadlock with try_lock pattern
Related-To: NEO-13325

Replace blocking obtainUniqueOwnership() with tryObtainUniqueOwnership()
in critical paths to prevent deadlock between controller thread holding
directSubmissionsMutex and submission threads holding CSR locks.

Changes:
- Add CommandStreamReceiver::tryObtainUniqueOwnership() method
- Use try_lock in checkNewSubmissions() and context group idle detection
- Skip contended CSRs instead of blocking (conservative approach)
- Add comprehensive unit tests for try_lock functionality

Fixes deadlock scenario where registerDirectSubmission() waits for
directSubmissionsMutex while checkNewSubmissions() holds it and waits
for CSR ownership locks.

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2025-09-29 11:38:26 +02:00
Radoslaw Jablonski
44645a3ed6 test: remove flawed blit test
This test naively compares estimated blit command stream sizes instead
of actually checking if a command stream is correctly programmed.

The tested functionality is already covered by
givenMultiRootDeviceSyncNodeWhenFlushBcsTaskThenMiFlushAdded.

Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
2025-09-29 11:06:11 +02:00
Maciej Bielski
f67c2ca505 ci: infra revision update
Related-To: NEO-15630
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-09-29 10:43:59 +02:00
Mateusz Jablonski
39f10f9c5e refactor: stop using DEFAULT_TEST_FAMILY_NAME
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-09-29 10:15:13 +02:00
Compute-Runtime-Validation
aaa9342141 Revert "fix: improve parsing relocations in external usage"
This reverts commit 65d883bc9d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-09-29 10:05:58 +02:00
ocldev
bf60c796bc build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2025-09-29 06:43:36 +02:00
ocldev
d21ba60e6d build: update level_zero revision to v1.24.3
Signed-off-by: ocldev <ocldev@intel.com>
2025-09-28 21:51:41 +02:00
Compute-Runtime-Validation
529260293e Revert "build: update level_zero revision to v1.24.3"
This reverts commit 5484507f89.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-09-28 14:45:24 +02:00
Mateusz Hoppe
98fcaf4ceb feature: support for context group on Windows
Related-To: NEO-14289


Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-09-28 13:38:53 +02:00
Compute-Runtime-Validation
0ef032bb28 Revert "fix: correct signaling of partitioned aggregated event"
This reverts commit 636498c079.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-09-27 16:01:57 +02:00
ocldev
5484507f89 build: update level_zero revision to v1.24.3
Signed-off-by: ocldev <ocldev@intel.com>
2025-09-26 21:51:36 +02:00
ocldev
7c927c09ca build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2025-09-26 18:27:17 +02:00
Mateusz Jablonski
65d883bc9d fix: improve parsing relocations in external usage
ignore relocations for symbols with undefined section

Related-To: NEO-16243
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-09-26 16:33:11 +02:00
Compute-Runtime-Validation
ce65d34a8f Revert "fix: set proper gmm usage type for misaligned user ptr"
This reverts commit a665f27676.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-09-26 16:24:45 +02:00
Filip Hazubski
da92fe6a4b test: Correct default device used in ocloc tests
Use default tested platform as default device instead of hardcoded value.
Remove rev_id parameter and use revision found in hw info.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-09-26 15:40:58 +02:00
Zbigniew Zdanowicz
90a490bcc0 fix: pass error codes from command list api calls to graph instantiation
Related-To: NEO-16225

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-09-26 15:35:29 +02:00
Naklicki, Mateusz
eea28773a3 fix: make arg type and varname arg details for graph dump
Related-To: NEO-15377
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-09-26 15:18:25 +02:00
Mateusz Jablonski
2038232ebb test: reduce file system accesses in OCL tests
skip unsupported builtins
don't initialize test kernel when not needed in GetSizeRequiredBuffer tests

Related-To: NEO-14097
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-09-26 15:17:59 +02:00
Sarbojit Sarkar
a22f43af25 refactor(sysman): Add missing iterator validation check in sysman modules
Related-To: NEO-15795

Signed-off-by: Sarbojit Sarkar <sarbojit.sarkar@intel.com>
2025-09-26 14:14:33 +02:00
Bartosz Dunajski
4df478c513 fix: change default lnl rev id
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-09-25 16:44:04 +02:00
Bartosz Dunajski
636498c079 fix: correct signaling of partitioned aggregated event
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-09-25 16:38:53 +02:00
Szymon Morek
d429f0d8a0 fix: respect uncacheable flag for USM host allocations
Related-To: NEO-14360

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-09-25 16:31:19 +02:00
Maciej Plewka
6c5ac160a6 fix: use memory ptr from api when copy from/to image by blt
Related-To: NEO-15934

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-09-25 15:05:01 +02:00
Mateusz Hoppe
3c83d8f8c7 test: improve blackbox tests
- allow creating program from binary in hello_world_opencl
- add option to disable automatic printf output validation

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-09-25 15:04:34 +02:00
Maciej Bielski
f33fa5ed6c fix: check return value of metricGroupGet()
Related-To: NEO-15630

Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-09-25 13:57:00 +02:00
Mateusz Jablonski
8d5111da91 test: skip unsupported builtins in OCL tests
Related-To: NEO-14097
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-09-25 12:56:56 +02:00
Bartosz Dunajski
72a5bcbfa1 feature: extend copy offload hint support
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-09-25 12:56:40 +02:00
Maciej Plewka
a88499f681 test: move single dispatch for multi ccs test to common tests
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-09-25 12:31:24 +02:00
Szymon Morek
a665f27676 fix: set proper gmm usage type for misaligned user ptr
Related-To: NEO-15295

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-09-25 12:06:43 +02:00
Bartosz Dunajski
3717187cbc feature: zexDeviceGetAggregatedCopyOffloadIncrementValue implementation
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-09-25 11:46:02 +02:00
Mateusz Hoppe
cfb3dade30 refactor: replace isContextGroup with contextGroupCount in osContext
Related-To: NEO-14289

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-09-25 11:33:38 +02:00
Kamil Kopryk
8c7fb0dde8 fix: data race in host function data initialization
Make sure hostFunctionInitialized bool is set after actual operations
are done

Related-To: NEO-14577
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-09-25 11:29:01 +02:00
Tomasz Biernacik
bc104a7b0d fix: move headers to definitions folder
Related-To: NEO-15440

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2025-09-25 07:35:55 +02:00
Compute-Runtime-Validation
79cdf69efe Revert "fix: disable support for deprecated patchtokens format"
This reverts commit 506d5837df.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-09-25 03:09:03 +02:00
Bellekallu Rajkiran
9cccbcabe1 fix: Reset kernelWithAssertAppended flag
On new append calls, reset flag if previous submissions
are completed.

Related-To: NEO-16184

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-09-24 18:30:51 +02:00
Maciej Plewka
cf35f8b40e fix: wa for multi ccs execution on bmg
Related-To: NEO-15771
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-09-24 18:15:07 +02:00
Kamil Kopryk
4133827e6f fix: set host function allocation as uncached
The usage of host function allocation is similar to tagBuffer.
Ensure it's uncached and it follows tag buffer's cache policy.
Host function allocation will be readable and writable
by both: cpu and gpu.

Related-To: NEO-14577
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-09-24 18:00:50 +02:00
Kamil Kopryk
16050126e3 feature: add host function dispatch
- program in place for immediate cmdlist
- add to patch commands for regular cmdlist
- initialize host data allocation for the 1st use in csr

Related-To: NEO-14577
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-09-24 17:20:40 +02:00
Pawel Cieslak
4e0c89f7af ci: infra revision update
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2025-09-24 16:54:24 +02:00