Commit Graph

2908 Commits

Author SHA1 Message Date
Mateusz Jablonski
83ef7d82aa test: add missing NEO namespace
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-06 20:08:14 +01:00
Jaroslaw Warchulski
642adfa70d test: cleanup includes
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-06 20:06:34 +01:00
Kindracki, Jakub Tomasz
67963bed4b 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.

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-11-06 17:23:20 +01:00
Jakub Nowacki
a01d54215d fix: prevent overflow in ail path processing
Related-To: NEO-15630

Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com>
2025-11-06 11:48:40 +01:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Aleksander Czerwionka
0f639dc723 feature: set manager pool sizes based on isExtendedUsmPoolSizeEnabled
Related-To: NEO-16082

Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com>
2025-10-28 08:01:27 +01:00
Narendra Bagria
19bef4f891 feature: enable defer backing by default
Related-To: NEO-13403

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
Signed-off-by: Narendra Bagria <narendra.bagria@intel.com>
2025-10-27 16:49:02 +01:00
Grochowski, Stanislaw
f6eb59035b fix: remove ocl_khr_spir
Related-To: NEO-15215

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-10-27 16:20:50 +01:00
Mateusz Hoppe
ce61eebafa feature: add primary context helper methods to ioctl helper xe
Related-To: NEO-16521

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-10-27 15:26:37 +01:00
Dominik Dabek
ff48090c11 feature: usm pool residency tracking
Initially under debug flag.
Track residency of pool and chunks.
If pool is already resident or already evicted, we can skip memory
operation on chunk from pool.

Return error on using not allocated chunk in pool.

Related-To: NEO-16303

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-10-24 13:14:37 +02:00
Mateusz Jablonski
145f03c294 refactor: encapsulate gmm page table manager handle
wrap destruction logic within unique ptr

set csr handle when creating page table manager

Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-24 12:50:10 +02:00
Compute-Runtime-Validation
ad05878165 Revert "refactor: Move residency controller to wddm"
This reverts commit d9624a270c.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-10-24 11:38:41 +02:00
Bellekallu Rajkiran
4573511966 refactor: Refactor user fence setup logic
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-10-24 11:22:26 +02:00
Compute-Runtime-Validation
b7d1c32edd Revert "fix: use condition variables instead of busy waits in worker threads"
This reverts commit 1f6039676f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-10-24 10:55:27 +02:00
Mateusz Jablonski
8fed1dc443 test: allow using regular dlopen within aub tests
Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-24 09:06:20 +02:00
Mateusz Jablonski
a59ca3d5e8 build: add missing includes
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-24 08:41:42 +02:00
Compute-Runtime-Validation
6151a587f3 Revert "feature: Add support for euss buffer overflow on windows"
This reverts commit 91a27e9e9d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-10-24 02:21:16 +02:00
Lukasz Jobczyk
0bfcd9783c performance: Add flag to aub dump only command stream
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-10-23 11:50:49 +02:00
Naklicki, Mateusz
a84629c8b3 refactor: cleanup GfxCoreHelper
Remove GfxCoreHelper unused methods. Move test-specific types to test sources.
1) computeSlmValues: is not used in other places than tests. Remove it
and unify tests placement
2) isForceDefaultRCSEngineWARequired, unTypedDataPortCacheFlushRequired,
getMaxPtssIndex: unused, remove
3) DwordBuilder: only used in tests, remove it by tests refactoring

Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-10-23 09:58:57 +02:00
shubham kumar
91a27e9e9d feature: Add support for euss buffer overflow on windows
Related-To: NEO-15684

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-10-23 08:25:23 +02:00