Commit Graph

5243 Commits

Author SHA1 Message Date
Pratik Bari
31ca28d5bf feature(sysman): VF telemetry APIs for memory utilization
Related-To: NEO-11337

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2024-11-14 10:12:27 +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
Joshua Santosh Ranjan
d294d71f95 feature: make programmable metrics enabled by default
Related-To: NEO-13011

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-11-13 09:42:23 +01:00
shubham kumar
7dfa654761 feature: Add support for rev16 PMT OOBMSM xml
Related-To: NEO-13212

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-11-12 12:18:21 +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
Compute-Runtime-Validation
2345979800 Revert "feature: Add Memory and GPU domain support for getEnergyCounter()"
This reverts commit 0be4ebe6c2.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-11-07 03:28:57 +01:00
Joshua Santosh Ranjan
368afc2593 test: support additional parameters for copy workload
Related-To: NEO-12811


Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-11-06 18:35:54 +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
Bartosz Dunajski
128f9b4509 feature: add missing CB event scope flags
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-05 22:41:12 +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
Brandon Yates
aaf2e997d3 fix: Set xe debugger clientHandle when metadata is rx'd
Xe debugger will receive one CLIENT_OPEN event per driver open. In
some use cases their will be multiple opens. We are only interested in
the open from the UMD under debug. Setting clientHandle when metadata is
received will filter out unneeded CLIENT_OPEN events

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-11-05 13:44:59 +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
Bartosz Dunajski
92b34f3b2c documentation: counter based events
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-05 12:37:47 +01:00
Bartosz Dunajski
1843a559b2 feature: counter based event extension definition
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-05 11:54:22 +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
shubham kumar
0be4ebe6c2 feature: Add Memory and GPU domain support for getEnergyCounter()
Related-To: NEO-12843

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-11-04 21:37:56 +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
Bartosz Dunajski
2a41a08de4 feature: standalone counter based event API
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-31 13:36:55 +01:00
Pratik Bari
8aa2eae965 fix(sysman): Disabling Engine Handles for Group Engine Busyness
The Group Engine Busyness Interface has been removed for the XeKmd

Related-To: NEO-11931

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2024-10-29 22:06:00 +01:00
shubham kumar
f96ae0433c fix: Add timer resolution to sysman core properties
Related-To: NEO-12885

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-10-29 22:00:44 +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
Joshua Santosh Ranjan
94d28f3306 test: handle build issues related enum value
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-10-28 10:25:39 +01:00
Harini Kumaran
421a7bd771 refactor: Move all constants to L0 namespace in level_zero/tools
Related-To: NEO-12769

- Use inline constexpr for declaring global variables
- Avoid using Macros
- Use string_view type instead of std::string

Signed-off-by: Harini Kumaran <harini.kumaran@intel.com>
2024-10-28 09:19:44 +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
Dominik Dabek
22a3ec948b fix: ulls controller sleep, windows
Request higher resolution for windows periodic timers for ulls
controller sleep.

Allows for controller thread to sleep with granularity of 1ms.

Related-To: NEO-10800

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-10-24 18:07:04 +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
Jitendra Sharma
171f1e27a3 fix: Add debug variables for configurable timeouts in debugger
Related-To: NEO-13046
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-10-23 10:30:03 +02:00
Alicja Lukaszewicz
f76d480e8a refactor: cleanup stype enum implementation
Related-To: NEO-13037

Signed-off-by: Alicja Lukaszewicz <alicja.lukaszewicz@intel.com>
2024-10-22 17:42:45 +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
Robert Krzemień
fe1fd22371 fix: stop direct submission before oa configuration activation
Related-To: NEO-12778
Signed-off-by: Robert Krzemień <robert.krzemien@intel.com>
2024-10-22 14:26:44 +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