Commit Graph

3885 Commits

Author SHA1 Message Date
Bartosz Dunajski
47665280f4 fix: check standalone CB event completion for profiling
Related-To: HSD-18040322890

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-19 16:03:38 +01:00
Joshua Santosh Ranjan
f589408848 feature: update metrics for v1.11
Related-To: NEO-12597

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-11-19 02:02:46 +01:00
Chodor, Jaroslaw
22fe217567 refactor: cleanup around IGC library name mocking logic
This patchset improves mocking of IGC library name and adds
safety mechanism to ensure that global IGC library name gets
restored before test finishes.

Related-To: NEO-12747

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2024-11-15 18:32:59 +01:00
Bartosz Dunajski
e363c871c7 fix: skip signaling remaining packets only for explicit CB Events
Related-To: HSD-18040605969

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-15 14:36:00 +01:00
Bartosz Dunajski
fea50b1b94 feature: adjust CB Event creation in BB tests
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-14 16:51:15 +01:00
Aravind Gopalakrishnan
6844dec1d1 feature: Append recorded commandlist into immediate (7/N)
fix relaxed ordering and stalling commands check

Related-To: NEO-10356

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-11-14 16:16:40 +01:00
Bartosz Dunajski
c02e025e8f feature: default mode for zexCounterBasedEventCreate2
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-13 16:04:20 +01:00
Bartosz Dunajski
7bf22ed33e feature: counter based allocation peer sharing
Related-To: NEO-13079

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-13 15:01:32 +01:00
Bartosz Dunajski
34e2e4fd6e feature: expose new CB Event APIs
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-13 11:23:32 +01:00
Bartosz Dunajski
ea8d2803ce fix: verify CB Event IPC input params
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-08 14:48:32 +01:00
Bartosz Dunajski
34e22f0eee fix: create standalone event with correct packet size
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-08 13:06:45 +01:00
Bartosz Dunajski
778504c928 fix: add missing zex prefix
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-08 13:06:29 +01:00
Bartosz Dunajski
c5f1d41a61 feature: link zexCounterBasedEventCreate2 with existing implementation
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-07 14:28:11 +01:00
Bartosz Dunajski
fe76aac489 feature: link counter based event IPC APIs with existing implementation
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-07 12:43:27 +01:00
Neil R. Spruit
84cd8226e3 feature: Support for zeInitDrivers
- Enabled support for zeInitDrivers which combines init and driver get
support.
- Moved driverHandleGet to be part of Driver class to allow for unit
testing of the functionality.
- Updated GTPIN init conditions such that init only occurs when pCount >
0 and the driver handle pointer is not null. This ensures that the
gtPin init does not trigger during the loader init calling
zeInitDrivers and only is called before the first handle is retrieved.
- Removed ze_init_flags_t flag from all driverInit functions since this
flag is unused in all functions.

Related-To: NEO-12905

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2024-11-07 12:16:15 +01:00
Bartosz Dunajski
efc31fbe06 refactor: unify event creation functions
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-06 12:17:54 +01:00
Zbigniew Zdanowicz
fdaaab01e9 refactor: change command list update capabilities
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-11-06 10:35:28 +01:00
Kamil Kopryk
6fc15a1799 fix: use correct builtin names for heapless
Related-To: NEO-12149
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-11-06 10:35:13 +01:00
Fabian Zwoliński
de4d67610c fix: add missing in-order signalling in appendCopyImageBlit
Related-To: GSD-10281
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-11-06 10:34:59 +01:00
Zbigniew Zdanowicz
e3acd850ea feature: add new functions to dispatch table
Related-To: NEO-11115

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-11-05 16:51:57 +01:00
Shreyas Kunder
f52f9753ed fix: zesInit switch crash
The fix is provided to detect validity of sysman device handle in sysman APIs.
It can detect core device handle when passed instead of sysman device handle
in zesInit path and return error code.
Related-To: NEO-12690

Signed-off-by: Shreyas Kunder <shreyas.kunder@intel.com>
2024-11-05 13:03:57 +01:00
Kamil Kopryk
6a8a221225 refactor: improve readability
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-11-05 10:46:44 +01:00
Marcel Skierkowski
49d999abe6 fix: remove defaultProfilingTimerResolution from RuntimeCapabilityTable
Related-To: NEO-12275
Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2024-11-04 12:02:11 +01:00
Filip Hazubski
f8f1557ec7 build: Update logic around serialized builtins compilation
Add log to explicitly state when serialized builtins compilation is enabled.
Correct logic to properly serialize kernel builds for single product.
Add chained per product dependencies.
Remove unused function.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-11-04 10:11:48 +01:00
Oskar Hubert Weber
fd45b2883d fix: neo ULT build with optimizations disabled 1/n
Related-To: NEO-8116

Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com>
2024-10-28 15:38:28 +01:00
Kamil Kopryk
3891e887c1 feature: use heapless builtins for images
Related-To: NEO-12744
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-10-25 16:42:27 +02:00
Bartosz Dunajski
2d6fb1af4b fix: in-order relaxed ordering handling for signalEvent
Related-To: NEO-13082

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-25 15:30:33 +02:00
Bartosz Dunajski
64c02c904a fix: disallow signaling IPC imported CB Event
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-25 12:53:05 +02:00
Wenbin Lu
1c46ed9b40 feature: enable reservation from SVM range by default
Related-To: NEO-11981

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2024-10-24 20:01:18 +02:00
Joshua Santosh Ranjan
c9e48d0d2b refactor: support oa programmable metric group
Related-To: NEO-12184


Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-10-24 08:35:12 +02:00
Filip Hazubski
715313a02c test: Fix typo
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-10-24 03:49:47 +02:00
Bartosz Dunajski
e60f3d931b fix: dont use event fence wait in tbx mode
Related-To: HSD-18040280103

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-23 12:10:33 +02:00
Wenbin Lu
a8a40d2afd feature: support SVM heap in reserveVirtualMem
Related-To: NEO-11981

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2024-10-22 16:47:14 +02:00
Mateusz Hoppe
9e89d6019f test: fix aub test DebuggerSingleAddressSpaceAub
- add check for global bindless allocator to set correct address in
expectMemory calls

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-10-22 15:21:27 +02:00
Bartosz Dunajski
c9c8f988f5 refactor: configure additional kernel launch params
Related-To: NEO-12591

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-22 12:00:04 +02:00
Compute-Runtime-Validation
0723cb1bdc Revert "refactor: configure additional kernel launch params"
This reverts commit 73bc507c3d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-10-22 08:37:54 +02:00
Bartosz Dunajski
73bc507c3d refactor: configure additional kernel launch params
Related-To: NEO-12591

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-21 18:04:37 +02:00
Bartosz Dunajski
c77fad31e2 fix: disable copy offload for D2D operations
Related-To: NEO-13034

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-21 13:38:44 +02:00
Aravind Gopalakrishnan
c617048f1a fix: Enqueue blocking support for L0
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-10-19 10:28:48 +02:00
Kulkarni, Ashwin Kumar
23335548f7 feature: adds 3-channel support in image format descriptor
Related-To: NEO-12887

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-10-17 18:27:14 +02:00
Mateusz Jablonski
4154e6666b fix: correct loading L0 loader functions
- don't load ze_loader.dll from file system
- to perform self-open on Windows use getModuleHandleA with proper module name
- don't free library loaded with getModuleHandleA
- as loader may be not available during runtime teardown:
- load translate handle function during global setup
- load setDriverTeardown function during global teardown
- when loader is not available during teardown, unset translate handle
function

Related-To: GSD-10147

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-17 15:39:20 +02:00
Bartosz Dunajski
b17fabb120 fix: adjust interupt wait api expectations
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-17 15:30:02 +02:00
Compute-Runtime-Validation
f117b5fb68 Revert "fix: correct loading L0 loader functions"
This reverts commit 9c7b3c5e19.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-10-17 08:20:19 +02:00
Mateusz Jablonski
9c7b3c5e19 fix: correct loading L0 loader functions
on Windows use getModuleHandleA with proper module name
don't load ze_loader.dll from file system

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-16 19:53:05 +02:00
Bartosz Dunajski
52e9a6e07f feature: Initial CB events IPC support
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-16 13:33:59 +02:00
Jaroslaw Warchulski
56c5c78961 fix: correct page alignment calculation in getPageAlignedSizeRequired
In the current implementation, for some data the result is incorrect.
For example for:
size=131073 (64 kB * 2 + 1),
pageSize=65536 (64 kB),
the result should be 196608 (64 kB * 3) instead of 131073.

Related-To: GSD-8948
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2024-10-16 10:15:00 +02:00
Jack Myers
10f67bcd1a feature: finalizes 2d block load/store query
Finalized the implementation of the 2d block
load/store extension query. Namely, this adds
the extension info to the `DriverHandleImp`.

Also fixed support matrix in the current
implementation that incorrectly includes
MTL and ARL in the supported products. ULTs
and the implementation have both been changed
to match the true support matrix.

Related-To: NEO-11592
Signed-off-by: Jack Myers <jack.myers@intel.com>
2024-10-16 02:19:22 +02:00
Brandon Yates
6de2f1a9c9 fix: Remove stopped Threads query
Related-to: NEO-12929

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-10-15 23:23:11 +02:00
Jitendra Sharma
9bd4878841 feature: update GRF register implementation
Related-To: NEO-8314
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-10-15 13:47:34 +02:00
Mateusz Jablonski
a149336ea1 fix: add missing return from non-void function
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-15 13:31:25 +02:00