Commit Graph

9015 Commits

Author SHA1 Message Date
Dominik Dabek
0f753a98aa feature: optionally immediate internal engine init
If engine type is internal, os context will return immediate
initialization enabled based on product helper.

Related-To: NEO-16633

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-11-06 10:54:48 +01:00
Jaroslaw Warchulski
dd7eb96082 fix: enable state cache invalidation WA by default on xe3
Related-To: NEO-16281, NEO-16405

Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-06 10:03:50 +01:00
Krzysztof Gibala
6edc814a50 fix: update product config for the AOT ARL_H_B0 target
Related-To: NEO-16655, GSD-11911
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2025-11-06 10:00:51 +01:00
Jemale Lockett
c410b54866 refactor: Update eudebug header
Resolves: NEO-16069

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2025-11-06 08:16:08 +01:00
John Falkowski
6b63304673 feature: Set shared system USM madvise preferred location as prefetch region
Resolves: NEO-16482

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-11-05 15:37:08 +01:00
Dominik Dabek
0f5381456d feature: l0, flag to lazy init usm pools
If enabled, usm pools will allocated on first usm allocation.

Use by default in ULTs to avoid not needed allocations of pool storage.

Related-To: NEO-16084

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-11-05 14:56:01 +01:00
Kamil Kopryk
8757ecf2f7 refactor: reuse tag allocation for host function data
Related-To: NEO-14577
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-11-05 14:51:20 +01:00
Lukasz Jobczyk
01885fe362 fix: proper lock order when reinitialize context
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-11-05 09:51:37 +01:00
Dominik Dabek
140f787b11 performance: enable l0 host usm growing pools
Related-To: NEO-16084

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-11-05 09:12:42 +01:00
Jaroslaw Warchulski
45bbb7d6c4 fix: check all args in checkKernelContainsStatefulAccess function
Related-To: NEO-16281, NEO-16405
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-04 18:44:09 +01:00
Katarzyna Cencelewska
b40d984691 fix: print proper type for engineUsage in debug logging
Related-To: HSD-18043767497
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2025-11-04 18:12:05 +01:00
Mateusz Jablonski
f2866c5e69 test: add function to create GmmPageTableMngr in ULT
Related-To: NEO-11080

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-04 17:03:57 +01:00
Mateusz Jablonski
fede30c0ad build: add missing add_subdirectories in cmake
Related-To: NEO-11080

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-04 16:43:13 +01:00
Kamil Kopryk
9a45a16ba6 test: enable default implementation mt testing for host functions
Related-To: NEO-14577
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-11-04 16:21:37 +01:00
Jaroslaw Warchulski
0012328c9a feature: add debug flag to control state cache invalidation WA
Also, temporarily disable this WA.

Related-To: NEO-16281, NEO-16405
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-04 15:58:09 +01:00
Katarzyna Cencelewska
ec60e33c15 test: update test
Resolves: HSD-13013947867

Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2025-11-04 14:24:23 +01:00
Lukasz Jobczyk
498f62d7a0 fix: Reset direct submission when reinitialize context
Resolves: HSD-15018564496
Related-To: NEO-16651

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-11-04 13:32:36 +01:00
Katarzyna Cencelewska
5cf3eeb615 fix: use lowest priority level as default for primary context
calculate the lowest and highest software priority in one place

Related-To: HSD-18043767497
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2025-11-04 11:42:35 +01:00
Kamil Kopryk
8b98e0d500 refactor: rename functions to check if buffer has stateful access
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-11-04 09:39:26 +01:00
Compute-Runtime-Validation
5f874f45e2 Revert "feature: Add support for euss buffer overflow on windows"
This reverts commit 703dd48038.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-11-04 01:59:27 +01:00
Kamil Kopryk
8f4df0dee1 test: temporarily disable host functions mt tests
Related-To: NEO-14577
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-11-03 17:30:17 +01:00
Pratik Bari
811ed064d2 fix: Fix unrecoverable abort during device destruction
An inappropriate ioctl call for the device is observed when both zesInit
and zeInit are called in a process and Sysman device reset is called.
A condition has been added in the UNRECOVERABLE_IF to prevent crash
during cleanup.

Related-To: NEO-16439

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-11-03 15:38:37 +01:00
Mateusz Jablonski
ffb1d297c8 fix: merge hasPrintfCalls and usesPrintf flags within KernelAttributes flags
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-03 12:21:35 +01:00
Kamil Kopryk
f84a5fbee9 feature: add host functions workers
* add common host function worker interface
* add worker as a single thread per csr with 3 modes
* add logic for waiting on internal tag, check gpu hang
* if tag is in pending state, read callback data, run callback
and signal completion
* threads will exit the work loop once stop request
is called in finish
* add multi thread unit tests

Related-To: NEO-14577
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-11-03 12:11:17 +01:00
Mateusz Jablonski
ae05e0551e fix: remove not needed WA for printf buffer
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-03 11:48:23 +01:00
Szymon Morek
037756460f refactor: remove unused code
Related-To: NEO-14360

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-11-03 11:15:12 +01:00
Lukasz Jobczyk
88d379f5e5 performance: enable timestamp caching on OCL
Related-To: NEO-14360

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-11-03 10:51:26 +01:00
Aleksandra Nizio
0fc4bbe42c feature: Add support for ZeContextSystemBarrier on Linux
Resolves: NEO-16308,NEO-16081
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-11-03 10:27:10 +01:00
shubham kumar
703dd48038 feature: Add support for euss buffer overflow on windows
Related-To: NEO-15684

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-11-03 10:20:16 +01:00
Compute-Runtime-Validation
151afa37e7 Revert "performance: enable timestamp caching on OCL"
This reverts commit e9fdab3458.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-11-02 23:19:34 +01:00
Compute-Runtime-Validation
f9225de6b1 Revert "feature: integrate UsmMemAllocPoolsManager with OpenCL device pool"
This reverts commit 7833d62e3a.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-10-31 20:44:08 +01:00
Igor Venevtsev
4406889b39 fix: use condition variables instead of busy waits in worker threads
Resolves: NEO-16085, GSD-11678, HSD-14025819208

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2025-10-31 15:28:54 +01:00
Mateusz Jablonski
869cc35933 fix: create printf buffer only for kernel with printf calls
Related-To: NEO-15211
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-31 15:06:28 +01:00
Szymon Morek
e9fdab3458 performance: enable timestamp caching on OCL
Related-To: NEO-14360

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-10-31 11:37:56 +01:00
Mateusz Jablonski
a0845b707e build: add wrapper for gmmlib include
Related-To: NEO-11080

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-31 10:30:18 +01:00
Brandon Yates
acc7747abc fix: Fix memory corruption in toDrmEuDebugEuControl
This function was unnecessarily creating a new allocation for bitmaskPtr
This allocation was lost then the object went out of scope, which broke
existing flows

Related-to: NEO-16068

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2025-10-31 08:57:07 +01:00
Compute-Runtime-Validation
fc62e025d2 Revert "fix: Check if provided CCS number is correct"
This reverts commit 94be8023dc.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-10-31 08:40:51 +01:00
Mateusz Jablonski
6aa5610f4c fix: correct UNICODE definition setting for Windows build
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-30 17:06:16 +01:00
Kindracki, Jakub Tomasz
94be8023dc 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.

Related-To: NEO-15230, GSD-11251
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-10-30 16:00:55 +01:00
Narendra Bagria
b4983f234d fix: update CopyBufferRectBytes*2d* builtins
Related-To: NEO-16155

Signed-off-by: Narendra Bagria <narendra.bagria@intel.com>
2025-10-30 15:46:52 +01:00
Aleksander Czerwionka
7833d62e3a feature: integrate UsmMemAllocPoolsManager with OpenCL device pool
Related-To: NEO-16082

Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com>
2025-10-30 14:44:41 +01:00
Lukasz Jobczyk
0ac8e8ceaa performance: Set L1 cache policy to WB on PTL
Resolves: NEO-16378

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-10-30 14:30:39 +01:00
Mateusz Jablonski
27c2d225b5 test: reorganize headers with test matchers
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-30 12:59:25 +01:00
Mateusz Jablonski
da07d2d54f test: add missing includes in tests 1/n
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-30 11:50:43 +01:00
Jaroslaw Warchulski
f6b9454914 fix: state cache invalidation WA for xe3
Related-To: NEO-16281, NEO-16405

Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-10-30 11:50:26 +01:00
Slawomir Milczarek
6857e02c3c feature: Enable ULLS context termination for context group on multi-tile
Related-To: NEO-13325

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2025-10-30 09:49:28 +01:00
Compute-Runtime-Validation
59179fa9d9 Revert "performance: Set L1 cache policy to WB on PTL"
This reverts commit 577de9770d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-10-30 05:03:02 +01:00
Compute-Runtime-Validation
56ce056ee2 Revert "feature: enable defer backing by default"
This reverts commit 19bef4f891.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-10-30 03:02:30 +01:00
John Falkowski
9590a42c10 feature: Enable madvise autoreset by default for shared system USM
Related-To: NEO-16531

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-10-29 17:19:27 +01:00
Fabian Zwoliński
3c43276dab feature: add global/const surface nonUSM allocation pooling
Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-10-29 16:56:59 +01:00