Bartosz Dunajski
3a73fcd7c8
fix: use correct immediate write offset for in-order counter
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-05-21 17:21:03 +02:00
Bartosz Dunajski
95b7929d97
fix: disable TBX writable mode after chunk write
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-05-17 11:04:50 +02:00
Bartosz Dunajski
21114ddc03
feature: make CB event initially signaled
...
Related-To: NEO-11378
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-05-14 17:05:32 +02:00
Bartosz Dunajski
536698d276
fix: add profiling data to host signalled CB Event
...
Related-To: NEO-11378
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-05-10 11:16:20 +02:00
Bartosz Dunajski
e5882e0d31
feature: pass GraphicsAllocation to fence wait
...
Related-To: NEO-8179
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-05-07 17:59:28 +02:00
Szymon Morek
83e8ae4a20
performance: Reuse GPU timestamp instead of KMD escape
...
This can be enabled only if related
debug flag will be set.
Related-To: NEO-10615
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-05-06 14:46:30 +02:00
Bartosz Dunajski
806da85ec6
refactor: prework to pass interrupt hint
...
Related-To: NEO-8179
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-04-29 11:14:53 +02:00
Naklicki, Mateusz
a8e9246f65
performance: use stack vector to create packet init data
...
Resolves: HSD-18037972803, HSD-18038028881
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-04-26 14:53:29 +02:00
Bartosz Dunajski
2a2596c13b
refactor: pass additional data to ioctl helper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-04-26 14:53:14 +02:00
Michal Mrozek
4aa7c6c99e
performance: optimize counter based waiting schemes
...
- store latest waited counter value.
- do not wait on values that are already completed.
- disable mechanism when counter overflows.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2024-04-25 17:20:29 +02:00
Bartosz Dunajski
dd6040ab6e
refactor: improve exp extension names
...
Related-To: NEO-8179
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-04-18 11:09:23 +02:00
Bartosz Dunajski
cd563c2761
feature: assign external interrupt id to Event
...
Related-To: NEO-8179
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-04-17 14:52:12 +02:00
Naklicki, Mateusz
4e6b8a2c90
fix: create buffer with proper size for event packets
...
Related-To: HSD-18037791927
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-04-16 14:31:22 +02:00
Mateusz Jablonski
cb2b572e94
feature: add support for null aub mode
...
In this mode AUB csr will be created, however, no aub file will be created
Related-To: NEO-11097
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-04-09 16:59:42 +02:00
Naklicki, Mateusz
5a9853c7d0
fix: properly initialize data for event packets
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2024-04-02 17:20:47 +02:00
Mateusz Jablonski
78a4a92b44
refactor: reorder members to reduce internal padding in structs
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-25 15:50:00 +01:00
Zbigniew Zdanowicz
2d5d5ec768
fix: correct event host signaling in tbx mode
...
Related-To: NEO-10065
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-03-05 08:59:47 +01:00
Dunajski, Bartosz
bbe1043f08
feature: initial support for pooling in-order counter allocations
...
Related-To: NEO-10507
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-03-01 12:08:02 +01:00
Zbigniew Zdanowicz
ce216eacf4
refactor: add kernel count setter to level zero event
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-02-29 15:07:27 +01:00
Zbigniew Zdanowicz
61d1fb9ef6
refactor: unify getter of event packets to wait
...
Related-To: NEO-10065
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-02-29 14:43:55 +01:00
Dunajski, Bartosz
9d2a914b03
fix: unregister csr clients during Event reset
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-02-29 08:44:20 +01:00
Michal Mrozek
9f1648b57a
fix: use non zero value for event completion.
...
upon device reset memory gets reset to 0, which can cause
false event completion.
Related-To: NEO-7765
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2024-02-22 18:50:45 +01:00
Dunajski, Bartosz
8dc3364d56
fix: append paths for standalone CB Event
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-02-16 18:14:31 +01:00
Yoon, Young Jin
22f761b4eb
feature: Add introspection APIs for event
...
Added entrypoints for all event-related introspection APIs
and implemented corresponding functions in Event and EventPool.
Modified Event to record its EventPool upon creation.
Related-To: NEO-10265
Signed-off-by: Yoon, Young Jin <young.jin.yoon@intel.com >
2024-02-07 11:48:28 +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
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
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
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
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
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
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
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
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
Mateusz Jablonski
138fb65401
refactor: correct naming of enum class constants 11/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-19 14:52:57 +01:00
Dunajski, Bartosz
9121209c41
feature: api support for Event sync mode
...
Related-To: NEO-8179
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-12-12 09:42:57 +01:00
Dunajski, Bartosz
717bc0c03f
refactor: pass InOrderExecInfo to encode method
...
Related-To: NEO-7966
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-12-11 16:43:30 +01:00
Mateusz Jablonski
b182917d9d
refactor: correct naming of allocation types
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-11 16:23:37 +01:00
Compute-Runtime-Validation
33a36e5e56
Revert "feature: api support for Event sync mode"
...
This reverts commit 156154813a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-12-11 14:08:19 +01:00
Dunajski, Bartosz
5eda5f2488
refactor: move in-order allocation offset to helper class
...
Related-To: NEO-7966
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-12-11 13:11:42 +01:00
Dunajski, Bartosz
156154813a
feature: api support for Event sync mode
...
Related-To: NEO-8179
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-12-08 19:17:13 +01:00
Dunajski, Bartosz
8b58cbbad8
feature: create duplicated storage for in-order counter
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-12-08 18:19:03 +01:00
Joshua Santosh Ranjan
b5ac2cb6b4
feature: Improve Metric Notification
...
Use common notification structure
Related-To: NEO-8562
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2023-12-07 21:39:00 +01:00