Commit Graph

6028 Commits

Author SHA1 Message Date
Aravind Gopalakrishnan
c1c8eb59c0 refactor: Cache context settings during init
- cache context related settings once to reuse in subsequent calls

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2025-07-10 12:06:20 +02:00
Zbigniew Zdanowicz
0713709d51 test: add region barrier kernel mutation tests
Related-To: NEO-10492

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-10 11:08:40 +02:00
Filip Hazubski
f8dc80c7fc test: Adjust direct submission tests
Disable direct submission at the end of the test for cases where
direct submission is enabled in test body.

Adjust mock csr to restore os context in cases where
context has been replaced in test body.

Related-To: NEO-15017

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-07-10 11:01:33 +02:00
Aleksandra Nizio
c9ebf91271 fix: Add -emit-lib-compile-errors flag when library compilation is enabled
Related-To: NEO-8608
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-07-10 10:48:21 +02:00
Mateusz Jablonski
6bc9829e99 refactor: dont use designated initializers in default descriptor definition
designated initializers require c++20

Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-10 10:30:34 +02:00
Chodor, Jaroslaw
0313bee322 feature: Adding record and replay headers to devel package
Related-To: NEO-15373

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-07-10 10:06:06 +02:00
Mateusz Hoppe
703497b067 fix: read ONEAPI_PVC_SEND_WAR_WA env
- disable optimization with compiler internal option when env is set to
zero

Related-To: NEO-15378, GSD-10884

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-07-09 16:22:18 +02:00
Zbigniew Zdanowicz
fc37b98b69 fix: provide fixes for kernel isa mutation of cooperative kernels
- update correctly mutable residency of cooperative kernel barrier allocation
- fix disable noop patching when mutate into non cooperative kernel
- reset mutation variables for not default kernels in mutable kernel group

Related-To: NEO-10492

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-09 16:22:00 +02:00
Mateusz Jablonski
af0e387f35 fix: ensure proper drm cleanup in L0 sysman init path
drm cleanup currently applied in positive scenario should be also
applied in case of multi GPU if some devices failed at initialization

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-09 13:48:53 +02:00
Zbigniew Zdanowicz
ec0e493ca8 fix: add initial calculation max thread group count for cooperative
Related-To: NEO-10492

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-08 21:23:24 +02:00
Mateusz Jablonski
2661fd9522 feature: define default descriptors for counter based event and USM
user can use default descriptor to simplify creation

Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-08 16:10:23 +02:00
Shreyas Kunder
e1eae6a3e5 feature(sysman): Add support for Memory properties & state for iGPU's in Linux
Related-To: NEO-14198

Signed-off-by: Shreyas Kunder <shreyas.kunder@intel.com>
2025-07-08 15:02:24 +02:00
Mateusz Jablonski
a345fa0783 fix: remove not needed printf from production code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-08 12:01:52 +02:00
Zbigniew Zdanowicz
3e3f516434 refactor: add graph base entrypoints
- correct declaration of mutable command list entrypoints

Related-To: NEO-15373

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-08 12:00:03 +02:00
Zbigniew Zdanowicz
c1ec5db4fc refactor: simplify conditions and add unit tests for mcl
- remove always true conditions
- move experimental code to experimental implementations
- add missing unit tests
- extend existing unit tests

Related-To: NEO-10492

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-08 11:07:10 +02:00
Maciej Plewka
6951ff1a07 fix: store whole global timestamp before context timestamp
Related-To: NEO-15192
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-07-07 21:34:08 +02:00
Compute-Runtime-Validation
d952298321 Revert "fix: skip cleanup in L0 DllMain when terminating process"
This reverts commit b70c7fd078.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-07 17:42:50 +02:00
Marcel Skierkowski
492b81d02d test: Restore StreamCapture usage in l0_tools tests
Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-07-07 17:26:33 +02:00
Chodor, Jaroslaw
58228a36fe feature: Adding basic record and replay mechanism
Related-To: NEO-15373

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-07-07 15:12:57 +02:00
Zbigniew Zdanowicz
699c55ddd5 test: add missing mcl tests
- add portion of negative tests
- add functional tests
- extend existing tests

Related-To: NEO-10492

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-07 14:58:23 +02:00
Anvesh Bakwad
3dfc6601ba fix(sysman): fix Burst Power Limit node retrieval issue in i915 platforms
Related-To: NEO-15450

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2025-07-07 13:26:34 +02:00
Lukasz Jobczyk
67462c4356 fix: Correct alignment check for immediate fill v2
Resolves: HSD-18042731538

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-07-07 11:43:53 +02:00
Mateusz Jablonski
689839143c test: reduce file system usage in L0 tools/sysman tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-07 09:31:09 +02:00
Compute-Runtime-Validation
aa37604e7c Revert "fix: skip teardown clean up when terminating process on Windows"
This reverts commit 66bf978a13.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-05 06:28:05 +02:00
Bartosz Dunajski
07fb7ac02e fix: copy only mi_atomic signaling for aggregated events
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-07-04 14:46:47 +02:00
Mateusz Jablonski
509cc066e0 refactor: use NEO::SysCalls::close wrapper for close function call
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-04 14:22:00 +02:00
Oskar Hubert Weber
66bf978a13 fix: skip teardown clean up when terminating process on Windows
Per https://learn.microsoft.com/en-us/windows/win32/dlls/dllmain,
it's not safe to clean up resources in DllMain when
fdwReason == DLL_PROCESS_DETACH and lpvReserved != NULL (the process is
terminating), e.g. can result in a hang in some cases.

Related-To: NEO-14121

Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com>
2025-07-04 14:05:39 +02:00
Mateusz Jablonski
09e6b3fe75 refactor: use NEO::SysCalls::close wrapper for close function call
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-04 13:18:04 +02:00
Marcel Skierkowski
9749f1a623 test: Rollback due to StreamCapture impacting test functionality.
The rollback is related to the StreamCapture class,
which introduces errors during coverage testing for l0_tools.

Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-07-04 13:05:48 +02:00
Lukasz Jobczyk
c2e6f5daa3 fix: Move in order counter flush one layer down to include all API calls
Resolves: GSD-11304

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-07-03 13:42:35 +02:00
Marcel Skierkowski
6a9a643b75 test: StreamCaptureStd on pipes
Store data in a pipe instead of a temporary file like gtest
resulting in faster test execution

Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-07-03 11:32:05 +02:00
shubham kumar
36bdde47a0 feature: Add support for oobmsm pmt aggregator for BMG G31
Related-To: NEO-15420

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-07-03 09:31:48 +02:00
Bartosz Dunajski
fba837a7ca fix: disable in-order counter patching
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-07-03 07:47:02 +02:00
Vishnu Khanth
a63fadf6ff fix(sysman): Return unsupported for zesMemoryGetBandwidth for iGPU's in Windows
Related-To: NEO-15396

Signed-off-by: Vishnu Khanth <vishnu.khanth.b@intel.com>
2025-07-02 16:45:33 +02:00
Mateusz Jablonski
42826b562d fix: respect pNext extensions in zeCommandListAppendLaunchKernelWithArguments
Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-02 15:27:49 +02:00
Oskar Hubert Weber
b70c7fd078 fix: skip cleanup in L0 DllMain when terminating process
Per https://learn.microsoft.com/en-us/windows/win32/dlls/dllmain,
it's not safe to cleanup resources in DllMain when
fdwReason == DLL_PROCESS_DETACH and lpvReserved != NULL (the process is
terminating), e.g. can result in a hang in some cases.

Related-To: NEO-14121

Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com>
2025-07-02 11:19:45 +02:00
Neil R. Spruit
1f862955a8 fix: Set isValidFlag for DDI tables during DriverDispatch constructor
- Fix to setting of isValidFlag such that the Driver Dispatch
constructor correctly sets the isValidFlag during setup.

Related-To: NEO-15419

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-07-02 00:13:53 +02:00
Neil R. Spruit
1abaf40799 feature: RTAS EXT support
- Added Support for the RTAs Extension support replacing the Exp support
which will remain for backwards compatability.

Related-To: NEO-15257

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-07-01 21:36:40 +02:00
Kulkarni, Ashwin Kumar
75d592d940 feature: supports boot time survivability mode recovery
Related-To: NEO-14331

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2025-07-01 16:39:28 +02:00
Bartosz Dunajski
e2dff82741 feature: remote copy support for bcs split
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-07-01 15:57:02 +02:00
Chodor, Jaroslaw
f35bdeb2fe feature: Adding Record and Replay API entrypoints
Related-To: NEO-15373

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-07-01 14:43:13 +02:00
Szymon Morek
ca760712f6 fix: flush cache when waiting for event from barrier
Related-To: NEO-15387

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-07-01 13:33:39 +02:00
Marcel Skierkowski
f0d5cf7530 test: StreamCaptureStdErr on pipes
Store data in a pipe instead of a temporary file like gtest
resulting in faster test execution

Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-07-01 11:52:43 +02:00
Mateusz Jablonski
41ce81143a refactor: remove not needed flags p2pAccessSupported, p2pAtomicAccessSupported
such support is queryable in runtime

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-01 11:37:51 +02:00
Lukasz Jobczyk
64a80aef2e fix: Correct alignment check for immediate fill
Resolves: HSD-18042728025

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-06-30 16:33:50 +02:00
Lukasz Jobczyk
4010ff6908 performance: Use tag allocator for fill pattern
Resolves: NEO-9729

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-06-30 15:24:08 +02:00
Bartosz Dunajski
78c6751be1 feature: initial support for multitile bcs split
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-06-30 12:38:58 +02:00
Lukasz Jobczyk
4bc1cf0c7a refactor: Simplify alignment check for immediate fill
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-06-30 11:35:09 +02:00
Anvesh Bakwad
3fa6089097 fix(sysman): Use CPU timestamp instead of PMT timestamp for Memory Bandwidth
Related-To: NEO-15385

Signed-off-by: Anvesh Bakwad <anvesh.bakwad@intel.com>
2025-06-30 11:13:42 +02:00
Naklicki, Mateusz
1c48a70ac1 test: cleanup header includes 1/n
Related-To: NEO-15383
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-06-26 23:55:03 +02:00