Commit Graph

2873 Commits

Author SHA1 Message Date
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
Compute-Runtime-Validation
d8fbd57847 Revert "feature: enable standalone profiling allocation for CB events 2"
This reverts commit 2b48599c38.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-10-01 04:16:36 +02:00
Mateusz Hoppe
46b78812cc fix: use internal options when native binary is rebuilt from spirv
Resolves: NEO-12838

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-09-30 19:19:31 +02:00
Bartosz Dunajski
b8fd1bda36 feature: use sysInfo helper to detect memory type
Related-To: NEO-12807

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-30 18:19:42 +02:00
Bartosz Dunajski
2b48599c38 feature: enable standalone profiling allocation for CB events 2
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-30 14:57:44 +02:00
Bartosz Dunajski
f02b518674 fix: improve CB event completion writes
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-30 13:12:58 +02:00
Compute-Runtime-Validation
a58e42ef8c Revert "feature: enable standalone profiling allocation for CB events"
This reverts commit f3b266f7b8.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-28 07:51:22 +02:00
Bartosz Dunajski
a7ff04e28f performance: dont pull host allocation each time in the loop 2
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-27 14:39:12 +02:00
Bartosz Dunajski
f3b266f7b8 feature: enable standalone profiling allocation for CB events
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-27 12:59:09 +02:00
Mateusz Jablonski
340a4906a1 fix: fix compilation issues with clang18
- pass aligned memory to std::map::find and std::map::erase functions
- use EXPECT_EQ_VAL when comparing potentially misaligned memory

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-27 09:54:54 +02:00
Bartosz Dunajski
17c27c94e4 performance: dont pull host allocation each time in the loop
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-26 20:04:11 +02:00
Bartosz Dunajski
17a2b36a87 fix: allocation information from standalone profiling CB event
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-26 18:35:06 +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
Damian Tomczak
98b1f8b1fa feature: stateless appendPageFaultCopy
Related-to: NEO-11859

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2024-09-25 11:13:16 +02:00
Damian Tomczak
4d68f1de43 refactor: stateless unification for l0
Related-to: NEO-11859

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2024-09-25 10:01:50 +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
Bartosz Dunajski
2618f586fa fix: copy offload mmio programming
Related-To: NEO-12771

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-24 19:37:58 +02:00
Compute-Runtime-Validation
abcb462ac3 Revert "performance: optimize memory used for scratch programming"
This reverts commit 9b2696a942.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-24 06:52:19 +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
Bartosz Dunajski
65cc393638 feature: allow for dispatching work without event pool allocation
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-23 16:34:03 +02:00