Commit Graph

393 Commits

Author SHA1 Message Date
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
Neil R. Spruit
46b1b2783b 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

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

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-08-14 08:33:56 +02:00
Matias Cabral
91f25ef990 feature: remove calcOp multi set calc API
Resolves: NEO-15690

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-08-11 18:53:13 +02:00
Michal Mrozek
e9ff1260f0 performance: add early return for single byte path
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-08-08 15:22:02 +02:00
Michal Mrozek
469aeb870c refactor: remove unused code
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-08-08 08:07:49 +02:00
Mateusz Jablonski
ee5cd678ea fix: correct naming of zer functions
zerDriverGetDefaultContext -> zerGetDefaultContext
zerDriverGetLastErrorDescription -> zerGetLastErrorDesription
zerDeviceTranslateToIdentifier -> zerTranslateDeviceHandleToIdentifier
zerIdentifierTranslateToDeviceHandle -> zerTranslateIdentifierToDeviceHandle

Related-To: NEO-14560

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-04 15:17:04 +02:00
Matias Cabral
1b7a26996e refactor: renaming of metrics calcOp related structures
Resolves: NEO-15139

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-08-04 11:09:28 +02:00
Compute-Runtime-Validation
566b6551a5 Revert "fix: correct naming of zer functions"
This reverts commit 91a9ccaebe.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-02 02:09:08 +02:00
Mateusz Jablonski
91a9ccaebe fix: correct naming of zer functions
zerDriverGetDefaultContext -> zerGetDefaultContext
zerDriverGetLastErrorDescription -> zerGetLastErrorDesription
zerDeviceTranslateToIdentifier -> zerTranslateDeviceHandleToIdentifier
zerIdentifierTranslateToDeviceHandle -> zerTranslateIdentifierToDeviceHandle

Related-To: NEO-14560

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-01 14:25:20 +02:00
Jakub Nowacki
a23647da15 feature: expose event_query_timestamps extension
Related-To: NEO-11561

Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com>
2025-07-31 10:51:26 +02:00
Jakub Nowacki
781b6bbee2 feature: expose sub_allocations extension
Related-To: NEO-11561

Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com>
2025-07-30 14:31:09 +02:00
Joshua Santosh Ranjan
280239ebec feature: add support to query metrics hw buffer size
Related-To: NEO-13439

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2025-07-30 13:19:19 +02:00
Compute-Runtime-Validation
705dc02f06 Revert "feature: Use zesInit on windows always"
This reverts commit 99ee605410.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-30 04:38:02 +02:00
Jakub Nowacki
b522da6532 feature: expose eu_count l0 extension
Related-To: NEO-11561

Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com>
2025-07-29 14:08:45 +02:00
shubham kumar
99ee605410 feature: Use zesInit on windows always
Related-To: NEO-15060

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-07-29 12:34:02 +02:00
Matias Cabral
b7f9d55118 feature: support excluded metrics from calc op
Resolves: NEO-15492

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-07-29 05:16:29 +02:00
Kindracki, Jakub Tomasz
a73d5724e3 feature: Return insufficient permissions when driver device cannot be loaded
Return ZE_RESULT_ERROR_INSUFFICIENT_PERMISSIONS when user doesn't have
permissions to access the GPU driver device file.

Related-To: NEO-8682
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-07-28 16:31:07 +02:00
Zbigniew Zdanowicz
cdc7be1518 performance: limit number of queries when getting usm allocation data
Related-To: NEO-13916

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-24 17:35:33 +02:00
Dominik Dabek
a8553a55c3 fix: disable usm pooling on non-hw
Usm pooling does not work with saving/downloading whole allocations on
non-hw csrs.

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-07-24 15:04:57 +02:00
Matias Cabral
93195e3501 feature: support for Metric Scopes
Resolves: NEO-15136

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-07-23 21:42:48 +02:00
Mateusz Jablonski
09ee9bf093 feature: expose DDI Handles extension by default
Related-To: NEO-13917, NEO-13121
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-22 13:13:57 +02:00
Szymon Morek
86b5660c23 performance: introduce staging copy in L0
Related-To: NEO-14026

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-07-21 08:50:43 +02:00
Compute-Runtime-Validation
4c929fcc84 Revert "feature: support for Metric Scopes"
This reverts commit e92ac1c8ab.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-17 04:29:44 +02:00
Matias Cabral
e92ac1c8ab feature: support for Metric Scopes
Resolves: NEO-14753

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-07-16 19:30:14 +02:00
Shreyas Kunder
e4158208ae feature: Update Metrics Driver Code to use runtime enable & Disable APIs
Related-To: NEO-15339

Signed-off-by: Shreyas Kunder <shreyas.kunder@intel.com>
2025-07-15 14:28:49 +02:00
Zbigniew Zdanowicz
1599e5bafe feature: add missing experimental mcl api calls
Related-To: NEO-10492

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-11 18:23:37 +02:00
Mateusz Jablonski
8f1903c7dd feature: add zerDriverGetLastErrorDescription API
this function retrieves last error from default driver

Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-11 13:37:50 +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
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
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
Zbigniew Zdanowicz
442c11b5ba feature: add mutable command list implementation
Related-To: NEO-10492

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-06-25 16:32:08 +02:00
Neil R. Spruit
532c663da6 feature: Add Initial Support for Get Vector Width Properties
- Added support for L0 to query Vector Width Properties which allows for
querying all the supported vector widths and their prefferred and
native vector widths per data type.
- Updated shared code to support querying the same values thru
getPreferredVectorWidth* and getNativeVectorWidth* helper functions
for OpenCL and Level Zero.
- Initial support for reporting base values for the vector
widths with future support for reporting different values per platform and
based on the SIMD/SIMT size used.

Related-To: NEO-13745

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-06-25 01:11:30 +02:00
Aravind Gopalakrishnan
39b28474ae feature: Add new struct for IPC opacity
Related-To: NEO-15185

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2025-06-24 22:57:22 +02:00
Dominik Dabek
77e25f90d7 fix: prepare for l0 usm reuse enable
adjust ULTs
disable usm reuse in multi device l0
don't initialize usm caches if max reuse size is 0
check requested alignment when returning from cache
guard against double free

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-06-23 17:17:18 +02:00
Neil R. Spruit
dd63a48dfe feature: Support for Level Zero Device Cache Line Size Extension
Related-To: NEO-1324

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-06-18 22:02:01 +02:00
Dominik Dabek
e5477e614e fix: prepare for l0 host usm pool
enable only if all devices support hostUsmPooling

split product helper method by api type for pre PTL products

add ult helper function to cleanup and initialize pools -
used when replacing memory managers or normal cleanup during driver
destruction would access already freed resources

adjust ults

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-06-16 12:13:45 +02:00
Mateusz Jablonski
f165e713a5 fix: cache canAccessPeer result of each pair of devices
query peer access only once per pair of devices

Related-To: NEO-14938

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-06-16 12:04:08 +02:00
Dominik Dabek
cf87684644 performance: enable l0 device usm pool
Disable if debugging is enabled.

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-06-03 10:32:08 +02:00
Mateusz Hoppe
0d57dcfdf0 feature: add L0 API querying priority levels - zeDeviceGetPriorityLevels()
Related-To: NEO-14572

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-05-23 09:24:16 +02:00
Jakub Nowacki
4ca596c535 fix: add missing extension ults
Related-To: NEO-9988

Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com>
2025-05-20 16:03:18 +02:00
Mateusz Jablonski
48881bfb9a feature: add L0 API to append kernel with all params
Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-14 11:13:35 +02:00
Mateusz Jablonski
e0041df3cc refactor: remove not needed function
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-09 00:45:02 +02:00
Mateusz Jablonski
41ef309ccf performance: cache devices to expose via zeDeviceGet API call
vector with all device handles is initialized only once, during driver init

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-09 00:19:23 +02:00