Kamil Kopryk
2c77d2c698
refactor: add SetMaxBVHLevels debug flag
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2025-03-14 16:59:48 +01:00
Kamil Kopryk
c23f3c0666
fix: correct programming inline samplers with bindless addressing L0
...
Related-To: NEO-14216
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2025-03-12 09:01:29 +01:00
Mateusz Hoppe
7aee5e1b7e
refactor: extend patchRegionParams with group count
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-02-27 11:54:18 +01:00
Compute-Runtime-Validation
9785e5c11e
Revert "feature: update base layout of L0 handles to match ze_handle_t layout"
...
This reverts commit 276c606329 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-02-26 02:37:14 +01:00
Mateusz Hoppe
291745cdf7
feature: add support for ImplicitArgs versioning
...
- define ImplicitArgs version 1
Related-To: NEO-14115
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-02-25 10:27:11 +01:00
Mateusz Jablonski
276c606329
feature: update base layout of L0 handles to match ze_handle_t layout
...
this layout is required by L0 DDI Handle extension
Related-To: NEO-13121, NEO-13917
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-02-25 01:23:43 +01:00
Filip Hazubski
6b2b42972a
fix: Add asserts to ensure NonCopyable and NonMovable 1/n
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2025-02-18 09:41:20 +01:00
Zbigniew Zdanowicz
9419e702cc
fix: zero kernel residency container for shared system usm pointers
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2025-02-05 19:07:07 +01:00
Zbigniew Zdanowicz
4c47364dfd
refactor: add getter to read kernel argument values
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2025-01-31 13:30:48 +01:00
Zbigniew Zdanowicz
621ceaf9ec
feature: add new properties and getters for kernel slm arguments
...
- add new vector to read slm offset
- add getter to read new vector
- add getter to read slm argument alignment
- add getter to read slm sizes vector
Related-To: NEO-12933
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2025-01-15 14:23:04 +01:00
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
Kamil Kopryk
b724c964fc
performance: reserve vector before push_back's
...
Related-To: NEO-12742
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-12-18 10:07:56 +01:00
Kamil Kopryk
3be52fa1d0
refactor: Add ult with check if bindless ss is patched correctly
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-12-18 09:30:13 +01:00
Zbigniew Zdanowicz
56b15f17f7
refactor: unify further calculation to get max work group count
...
- move available device calculcation into common helper
- change interface to have code available where no descriptor is available
- expand unit test for implementation of new inteface
Related-To: NEO-13350
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-11-29 17:51:05 +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
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
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
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
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
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
Zbigniew Zdanowicz
672d8414f5
fix: remove not needed macro
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-09-19 17:01:17 +02:00
Fabian Zwoliński
a6ddb61a5f
fix: consider only misaligned buffers in getSurfaceStateHeapDataSize
...
Adding checking for the presence of implicit args
was only a workaround for the time of implementing
support for bindless `const_base`, `global_base` in IGC.
Related-To: NEO-9855, NEO-7063
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com >
2024-09-18 13:13:02 +02:00
Bartosz Dunajski
b8fb16c603
fix: initialize kernel members at the beginning
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-09-18 11:13:35 +02:00
Zbigniew Zdanowicz
7e00590994
performance: get work group count per tile value when setting new group size
...
- change interface to function to accept external group size
Related-To: NEO-12639
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-09-16 10:45:01 +02:00
Mateusz Hoppe
7cd9a2aa60
refactor: change name of variable
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-09-13 03:06:44 +02:00
Bartosz Dunajski
4f1262645b
refactor: pass extra walker params
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-09-10 15:30:03 +02:00
Filip Hazubski
beaddb55e0
fix: Minor code changes
...
Remove needless checks for module and cmdList.
Add explicit check for surfaceState in setArgImageWithMipLevel.
Explicitly initialize WddmResidencyController::csr.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-09-10 13:31:15 +02:00
Zbigniew Zdanowicz
0628d97ee1
feature: update processing kernel residency
...
- save position of kernel internal container when allocation can change
- reuse the same position when new allocation arrives
- add index container for additional allocation of image argument
- save position of additional allocation of image argument
- reuse position when for new image argument
Related-To: NEO-11719
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-09-09 14:10:02 +02:00
Fabian Zwoliński
38e1614f4a
fix: create and use new allocation type for syncBuffer
...
Related-To: NEO-11533
Related-To: HSD-18039788811
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com >
2024-09-06 14:11:33 +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
7adfa344c0
performance: get reference from getBindlessInfo
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-03 12:50:52 +02:00
Mateusz Hoppe
d5e275cb49
performance: optimize surface state programming
...
- eliminate read-modify-write on gfx memory when global bindless mode
enabled
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-09-02 15:31:30 +02:00
Fabian Zwoliński
6a50320f3c
fix: use gpuAddress when patching sync buffer
...
Related-To: NEO-11533
Related-To: HSD-18039788811
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com >
2024-08-28 17:47:35 +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 Hoppe
c9e8931a18
fix: global bindless offsets for implicit args
...
- do not patch bindless offsets for implicit args in with global bindless
allocator, the offsets are patched at kernel initialization time and
do not change
Related-To: NEO-7063
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-08-23 13:21:27 +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
Dominik Dabek
ad229377b9
fix: disable indirect detection if any stack calls
...
Don't know if kernels will be initialized in the order needed to check
for indirect accesses in stack calls.
Remove now unused functionPointerWithIndirectAccessExists and reading
this value from zebin.
Related-To: NEO-12235
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-08-07 14:48:58 +02:00
Fabian Zwoliński
b1a50104a8
fix: include dynamic SLM in clGetKernelWorkGroupInfo and zeKernelGetProperties
...
Current implementation only takes static slmInlineSize into account.
With this change we also include dynamic SLM passed as a kernel arguments.
Related-To: NEO-5761
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com >
2024-07-30 17:59:45 +02:00
Zbigniew Zdanowicz
42bf58a800
refactor: do not add all mapped physical allocations to kernel residency
...
Related-To: NEO-11719
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-07-24 15:43:48 +02:00
Zbigniew Zdanowicz
1c1e437d4b
refactor: split kernel residency into internal and argument containers
...
Related-To: NEO-11719
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-07-23 17:22:16 +02:00
Zbigniew Zdanowicz
f61ab615e7
refactor: do not add bindless heaps to kernel residency
...
Related-To: NEO-11719
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-07-22 22:44:30 +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
692def2c79
feature: region group barrier allocation support
...
Related-To: NEO-11031
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-06-03 18:34:54 +02:00
Zbigniew Zdanowicz
3e1d276233
fix: add missing new line character in print log
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-05-23 17:51:15 +02:00
Zbigniew Zdanowicz
294c3b77ba
refactor: add level zero console logging for kernel buffer arguments
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-05-23 11:01:38 +02:00
Dominik Dabek
ae8c7589dc
refactor: move implicit arg has indirect access
...
Move implicit arg has indirect access boolean to kernelAttributes
Related-To: NEO-11396
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-05-15 13:11:04 +02:00
Dominik Dabek
fd47030ad6
fix: use igc indirect detection v3
...
Update to use igc indirect detection v3. Fix for not detecting indirects
passed as implicit arguments.
Related-To: NEO-11396
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-05-15 06:35:42 +02:00