Commit Graph

2707 Commits

Author SHA1 Message Date
Fabian Zwoliński
cbb112ef6d fix: adjust tests to enabled global allocator 3/n
Related-To: NEO-7063
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-07-16 17:46:02 +02:00
Kozlowski, Marek
bd8fc07bb7 fix: Replace printf with current logging practice
* add missing stdout flush

Signed-off-by: Kozlowski, Marek <marek.kozlowski@intel.com>
2024-07-15 14:22:04 +02:00
Mateusz Hoppe
0d5d960e30 refactor: use releaseHelper when checking global allocator enabled
Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-07-11 13:50:13 +02:00
Zbigniew Zdanowicz
759cc5538d refactor: add flag for ext kernel
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-07-11 13:45:16 +02:00
Mateusz Hoppe
52f5a9d6f0 refactor: remove SourceLevelDebugger from test and function name
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-07-10 16:32:26 +02:00
Mateusz Jablonski
778645c11e feature: add initial support for Xe2 platforms
Related-To: NEO-8188, NEO-10774
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-09 10:30:27 +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
Bartosz Dunajski
024c015dab feature: allow creating L0 BCS LowPriority Queues
Related-To: NEO-7824

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-03 11:20:37 +02:00
Bartosz Dunajski
b4903a9a0f refactor: unify Queue CSR assignment methods
Related-To: NEO-7824

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-02 12:45:12 +02:00
Bartosz Dunajski
6ccd14838e feature: set CSR for interruptable Events during CmdList Execute
Related-To: NEO-8179

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-01 19:35:24 +02:00
Jitendra Sharma
51fc9059c2 feature: program debug surface address
Related-To: NEO-7986
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-07-01 16:30:14 +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
Michal Mrozek
ef37b140de performance: allow non cb events address extraction
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-06-27 16:55:25 +02:00
Wenju He
c8e1ba9683 feature: support ZE_EXTERNAL_MEMORY_TYPE_FLAG_OPAQUE_FD in level-zero runtime
Re-use the implementation of ZE_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMPORT_FD.
With this PR and https://github.com/oneapi-src/unified-runtime/pull/1696,
Three sub-tests in SYCL bindless image vulkan_interop/sampled_images.cpp
are passing on DG2 linux.
Also enable OPAQUE_FD for EXTERNAL_MEMORY_EXPORT_DESC.

Related-To: GSD-7102
Signed-off-by: Wenju He <wenju.he@intel.com>
2024-06-26 23:34:15 +02:00
Bartosz Dunajski
ca77ace883 fix: download TBX Event allocation on Secondary CSRs
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-06-26 16:33:52 +02:00
Mateusz Jablonski
66d4d141e1 fix: extract common logic for filling default gt system info
gt system info should be queried from KMD

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-06-25 20:21:57 +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
Wenbin Lu
cf71353d84 fix: report P2P atomic access for XeLink or MDFI only
Related-To: NEO-11753

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2024-06-24 17:28:22 +02:00
Lukasz Jobczyk
fed90f5c8e fix: Add infrastructure to force dc flush when mitigate dc
-force dc on next tag update after RT kernel
-force dc when release shared object

Related-To: NEO-10556

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-06-24 17:15:03 +02:00
Mateusz Hoppe
4c49a08017 feature: add inline samplers bindless addressing support
- inline samplers in bindless addressing mode requires bindless offset
passed in cross thread data

Related-To: NEO-11748

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-06-24 13:02:08 +02:00
Bartosz Dunajski
a157d96d57 fix: correct region barrier size calculation - 2
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-06-24 11:17:47 +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
Compute-Runtime-Validation
80c0d168bc Revert "fix: correct region barrier size calculation"
This reverts commit 8698e7fb43.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-06-22 10:40:41 +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
Bartosz Dunajski
8698e7fb43 fix: correct region barrier size calculation
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-06-21 14:10:13 +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
0164288fce refactor: use cmd list member instead of getting l0GfxCoreHelper
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-06-20 18:30:16 +02:00
Bartosz Dunajski
45cf88077b refactor: unify cooperative cmd list launch functions
Related-To: NEO-11621

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-06-20 14:47:01 +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
Dominik Dabek
296d2bb148 performance: adjust ulls timeout on power saving
Use l0 power saving setting to also adjust ulls timeout.

Related-To: NEO-10800

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-06-17 16:51:55 +02:00
Aravind Gopalakrishnan
510a51b9f4 feature: Add support for d3d12 handle types for import
Related-To: NEO-11292

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-06-17 08:30:10 +02:00
Bartosz Dunajski
365a6c0eaa feature: download tbx allocations in copy offload path
Related-To: NEO-11376

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-06-14 18:55:54 +02:00
Bartosz Dunajski
dd241d6848 feature: program user interrupt in copy offload path
Related-To: NEO-11376
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-06-14 18:55:40 +02:00
Bartosz Dunajski
31f3e3e81d feature: initial support for media query api
Related-To: NEO-9777

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-06-14 17:28:49 +02:00
Aravind Gopalakrishnan
b7b45e1410 feature: Add capability to query additional memory properties ext
Related-To: NEO-11362

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-06-14 17:03:23 +02:00
Bartosz Dunajski
b0c924d40e feature: relaxed ordering in copy offload path
Related-To: NEO-11376

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-06-14 17:03:08 +02:00
Bartosz Dunajski
deb10999e1 feature: temp alloc and host sync handling for copy offload path
Related-To: NEO-11376

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-06-14 14:48:18 +02:00
Joshua Santosh Ranjan
deefea51ee fix: use kernel timestamp properties instead of global timestamp
Related-To: NEO-11555

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-06-13 18:08:12 +02:00
Bartosz Dunajski
fcef00969e refactor: remove not needed task count param from hostSynchronize method
Related-To: NEO-11376

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-06-12 17:01:13 +02:00
Bartosz Dunajski
54e07def28 refactor: add const suffix
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-06-12 15:45:23 +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
Bartosz Dunajski
2e9bb26708 feature: enable copy offload api
Related-To: NEO-11376

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-06-12 12:02:23 +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
Bartosz Dunajski
bb00193205 refactor: remove csr from cmd list class
Related-To: NEO-11376

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-06-11 15:43:13 +02:00
Bartosz Dunajski
dab221830e feature: select execution queue from copy offload
Related-To: NEO-11376

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-06-10 14:21:29 +02:00