Commit Graph

305 Commits

Author SHA1 Message Date
Bartosz Dunajski
db3f268a97 refactor: reorganize l0 api include directories [2/n]
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-12-20 17:16:53 +01:00
Bartosz Dunajski
47f74b8a7b refactor: reorganize l0 api include directories [1/n]
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-12-20 12:59:08 +01:00
Aravind Gopalakrishnan
7ea8b59a1d fix: Add immediate command list append API to reported extensions list
Related-To: NEO-10356

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-12-19 21:22:19 +01:00
Raiyan Latif
06c94d47f9 feature: Add External Semaphore experimental [3/N]
Related-To: NEO-11488

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2024-12-18 05:29:33 +01:00
Aravind Gopalakrishnan
33f64edc31 feature: Add External Semaphore experimental stubs [1/N]
Related-To: NEO-11488

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-11-20 19:04:42 +01:00
Joshua Santosh Ranjan
f589408848 feature: update metrics for v1.11
Related-To: NEO-12597

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-11-19 02:02:46 +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
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
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
Jack Myers
10f67bcd1a feature: finalizes 2d block load/store query
Finalized the implementation of the 2d block
load/store extension query. Namely, this adds
the extension info to the `DriverHandleImp`.

Also fixed support matrix in the current
implementation that incorrectly includes
MTL and ARL in the supported products. ULTs
and the implementation have both been changed
to match the true support matrix.

Related-To: NEO-11592
Signed-off-by: Jack Myers <jack.myers@intel.com>
2024-10-16 02:19:22 +02:00
Wojciech Konior
6b40f9bc5a refactor: engineInstancedType removed
Related-To: NEO-12594

Signed-off-by: Wojciech Konior <wojciech.konior@intel.com>
2024-10-09 16:30:48 +02:00
John Falkowski
1d51f4b91c feature: Add driver-experimental API for retrieval of kernel binary program data
Related-To: NEO-11651

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2024-09-25 20:38:17 +02:00
Compute-Runtime-Validation
5dddd4a67f Revert "feature: Add experimental API for retrieval of kernel binary program ...
This reverts commit 24682e702b.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-25 10:01:36 +02:00
John Falkowski
24682e702b feature: Add experimental API for retrieval of kernel binary program data
Related-To: NEO-11651

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2024-09-24 02:48:29 +02:00
Joshua Santosh Ranjan
6d86d562b5 refactor: move metric driver experimental apis to shared location
modify driver experimental extensions according to guideline

Related-To: NEO-12530

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-09-18 20:46:33 +02:00
Aravind Gopalakrishnan
f5b88f085a feature: Update L0 Core release version to v1.6
Related-To: NEO-12628

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-09-13 19:09:26 +02:00
Compute-Runtime-Validation
e6079cdf24 Revert "feature: Update L0 Core release version to v1.6"
This reverts commit 4eefd9eef7.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-13 02:33:53 +02:00
Aravind Gopalakrishnan
4eefd9eef7 feature: Update L0 Core release version to v1.6
Related-To: NEO-12628

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-09-12 18:58:22 +02:00
Dominik Dabek
b2fc7345cf performance: redesign usm alloc reuse mechanism
Dedicated pools for different allocations size ranges.
Additional reused allocations will create their own pools.
Do not reuse allocations >256MB.

Related-To: NEO-6893, NEO-12299, NEO-12349

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-09-10 18:12:14 +02:00
Mateusz Jablonski
14fd9f3f24 fix: correct using L0 loader functions
use zelLoaderTranslateHandle for translating handle to internal handle
get pointer to zelSetDriverTeardown during global ctor
don't load loader library by name
get loader function pointers directly from current process

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-04 17:30:25 +02:00
Mateusz Jablonski
c0cec096a5 fix: don't return gtpin init error from L0 API call
gtpin should be transparent for application

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-02 17:41:08 +02:00
Mateusz Jablonski
d45c16dfc2 fix: add fallback for invalid handles in extension functions
handle context, commandlist, driver, device, event, image and kernel handles

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-28 17:22:35 +02:00
Mateusz Jablonski
b7cedb99a4 fix: move gtpin initialization to first zeDriverGet call
Currently gtpin is intialized during zeInit call. However, it is not
correct as gtpin is calling other L0 API functions, like zeDriverGet
which should not be called until zeInit function finishes.

With this commit gtpin initialization is performed during first
zeDriverGet function call. In case of initialization failure
ZE_RESULT_ERROR_DEPENDENCY_UNAVAILABLE will be returned every
zeDriverGet call.

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-27 15:09:04 +02:00
Winston Zhang
0590b34cfa feature: refactor and rewrite setErrorDescription
Related-To: NEO-8379

Signed-off-by: Winston Zhang <winston.zhang@intel.com>
2024-08-21 17:26:25 +02:00
Bartosz Dunajski
ebcbbcf8fe fix: add missing api exports
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-26 12:15:28 +02:00
Mateusz Hoppe
8a7923c6ee fix: allow fork() after zeInit()
- do not release resources derived from parent process
- zeInit() in child should initilize new driver

Related-To: NEO-11761

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-07-23 15:31:50 +02:00
Szymon Morek
457cb005de performance: iterate over indirect allocations once
Related-To: NEO-11921

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-07-09 09:31:52 +02:00
Kozlowski, Marek
43c840cb29 fix: update amount of available devices
* According to L0 specification if count is greater than
the number of devices available, then the driver shall
update the value with the correct number of devices available

Signed-off-by: Kozlowski, Marek <marek.kozlowski@intel.com>
2024-07-09 08:43:21 +02:00
Aravind Gopalakrishnan
218663e1d5 documentation: Update L0 Core release version to v1.5
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-06-27 19:07:48 +02:00
Neil R. Spruit
0daa0335cf feature: Define L0 Driver API for Driver Version String
Related-To: NEO-11752

- Adds zeIntelGetDriverVersionString to report the driver
version string to the user in the format:
Major.Minor.Patch+Optional

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2024-06-24 20:56:28 +02:00
Compute-Runtime-Validation
7a299ab073 Revert "feature: Define L0 Driver API for Driver Version String"
This reverts commit c51329d098.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-06-24 03:41:47 +02:00
Neil R. Spruit
c51329d098 feature: Define L0 Driver API for Driver Version String
Related-To: NEO-11752

- Adds zeIntelGetDriverVersionString to report the driver
version string to the user in the format:
Major.Minor.Patch+Optional

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2024-06-21 18:31:43 +02:00
Artur Harasimiuk
a9795349b4 Revert "build: improve L0 driver versioning to allow HotFix number"
This reverts commit 56847274fa.

Reverting due to bug in unified runtime:
https://github.com/oneapi-src/unified-runtime/issues/1777

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-06-21 14:10:28 +02:00
Compute-Runtime-Validation
7a74fdb414 Revert "feature: Define L0 Driver API for Driver Version String"
This reverts commit f3ce3b5e81.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-06-21 03:14:40 +02:00
Neil R. Spruit
f3ce3b5e81 feature: Define L0 Driver API for Driver Version String
Related-To: NEO-11752

- Adds zeIntelGetDriverVersionString to report the driver
version string to the user in the format:
Major.Minor.Patch+Optional

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2024-06-20 20:35:31 +02:00
Filip Hazubski
2f6eaf149a fix: Update SIP kernel initialization logic
Initialize SIP kernel when shared device is being initialized
instead of api-specific device.

Initialize debugger when shared device is being initialized
instead of during platform or driver initialization.

Add missing makeResident calls for SIP kernel in heapless paths.

Related-To: HSD-18038645398, HSD-18038819112

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-06-20 18:30:46 +02:00
Bartosz Dunajski
b28fc0f55d feature: report copy offload extension
Related-To: NEO-11376

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-06-18 16:37:28 +02:00
Jaroslaw Warchulski
daec249430 refactor: remove not needed createGraphicsAllocationFromNTHandle method
Related-To: NEO-11498
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2024-06-18 14:25:00 +02:00
Jaroslaw Warchulski
76a05c1cab refactor: pass arrayIndex to Wddm::openNTHandle function
Related-To: NEO-11498
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2024-06-12 12:11:35 +02:00
Wenju He
aa49d9e65e feature: add ZE_extension_image_copy as supported extension
Add null check as L0 cts test_api_ltracing_dynamic was passing a null
host ptr.

Resolves: NEO-9988

Signed-off-by: Wenju He <wenju.he@intel.com>
2024-06-12 03:30:37 +02:00
Artur Harasimiuk
b8e212d728 refactor: make spdlog optional
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-06-07 14:14:12 +02:00
Jaroslaw Warchulski
0ac1be7669 refactor: pass arrayIndex to Wddm::openSharedHandle function
Related-To: NEO-11498
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2024-06-07 09:51:26 +02:00
Neil R. Spruit
1a4ce07414 fix: add ZE_extension_linkage_inspection to driver properties
Related-To: NEO-9988

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2024-05-29 22:20:28 +02:00
Falkowski, John
20e22deced fix: add ZE_extension_kernel_max_group_size_properties to L0 driver properties
Related-To: NEO-9988

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2024-05-29 16:51:00 +02:00
Compute-Runtime-Validation
4489aedf44 Revert "fix: add ZE_extension_kernel_max_group_size_properties to driver prop...
This reverts commit 06a00f5120.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-05-24 06:50:42 +02:00
John Falkowski
06a00f5120 fix: add ZE_extension_kernel_max_group_size_properties to driver properties
Related-To: NEO-9988

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2024-05-22 23:20:45 +02:00
Kulkarni, Ashwin Kumar
fbb8fa7dea feature: supports git SHA logging to log file
Related-To: NEO-11364

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-05-20 22:23:17 +02:00
Dominik Dabek
b4d839fe29 performance(usm): l0, add usm host memory pooling
Disabled by default.

Related-To: NEO-11356

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-05-15 15:20:51 +02:00
Artur Harasimiuk
56847274fa build: improve L0 driver versioning to allow HotFix number
new format is: BBBBB.HHH, where:
* BBBBB is build number
* HHH is hotfix number

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-05-15 13:10:49 +02:00