Commit Graph

1383 Commits

Author SHA1 Message Date
Vysochyn, Illia
dc85f33e49 fix: Disallow USM compression on peer access
Related-To: NEO-15427

Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
2025-11-12 16:22:57 +01:00
Compute-Runtime-Validation
4437360448 Revert "fix: Check if provided CCS number is correct"
This reverts commit 67963bed4b.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-11-12 12:12:33 +01:00
Wesley Waugh
ff429ad35e feature: New SLM access protocol
Related-To: NEO-15672
Signed-off-by: Wesley Waugh <wesley.waugh@intel.com>
2025-11-07 00:18:07 +01:00
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
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
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
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
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
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
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
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
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
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
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
Mateusz Jablonski
ff200e94ab fix: don't create page table manager in Drm path
Page table manager is needed only for gen12 and xe-lpg
when compression is enabled. However, above platforms have
compression disabled in drm path

Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-22 15:41:59 +02:00
Igor Venevtsev
1f6039676f 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-21 17:37:00 +02:00
Lukasz Jobczyk
d9624a270c refactor: Move residency controller to wddm
Resolves: NEO-13315

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-10-21 14:56:14 +02:00
Mateusz Hoppe
8d8404f59b performance: improve performance by caching debugger object
- Device::getDebugger() does not reference rootDeviceEnvironment

Resolves: GSD-11858

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-10-21 11:38:54 +02:00
Neil R. Spruit
c4c8f21b7f feature: Support for reading sip lib register access
Related-To: NEO-16148

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-10-20 19:04:32 +02:00
Compute-Runtime-Validation
681eac2f13 Revert "performance: increase cl buffer pool size"
This reverts commit 6e67271454.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-10-20 13:55:23 +02:00
Mateusz Jablonski
4e90d80bae test: move gmm client context initialize tests to single place
Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-20 11:16:00 +02:00
Compute-Runtime-Validation
5c557bbd15 Revert "refactor: Move residency controller to wddm"
This reverts commit 645fc3d8af.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-10-20 07:25:03 +02:00
Mateusz Jablonski
7add44787f test: reduce gmm interface usage in mock gmm client context
Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-17 16:15:35 +02:00
Lukasz Jobczyk
645fc3d8af refactor: Move residency controller to wddm
Resolves: NEO-13315

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-10-17 15:57:09 +02:00
Fabian Zwoliński
6102280f71 fix: add missing writeMemory for pooled global surface
Related-To: HSD-18043489182, HSD-18043476772
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-10-17 14:26:54 +02:00
Szymon Morek
6e67271454 performance: increase cl buffer pool size
Related-To: NEO-16452

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-10-17 12:09:23 +02:00
Lukasz Jobczyk
c888e8d57c Revert "refactor: Move residency controller to wddm"
This reverts commit 2e5cfc190e.

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-10-17 09:00:52 +02:00