Lukasz Jobczyk
f3bbd70a58
fix: Remove fence handling when reuse cmd buffer
...
Resolves: NEO-10163
Related-To: NEO-7116
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-01-26 10:06:24 +01:00
Michal Mrozek
473b892132
fix: choose proper csr for low priority immediate command lists
...
Resolves: NEO-10168
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2024-01-25 15:42:32 +01:00
Kamil Kopryk
fdb5a53f85
fix: fix scratch programming in heapless mode l0
...
Related-To: NEO-10107
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-01-25 10:50:37 +01:00
Kamil Kopryk
bf4cf57001
fix: fix exported function address when heapless mode is enabled in L0
...
Related-To: IGC-8472
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-01-24 17:12:21 +01:00
Mateusz Jablonski
a697a3f718
refactor: create new members for storing spill and private memory in scratch
...
rename private scratch space into scratch space slot 1 as it can be generic
Related-To: NEO-9944
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-01-23 12:42:25 +01:00
Compute-Runtime-Validation
f9f9035b95
Revert "refactor: create new members for storing spill and private memory in ...
...
This reverts commit 87eb5f554a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-01-23 09:13:00 +01:00
Mateusz Jablonski
87eb5f554a
refactor: create new members for storing spill and private memory in scratch
...
rename private scratch space into scratch space slot 1 as it can be generic
Related-To: NEO-9944
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-01-22 19:48:48 +01:00
Maciej Bielski
f7b3b21efe
fix: update build log when program build fails
...
Regression fix.
Resolves: GSD-7621
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-01-22 17:35:29 +01:00
Dunajski, Bartosz
b77e1a6a71
feature: improve reporting max cooperative group count
...
Related-To: NEO-8210
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-01-22 14:56:15 +01:00
Lukasz Jobczyk
7bd33af394
fix: use std::thread detach instead of astd::async for init builtin async
...
Resolves: GSD-7023
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-01-22 13:58:29 +01:00
Dunajski, Bartosz
6f4ed10919
refactor: unify getMaxWorkGroupCount logic
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-01-22 11:16:45 +01:00
Maciej Bielski
134c718a25
fix: support zeEventPool IPC handles from single process
...
For all execution paths where needed, use `BufferObjectHandleWrapper`
instances for registration of BO-handles and try to obtain shared
ownership. This allows both sides of IPC communication to be implemented
in the same process and avoid the double-free problem on a BufferObject
of the same handle.
Currently there are two pairs of such calls:
* `zeEventPoolGetIpcHandle()` + `zeEventPoolOpenIpcHandle()`
* `zeMemGetIpcHandle()` + `zeMemOpenIpcHandle()`
The capability of executing both sides from the same process is useful
for testing but not only.
Related-To: NEO-9837
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2024-01-19 14:49:38 +01:00
Dominik Dabek
e0ccf22557
fix: indirect access in external functions
...
Read indirect_stateless_count in module external functions.
If greater than 0, mark all kernels that have the has_stack_calls flag
set from this module as having indirect accesses.
Related-To: NEO-7712
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-01-18 15:29:41 +01:00
Dunajski, Bartosz
e354c01acc
feature: allow waiting for standalone CB Event
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-01-16 11:59:46 +01:00
John Falkowski
10ef2a28ff
fix: correct for default hierachry
...
Resolves: NEO-10006
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2024-01-15 22:15:49 +01:00
Dunajski, Bartosz
dfc69c746a
feature: create InOrderExecInfo for standalone CB Event
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-01-15 16:56:52 +01:00
Dunajski, Bartosz
9309d7d865
feature: initial support of zexCounterBasedEventCreate 2
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-01-15 11:47:36 +01:00
Compute-Runtime-Validation
1cc4c6c10f
Revert "feature: initial support of zexCounterBasedEventCreate"
...
This reverts commit d8f8b70dd7 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-01-15 05:41:10 +01:00
Dunajski, Bartosz
d8f8b70dd7
feature: initial support of zexCounterBasedEventCreate
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-01-12 15:11:00 +01:00
Warchulski, Jaroslaw
d1061cd923
fix: don't unregister csr clients in EventImp::reset()
...
Related-To: GSD-7129
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2024-01-12 14:35:20 +01:00
Dominik Dabek
b3b402cad2
feature(zebin): read indirect detection version
...
Read indirect detection version intel compat notes from zebin.
This is to prepare for enabling indirect access optimization in AOT
built kernels.
Related-To: NEO-7712
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-01-12 14:20:52 +01:00
Fabian Zwolinski
a3bd629aff
fix: store image implicit args in bindless slot 1
...
bindless slot 0: image
bindless slot 1: image implicit args
bindless slot 2: redescribed image
Redescribed image moved one slot higher.
Separate allocation is created for new bindless slot.
Related-To: NEO-9740
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2024-01-12 13:09:06 +01:00
Dunajski, Bartosz
aaef241111
refactor: allow creating Event without pool object
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-01-12 10:08:17 +01:00
Lu, Wenbin
0db5b630c9
fix: do not force root device when opening IPC handles
...
Related-To: NEO-9422
Signed-off-by: Lu, Wenbin <wenbin.lu@intel.com >
2024-01-12 09:38:57 +01:00
Fabian Zwolinski
903e581b5f
fix: add support for bindless implicit args
...
Support for:
global_base and const_base in bindless addressing mode.
Related-To: NEO-9855
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2024-01-12 01:27:17 +01:00
Dunajski, Bartosz
6abce2b29d
feature: zexEventGetDeviceAddress support
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-01-11 16:22:11 +01:00
Dunajski, Bartosz
b9fe6a3f18
feature: allow patching CB Events on non-inOrder regular cmd lists
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-01-11 15:19:45 +01:00
Dunajski, Bartosz
b18acc26b7
feature: new API to create and export counter-based Event
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-01-11 09:42:38 +01:00
Mateusz Jablonski
a73fb4d2fe
fix: correct reporing kernel private size on L0
...
unify the logic across APIs
Related-To: NEO-9944
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-01-09 09:54:05 +01:00
Dunajski, Bartosz
2082038475
fix: fallback empty counter based pool flags to immediate mode
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-01-05 19:05:40 +01:00
Mateusz Hoppe
425ae43ed1
feature: use high priority csr from secondary contexts
...
Related-To: NEO-7824
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-01-05 08:26:11 +01:00
Dunajski, Bartosz
57900c5455
refactor: improve single slice dispatch mode handling
...
Related-To: NEO-8210
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-01-04 15:24:09 +01:00
Lukasz Jobczyk
d472cf0a5d
fix: Restore handle fence completion when reusing cmd buffer
...
Related-To: NEO-7116
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-01-04 12:11:39 +01:00
Dunajski, Bartosz
cd7775f4e2
refactor: add helper to get cmd list type
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-01-04 10:20:34 +01:00
Dunajski, Bartosz
9d1837fd7e
feature: counter based events flags error handling
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-01-04 09:23:52 +01:00
Dunajski, Bartosz
c03fe171f8
fix: add missing API to extension lookup map
...
Related-To: NEO-7966
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-01-03 16:44:39 +01:00
Dunajski, Bartosz
144a78019f
feature: initial support for counter based event flags 2
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-01-03 10:01:27 +01:00
Compute-Runtime-Validation
7fa29ba8b5
Revert "feature: initial support for counter based event flags"
...
This reverts commit f530cf3cc2 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-12-30 00:25:47 +01:00
Dunajski, Bartosz
f530cf3cc2
feature: initial support for counter based event flags
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-12-29 13:59:21 +01:00
Mateusz Hoppe
31e9b5e9fa
feature: add support for secondary contexts in group
...
Related-To: NEO-7824
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-12-28 13:31:08 +01:00
Dunajski, Bartosz
8ca8d72a4c
fix: remove explicit template instantiation
...
Related-To: NEO-9888
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-12-28 11:29:03 +01:00
Dunajski, Bartosz
8360d90fa3
refactor: improve PostSync handling
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-12-27 15:29:50 +01:00
Dunajski, Bartosz
df66a0276f
refactor: remove not used logic to check dynamic postsync layout
...
Related-To: NEO-8210
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-12-27 13:12:11 +01:00
Compute-Runtime-Validation
f2c9d7172a
Revert "fix: store image implicit args in bindless slot 1"
...
This reverts commit b6d572ddb8 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-12-23 12:01:42 +01:00
Dominik Dabek
239831f097
fix: return error for 0 size usm allocations
...
according to both level zero and opencl specs, usm allocations with
size=0 should return invalid/unsupported buffer size errors
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-12-22 17:26:39 +01:00
Dunajski, Bartosz
d6560c5bba
refactor: pass additional in-order params to PatchCmd helper
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-12-21 19:21:56 +01:00
Mateusz Jablonski
a4888b39c6
build: add clang-tidy restriction for Enum case
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-21 08:58:51 +01:00
Dunajski, Bartosz
f17f45d63f
feature: initial support for patching region params
...
Related-To: NEO-8070
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-12-20 21:38:39 +01:00
Mateusz Hoppe
c90dab7a2d
feature: introduce highPriority engine usage
...
Related-To: NEO-7824
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-12-20 20:59:43 +01:00
Fabian Zwolinski
b6d572ddb8
fix: store image implicit args in bindless slot 1
...
bindless slot 0: image
bindless slot 1: image implicit args
bindless slot 2: redescribed image
Redescribed image moved one slot higher.
Separate allocation is created for new bindless slot.
Related-To: NEO-9740
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-12-20 19:09:14 +01:00