Commit Graph

2913 Commits

Author SHA1 Message Date
Vysochyn, Illia
afd22999cc refactor: Adjust RENDER_SURFACE_STATE structures naming
Performs minor renaming (mostly capitalization) in order to align with
specification.

Renames L1_CACHE_POLICY to L1_CACHE_CONTROL.

Related-To: NEO-13147

Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
2024-11-29 09:43:11 +01:00
Compute-Runtime-Validation
bced7e4621 Revert "performance: stop ULLS for BCS during migration"
This reverts commit 81ba52aac4.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-11-29 04:42:26 +01:00
Mateusz Jablonski
fa58073095 refactor: remove not used usings/typedefs/variables
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-11-28 16:19:39 +01:00
Zbigniew Zdanowicz
92ebbe75c0 feature: add kernel getters for sync buffer and region barrier allocations
Related-To: NEO-13350

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-11-28 10:29:48 +01:00
Szymon Morek
81ba52aac4 performance: stop ULLS for BCS during migration
Related-To: NEO-13340

When regular copy CSR has enabled direct submission,
stop it before migration on internal CSR.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-11-27 20:06:50 +01:00
Zbigniew Zdanowicz
6b7235cd6c refactor: change parameter names into more meaningful
- change additional size into local region size
- change walk order into dispatch walk order to distinguish for local id walk

Related-To: NEO-13350

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-11-27 16:15:02 +01:00
Katarzyna Cencelewska
194da4b7ef fix: do not duplicate calculations when printing ts enabled
Related-To: HSD-14023527252
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2024-11-21 15:36:52 +01:00
Katarzyna Cencelewska
4ad8c17db9 feature: add debug flags for timestamps
PrintCalculatedTimestamps - print ts in level zero paths
PrintTimestampPacketContents - add logging also to level zero paths
ForceUseOnlyGlobalTimestamps - force using a global ts

Related-To: HSD-14023527252
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2024-11-21 11:28:08 +01:00
Bartosz Dunajski
dab4166837 fix: add missing aub polls on sync points
Related-To: HSD-14023925176

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-21 09:17:54 +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
Wenbin Lu
2ba80ce114 feature: support physical host memory
Related-To: NEO-11981

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2024-11-20 08:19:52 +01:00
Bartosz Dunajski
47665280f4 fix: check standalone CB event completion for profiling
Related-To: HSD-18040322890

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-19 16:03:38 +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
e363c871c7 fix: skip signaling remaining packets only for explicit CB Events
Related-To: HSD-18040605969

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-15 14:36:00 +01:00
Bartosz Dunajski
fea50b1b94 feature: adjust CB Event creation in BB tests
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-14 16:51:15 +01:00
Aravind Gopalakrishnan
6844dec1d1 feature: Append recorded commandlist into immediate (7/N)
fix relaxed ordering and stalling commands check

Related-To: NEO-10356

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-11-14 16:16:40 +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
Bartosz Dunajski
ea8d2803ce fix: verify CB Event IPC input params
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-08 14:48:32 +01:00
Bartosz Dunajski
34e22f0eee fix: create standalone event with correct packet size
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-08 13:06:45 +01:00
Bartosz Dunajski
fe76aac489 feature: link counter based event IPC APIs with existing implementation
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-07 12:43:27 +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
Bartosz Dunajski
efc31fbe06 refactor: unify event creation functions
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-06 12:17:54 +01:00
Zbigniew Zdanowicz
fdaaab01e9 refactor: change command list update capabilities
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-11-06 10:35:28 +01:00
Kamil Kopryk
6fc15a1799 fix: use correct builtin names for heapless
Related-To: NEO-12149
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-11-06 10:35:13 +01:00
Fabian Zwoliński
de4d67610c fix: add missing in-order signalling in appendCopyImageBlit
Related-To: GSD-10281
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-11-06 10:34:59 +01:00
Zbigniew Zdanowicz
e3acd850ea feature: add new functions to dispatch table
Related-To: NEO-11115

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-11-05 16:51:57 +01:00
Kamil Kopryk
6a8a221225 refactor: improve readability
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-11-05 10:46:44 +01:00
Kamil Kopryk
3891e887c1 feature: use heapless builtins for images
Related-To: NEO-12744
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-10-25 16:42:27 +02:00
Bartosz Dunajski
2d6fb1af4b fix: in-order relaxed ordering handling for signalEvent
Related-To: NEO-13082

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-25 15:30:33 +02:00
Bartosz Dunajski
64c02c904a fix: disallow signaling IPC imported CB Event
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-25 12:53:05 +02: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
Bartosz Dunajski
e60f3d931b fix: dont use event fence wait in tbx mode
Related-To: HSD-18040280103

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-23 12:10:33 +02:00
Wenbin Lu
a8a40d2afd feature: support SVM heap in reserveVirtualMem
Related-To: NEO-11981

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2024-10-22 16:47:14 +02:00
Bartosz Dunajski
c9c8f988f5 refactor: configure additional kernel launch params
Related-To: NEO-12591

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-22 12:00:04 +02:00
Compute-Runtime-Validation
0723cb1bdc Revert "refactor: configure additional kernel launch params"
This reverts commit 73bc507c3d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-10-22 08:37:54 +02:00
Bartosz Dunajski
73bc507c3d refactor: configure additional kernel launch params
Related-To: NEO-12591

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-21 18:04:37 +02:00
Bartosz Dunajski
c77fad31e2 fix: disable copy offload for D2D operations
Related-To: NEO-13034

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-21 13:38:44 +02:00
Aravind Gopalakrishnan
c617048f1a fix: Enqueue blocking support for L0
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-10-19 10:28:48 +02:00
Kulkarni, Ashwin Kumar
23335548f7 feature: adds 3-channel support in image format descriptor
Related-To: NEO-12887

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-10-17 18:27:14 +02:00
Mateusz Jablonski
4154e6666b fix: correct loading L0 loader functions
- don't load ze_loader.dll from file system
- to perform self-open on Windows use getModuleHandleA with proper module name
- don't free library loaded with getModuleHandleA
- as loader may be not available during runtime teardown:
- load translate handle function during global setup
- load setDriverTeardown function during global teardown
- when loader is not available during teardown, unset translate handle
function

Related-To: GSD-10147

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-17 15:39:20 +02:00
Bartosz Dunajski
b17fabb120 fix: adjust interupt wait api expectations
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-17 15:30:02 +02:00
Compute-Runtime-Validation
f117b5fb68 Revert "fix: correct loading L0 loader functions"
This reverts commit 9c7b3c5e19.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-10-17 08:20:19 +02:00
Mateusz Jablonski
9c7b3c5e19 fix: correct loading L0 loader functions
on Windows use getModuleHandleA with proper module name
don't load ze_loader.dll from file system

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-16 19:53:05 +02:00
Bartosz Dunajski
52e9a6e07f feature: Initial CB events IPC support
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-16 13:33:59 +02:00
Jaroslaw Warchulski
56c5c78961 fix: correct page alignment calculation in getPageAlignedSizeRequired
In the current implementation, for some data the result is incorrect.
For example for:
size=131073 (64 kB * 2 + 1),
pageSize=65536 (64 kB),
the result should be 196608 (64 kB * 3) instead of 131073.

Related-To: GSD-8948
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2024-10-16 10:15:00 +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
Brandon Yates
6de2f1a9c9 fix: Remove stopped Threads query
Related-to: NEO-12929

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-10-15 23:23:11 +02:00
Jitendra Sharma
9bd4878841 feature: update GRF register implementation
Related-To: NEO-8314
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-10-15 13:47:34 +02:00
Mateusz Jablonski
a149336ea1 fix: add missing return from non-void function
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-15 13:31:25 +02:00