Commit Graph

2892 Commits

Author SHA1 Message Date
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
Mateusz Hoppe
490de13e77 fix: invalidation of texture cache prior to imageCopyToMemory
- when direct submission is enabled and there is kernel writing to image
followed by builtin kernel reading the image texture cache flush is
need to ensure most up-to-date data is read

Related-To: NEO-12827

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-10-11 19:17:20 +02:00
Damian Tomczak
0c8af82d1b fix: stateless suffix for stateless kernels
Resolves: NEO-12847

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2024-10-11 17:40:10 +02:00
Wenbin Lu
a82b5182f6 fix: improve the handling of private surface allocation failures
Related-To: NEO-12664

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2024-10-11 01:18:25 +02:00
Artur Harasimiuk
00aedcaed4 refactor: add NOLINT for pending problems
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-10-10 11:46:35 +02:00
Mateusz Jablonski
3c06b316e6 refactor: remove legacy code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-10 09:54: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
Mateusz Jablonski
8fbe873e1b build: correct setting for i915/xe prelim setting in package scripts
rename i915 flag to uppercase, for consistency
disable i915 / xe prelim by default in package scripts

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-09 15:55:59 +02:00
Mateusz Jablonski
552930a75f fix: don't setup preemption surface when debugger is active
Related-To: NEO-12878
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-08 13:58:11 +02:00
Bartosz Dunajski
69a1afb8b1 fix: disable low power wait for non-interrupt events
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-08 11:23:30 +02:00
Bartosz Dunajski
f117f4c938 refactor: unify event programming methods
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-07 17:58:56 +02:00
Maciej Plewka
73e4b6ae7c fix: remove w/a which disables wmtp in kernels with ray tracing
Related-To: NEO-12872
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2024-10-07 14:28:08 +02:00
Bartosz Dunajski
be3fe79bae feature: enable standalone profiling allocation for CB events 3
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-07 10:07:42 +02:00
Mateusz Jablonski
bbffbd16a0 refactor: remove not needed code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-04 11:59:45 +02:00
Mateusz Hoppe
e240dca7cd refactor: remove inactive code
- verifyDebugCapabilities() did not fail build when debug_env did not have
systemThreadSurfaceAddress defined

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-10-04 11:50:30 +02:00
Brandon Yates
013c49db02 fix: change getBindlessDebugSipKernel to also get heapless sip
Rename function to getDebugSipKernel and select either bindless
or heapless depending on mode

Related-to: NEO-8396

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-10-03 20:47:40 +02:00
Compute-Runtime-Validation
41df1a6f47 Revert "feature: support SVM heap in reserveVirtualMem"
This reverts commit bfaeeb01d6.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-10-03 14:53:50 +02:00
Bartosz Dunajski
5bd012b71c fix: more sync points to clean temp timestamp nodes
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-02 12:45:08 +02:00
Bartosz Dunajski
0ebb9ba45c performance: optimize pipe_control writes for CB events
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-01 18:35:20 +02:00
Bartosz Dunajski
e43afe1f48 fix: appendSignalEvent for standalone CB events
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-01 16:39:19 +02:00
Andrzej Koska
6abc5eb1a1 fix: using releaseHelper to determine MTP enablement
Related-To: NEO-12466

Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2024-10-01 15:06:07 +02:00
Szymon Morek
b2fd1972a4 fix: add cpu alloc to eviction list only once
Related-To: NEO-12572

Also, before migration to GPU domain, remove it from this list

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-10-01 11:47:32 +02:00