Commit Graph

4878 Commits

Author SHA1 Message Date
Maciej Bielski
6005284a6f performance: fix minor inefficiencies - leverage move semantics
Related-To: NEO-15630

Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-10-14 21:17:01 +02:00
Katarzyna Cencelewska
f827cda964 fix: override correctly priority when primary engine
and set properly priority when priorityLevel set

Resolves: HSD-18043591896
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2025-10-14 17:41:26 +02:00
Naklicki, Mateusz
b27059dfc3 fix: add debug messages when graph export fails
Related-To: NEO-15377
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-10-14 17:16:23 +02:00
Naklicki, Mateusz
e31d052328 fix: remove unnecessary comments from graph dump
Add section comments only when corresponding edges are present.

Related-To: NEO-15377
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-10-14 13:03:47 +02:00
Bartosz Dunajski
d0670668f1 fix: add missing aggregated split residency call
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-10-14 08:18:04 +02:00
Mateusz Hoppe
023b29cc58 test: parse cmds in test
Related-To: NEO-14939

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-10-13 13:51:34 +02:00
Szymon Morek
435c43d142 performance: Use 2MB heap for cl_buffers if possible
Related-To: NEO-16165

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-10-13 09:14:40 +02:00
Bartosz Dunajski
8c9bff4f4e refactor: new logic to limit per queue split size
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-10-13 08:12:51 +02:00
Compute-Runtime-Validation
c45f3ecc8a Revert "feature: EUStall metrics calculation supports scopes"
This reverts commit e53949b8f2.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-10-11 02:19:20 +02:00
Mateusz Jablonski
6731e35695 test: disable debug flag for USM allocation pool manager in L0 tests
whenever test needs to verify the default behavior, value of -1 can be set

Related-To: NEO-16307
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-10 21:42:17 +02:00
Chodor, Jaroslaw
9c3d9d803f feature: Support for OCL C in L0 runtime
Prototype support for OCL C in L0 runtime
Can be used with zeModuleCreate and ze_module_format_t=3

Related-To: GSD-11827

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-10-10 19:06:32 +02:00
Bartosz Dunajski
fd02b706bb fix: staging copy with offload path
Related-To: NEO-16332

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-10-10 12:40:10 +02:00
Naklicki, Mateusz
9b762f46e1 refactor: cleanup header includes in level_zero/tools 2/2
Related-To: NEO-15383
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-10-10 12:26:07 +02:00
Jack Myers
f06bb256c7 refactor: sba type helper
Signed-off-by: Jack Myers <jack.myers@intel.com>
2025-10-10 11:36:36 +02:00
Matias Cabral
e53949b8f2 feature: EUStall metrics calculation supports scopes
Related-To: NEO-15142

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-10-10 10:57:19 +02:00
Brandon Yates
7b27c3668e fix: calculate subSlicesPerSlice correctly on XeKmd
Populate SliceInfo during topology creation.
Set L0 device props subslicesPerSlice to max
enabled subslice on any slice.

Related-to: NEO-16283

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2025-10-10 10:44:23 +02:00
Radoslaw Jablonski
232654ca9b refactor: extend L0 Copy extensions validation
Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
2025-10-10 10:38:24 +02:00
Dominik Dabek
a924c77b5c fix: bindless image from offset ptr
Handling pitched ptr offset from allocation base gpu address.

Related-To: NEO-16317, GSD-11804

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-10-09 14:32:06 +02:00
Bartosz Dunajski
0597f064e5 refactor: bcs split class structure
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-10-09 14:19:51 +02:00
Zbigniew Zdanowicz
e768366eac fix: reset all slm arguments of inactive kernel in mutable group
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-10-09 11:05:55 +02:00
Maciej Bielski
57add55b20 performance: R&R - return early from captureCommand if regular cmdlist
Skip looping over wait-events when it is known that none of them can be
a potential fork point. E.g. at instantiation stage capturing has
already been disabled but the `captureCommand()` is entered anyway for
any zeAPI call supporting R&R.

Related-To: NEO-16017
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-10-09 10:52:20 +02:00
Mateusz Jablonski
b807b43b35 refactor: remove not needed code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-09 10:51:44 +02:00
Bartosz Dunajski
e9e96fac1d fix: adjust offload detection for appendFill
Related-To: NEO-16332

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-10-08 18:41:59 +02:00
Lukasz Jobczyk
6d6715bebf performance: Lock svm allocs mutex once in appendLaunchKernelWithArgs
Resolves: NEO-15774

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-10-08 13:35:52 +02:00
Neil R. Spruit
66a0f0d1bb fix: Corrected flag union reserve size and simplified sharedNT flag
Related-To: NEO-16317

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-10-08 13:35:21 +02:00
Shreyas Kunder
d0e323e410 fix: Add function pointer for Metric Scope api
Related-To: NEO-16359

Signed-off-by: Shreyas Kunder <shreyas.kunder@intel.com>
2025-10-08 12:11:02 +02:00
Naklicki, Mateusz
0c619299d0 refactor: cleanup header includes in level_zero
Related-To: NEO-15383
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-10-07 19:58:31 +02:00
Bartosz Dunajski
8a706dcf7f fix: adjust copy offload selection logic 2
Related-To: NEO-16250

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-10-07 15:08:12 +02:00
Narendra Bagria
90ec875dea feature: use heapless builtins for copyRegion
Related-To: NEO-15323, NEO-7620

Signed-off-by: Narendra Bagria <narendra.bagria@intel.com>
2025-10-07 14:52:52 +02:00
Bartosz Dunajski
40dd9221ca refactor: improve bcs split size selection
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-10-07 09:29:12 +02:00
Bartosz Dunajski
d1a2ec4590 fix: add missing lock in bcs split path 2
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-10-07 08:00:18 +02:00
Compute-Runtime-Validation
fca882ceda Revert "fix: adjust copy offload selection logic"
This reverts commit 6bee05e894.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-10-07 04:54:13 +02:00
Radoslaw Jablonski
54de14a9dc refactor: apply clang-format's InsertBraces rule
Formats code before InsertBraces rule is enabled.

Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
2025-10-06 15:32:46 +02:00
Bartosz Dunajski
6bee05e894 fix: adjust copy offload selection logic
Related-To: NEO-16250

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-10-06 13:21:22 +02:00
Bartosz Dunajski
42371ee7bd fix: decanonize prefetch gpu va
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-10-06 12:54:42 +02:00
Mateusz Jablonski
9ab15e28c1 test: reduce file system accesses in L0 tests
Related-To: NEO-16307
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-06 12:34:39 +02:00
Compute-Runtime-Validation
d3ac2f871b Revert "fix: add missing lock in bcs split path"
This reverts commit 8ea8e78471.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-10-06 11:38:28 +02:00
Naklicki, Mateusz
42364dd070 feature: add missing api calls handling for graph dump
Implement handling for:
- zeCommandListAppendLaunchKernelWithArguments
- zeCommandListAppendLaunchKernelWithParameters

Related-To: NEO-15377
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-10-06 10:49:28 +02:00
Dominik Dabek
8575573dbd fix: l0, bindless image from pooled alloc
Make sure pool offset is applied when growing pools are used.

Related-To: NEO-16317, GSD-11804

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-10-06 10:21:05 +02:00
Compute-Runtime-Validation
feff29fd47 Revert "refactor: l0 host usm pool to unique ptr"
This reverts commit 0cf67302b2.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-10-05 06:27:30 +02:00
Young Jin Yoon
5eed1f5b72 fix: return unsupported when using ZE_IMAGE_TYPE_BUFFER
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE when ZE_IMAGE_TYPE_BUFFER
is used.

Related-To: NEO-16034
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2025-10-04 01:51:45 +02:00
Young Jin Yoon
929ebc7976 fix: return allocation size for zeImageGetMemoryPropertiesExp
Returned the memory allocation size instead of pixel size
for zeImageGetMemoryPropertiesExp

Related-To: NEO-16033
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2025-10-04 01:51:29 +02:00
Kamil Kopryk
f17ac35108 refactor: improve compilation time
Limit bitset includes,
stl bitset is slow to compile

Related-To: NEO-15390

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-10-03 21:21:25 +02:00
Bartosz Dunajski
8ea8e78471 fix: add missing lock in bcs split path
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-10-03 21:06:28 +02:00
Maciej Bielski
fa01460334 fix: R&R - setKernelState for appendLaunchKernelWithArguments
Related-To: NEO-16017
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-10-03 11:30:07 +02:00
Katarzyna Cencelewska
0f866e24e6 fix: enable setting timestamp via submission on tbx mode
Resolves: NEO-16293
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2025-10-03 08:43:18 +02:00
Dominik Dabek
0cf67302b2 refactor: l0 host usm pool to unique ptr
Related-To: NEO-16084

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-10-02 15:36:25 +02:00
Zbigniew Zdanowicz
5110a405a1 test: unify creation of immediate command list creation in black box tests
- prepare variants of create method needed for various scenarios

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-10-02 14:27:21 +02:00
Mateusz Jablonski
710d70a787 refactor: remove not needed code
Related-To: NEO-16154

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-02 11:41:08 +02:00
Zbigniew Zdanowicz
218be5b361 test: change function to create cb events in black box tests
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-10-01 18:16:37 +02:00