Commit Graph

436 Commits

Author SHA1 Message Date
Jakub Nowacki
1ef4c2facf feature: expose external memory mapping extension
Related-To: NEO-11561

Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com>
2025-10-30 11:25:19 +01:00
Mateusz Jablonski
678ffbba44 fix: stop exposing copy operation offload hint extension
copy offload hint should be passed via ZE_COMMAND_QUEUE_FLAG_COPY_OFFLOAD_HINT

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-30 10:12:20 +01:00
Dominik Dabek
8ab1e0fb04 performance: enable usm pool residency tracking
Related-To: NEO-16303

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-10-28 08:01:44 +01:00
Jakub Nowacki
feb0f50368 feature: expose bandwidth properties extension
Related-To: NEO-11561

Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com>
2025-10-27 13:53:01 +01:00
Jakub Nowacki
5d861a65d6 feature: expose fabric topology extension
Related-To: NEO-11561

Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com>
2025-10-27 12:46:06 +01:00
Mateusz Jablonski
7611d376f9 feature: add support for L0 v1.14 API
Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-27 12:34:58 +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
Dominik Dabek
74d050f7be refactor: l0 usm host pool to unique ptr
Related-To: NEO-16084

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-10-23 14:59:26 +02:00
Mateusz Jablonski
c92ab7c40f fix: expose preview L0 API functions from L0 namespace
Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-10-23 13:23:04 +02:00
Alicja Lukaszewicz
dd252e7852 feature: improve logic to check for P2P access
Related-To: NEO-15711

Signed-off-by: Alicja Lukaszewicz <alicja.lukaszewicz@intel.com>
2025-10-15 10:45:22 +02:00
Slawomir Milczarek
1410459836 fix: Fix HostPointerManager multi-allocation for non-zero root device indices
Related-To: NEO-15430

Previously, HostPointerManager constructed HostPointerData and
MultiGraphicsAllocation using devices.size()-1 as the max root device index.
This caused aborts when devices with non-zero root device indices were used,
since the internal allocation vector was undersized.
This change computes the maximum root device index from the input device vector
and uses it to size HostPointerData and MultiGraphicsAllocation correctly.

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2025-10-15 08:22:30 +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
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
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
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
Dominik Dabek
7bb2d323d9 performance: enable l0 device usm growing pools
Related-To: NEO-16084

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-10-01 17:06:25 +02:00
Bartosz Dunajski
72a5bcbfa1 feature: extend copy offload hint support
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-09-25 12:56:40 +02:00
Dominik Dabek
f54e3fda41 feature: adapt usm pool manager
Change behavior to continue allocating usm pools as needed.
Intended to replace singular usm pools.

Related-To: NEO-16084

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-09-24 15:16:10 +02:00
shubham kumar
0b6b0e3954 Revert "feature: Use zesInit on windows always"
This reverts commit 9dadadfa73.

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-09-23 17:18:12 +02:00
Szymon Morek
797807bea8 fix: reduce USM pool size for platforms prior Xe2
Related-To: NEO-16192

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-09-23 15:06:54 +02:00
Bartosz Dunajski
6f2e8b7544 feature: api to query aggregated event increment value 2
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-09-23 13:37:53 +02:00
Shreyas Kunder
edf6f2e299 feature: Experimental zetMetricTracerDecodeExp2 API signature
Related-To: NEO-15248

Signed-off-by: Shreyas Kunder <shreyas.kunder@intel.com>
2025-09-23 11:55:05 +02:00
Compute-Runtime-Validation
891078f634 Revert "feature: api to query aggregated event increment value"
This reverts commit a9f43dac9f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-09-22 16:23:00 +02:00
Jaroslaw Warchulski
195bf66a49 refactor: fix typos
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-09-22 12:46:41 +02:00
Shreyas Kunder
5c6ae48d17 feature: Metrics properties show metric scopes in Tracelib
Related-To: NEO-15832

Signed-off-by: Shreyas Kunder <shreyas.kunder@intel.com>
2025-09-22 11:36:57 +02:00
Bartosz Dunajski
a9f43dac9f feature: api to query aggregated event increment value
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-09-19 16:04:36 +02:00
Maciej Bielski
e8d43ff074 fix: various small improvements
Related-To: NEO-15630

Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-09-19 13:42:36 +02:00
Dominik Dabek
6ec9ebd7a6 fix: l0, disable device usm pooling on multidevice
Related-To: NEO-6893, GSD-11432

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-09-18 16:38:08 +02:00
shubham kumar
9dadadfa73 feature: Use zesInit on windows always
Related-To: NEO-15060

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-09-17 15:14:47 +02:00
Grochowski, Stanislaw
41a63a0907 fix: report cache reservation extension only on Linux
Related-To: NEO-15751

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-09-17 10:06:47 +02:00
Compute-Runtime-Validation
63051f0635 Revert "feature: Use zesInit on windows always"
This reverts commit cf7a4bc0dd.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-09-17 09:25:31 +02:00
shubham kumar
cf7a4bc0dd feature: Use zesInit on windows always
Related-To: NEO-15060

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-09-16 12:30:05 +02:00
Szymon Morek
6b37243bfa performance: increase USM pool sizes
Related-To: NEO-16045

Also, unify pool config parameters and
reduce pool size for ULTs.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-09-16 12:10:25 +02:00
Neil R. Spruit
c33fb25143 feature: Added L0 Mem Free Callback Registration
Related-To: NEO-15719

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-09-16 10:52:28 +02:00
Fabian Zwoliński
8cf8fe4f5a fix: use const auto& to avoid unnecessary copies
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-09-15 17:48:57 +02:00
Kamil Kopryk
867a96ea0c feature: add host functions api entry
Related-To: NEO-14577
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-09-15 13:56:07 +02:00
Zbigniew Zdanowicz
5e9bb008ef feature: expose record and replay graph extension
Related-To: NEO-15375

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-09-10 08:36:17 +02:00
Kamil Kopryk
f15c42bd11 performance: optimize checking if ga is imported 1/2
Related-To: NEO-13163
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-09-04 11:08:22 +02:00
Grochowski, Stanislaw
d1c63ead70 fix: report event sync mode only for supported platforms
Related-To: NEO-14929

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-09-02 11:22:12 +02:00
Mateusz Jablonski
bd598e0d88 refactor: remove not needed code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-28 14:39:59 +02:00
Szymon Morek
d7e6aff211 fix: delete staging prior device
Related-To: NEO-14026

Also ensure that staging won't be used when it's already destroyed

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-08-28 10:44:00 +02:00
Alicja Lukaszewicz
bca503548a feature: add peer access check on driver init
Related-To: NEO-14885, HSD-14024947073

Signed-off-by: Alicja Lukaszewicz <alicja.lukaszewicz@intel.com>
2025-08-27 15:48:22 +02:00
Aleksandra Nizio
9a0a52d46d feature: Add new API to append kernel with support to additional parameters
Related-To: NEO-15565,GSD-10660
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-08-21 10:01:56 +02:00
Compute-Runtime-Validation
49c0ef60c0 Revert "feature: Add new API to append kernel with support to additional para...
This reverts commit 617a736630.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-20 00:55:05 +02:00
Aleksandra Nizio
617a736630 feature: Add new API to append kernel with support to additional parameters
Related-To: NEO-15565,GSD-10660
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-08-19 15:09:00 +02:00
Alicja Lukaszewicz
0335d44a56 refactor: move peer access handling to shared device
Related-To: NEO-14885, HSD-14024947073

Signed-off-by: Alicja Lukaszewicz <alicja.lukaszewicz@intel.com>
2025-08-19 10:40:41 +02:00
Neil R. Spruit
43ebc17e17 feature: Support for opaque IPC handles on Windows and Linux
- Added support for creating and managing opaque IPC NT handles in the
WDDM layer.
- Introduced a new flag `shareableWithoutNTHandle` to indicate if memory
can be shared without an NT handle.
- Updated the `isShareableMemory` method to accommodate this new flag.
- Added debug variable EnableShareableWithoutNTHandle to control the
behavior of sharing memory without NT handles until requested.
- Updated Linux path to enable sharing DMA Buf FDs between processes
for use in pidfd_getfd
- Updated getfd and get IPC Handle helper functions to support opaque or
previous versions

Related-To: NEO-15345 , NEO-15346 , NEO-15347, NEO-10380

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-08-18 16:23:44 +02:00
Bartosz Dunajski
1f3e406c8d fix: delete stagingBufferManager after Device
Related-To: HSD-18043087998

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-08-18 13:42:39 +02:00
Compute-Runtime-Validation
0855219087 Revert "feature: Support for opaque IPC handles on Windows and Linux"
This reverts commit 46b1b2783b.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-15 02:22:02 +02:00