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
Dunajski, Bartosz
9c53d9a712
feature: wait only for 1 semaphore in atomic signalling mode
...
Related-To: NEO-7966
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-12-05 12:08:11 +01:00
Dunajski, Bartosz
9cc1a23ab6
fix: Regular Event waits for in-order counter if HW chaining is required
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-12-01 11:17:12 +01:00
Dunajski, Bartosz
41b55eaf77
refactor: improve in-order helper class handling
...
Related-To: NEO-7966
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-12-01 09:59:33 +01:00
Mateusz Jablonski
c9664e6bad
refactor: rename global debug manager to debugManager
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-30 13:00:59 +01:00
Lu, Wenbin
37deaf1ae5
fix: serialize printf kernel accesses using device-wise locks
...
Related-To: LOCI-4114
Signed-off-by: Lu, Wenbin <wenbin.lu@intel.com >
2023-11-27 10:42:51 +01:00
Dunajski, Bartosz
aba1cd8f9c
feature: improve waiting and signaling Events via KMD calls
...
Related-To: NEO-8179
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-11-23 14:53:27 +01:00
Dunajski, Bartosz
c281b66587
feature: disable implicit counter based Events transition in IPC mode
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-11-23 12:12:18 +01:00
Dunajski, Bartosz
9a3fea9849
feature: disable IPC for CB Events
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-11-17 11:27:32 +01:00
Dunajski, Bartosz
3fc3223521
refactor: reduce number of memcpy to event allocation
...
Instead of doing multiple small copies, copy single block only once
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-11-16 13:13:49 +01:00
Dunajski, Bartosz
a0beb96db8
feature: initial support for implicit convertion to CounterBased Events
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-11-08 14:59:12 +01:00
Dunajski, Bartosz
597b3637b3
fix: assign counter based event info in cpu copy path
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-11-08 12:55:25 +01:00
Dunajski, Bartosz
d699cd2a57
feature: experimental Counter Based Event support 2
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-11-06 14:33:10 +01:00
Compute-Runtime-Validation
da9adc6797
Revert "feature: experimental Counter Based Event support"
...
This reverts commit a8c79e0ba1 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-11-03 10:00:52 +01:00
Dunajski, Bartosz
a8c79e0ba1
feature: experimental Counter Based Event support
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-11-02 18:01:44 +01:00
Dunajski, Bartosz
0e2885930b
refactor: pass event copy data as const reference
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-11-02 14:08:26 +01:00
Mateusz Jablonski
6d2d16d68e
fix: avoid overflow of gpu time stamp in ns
...
Related-To: NEO-8394
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-24 14:56:15 +02:00
Mateusz Hoppe
4535b00606
fix: download event allocation in tbx mode
...
- fixes case when event used on non-default csr is synchronized
- all engines are checked - and when any csr used the event download is
called
Related-To: NEO-8312
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-10-23 17:07:20 +02:00
Dunajski, Bartosz
25195ebc96
fix: capability to write memory chunk in aub/tbx mode
...
Related-To: GSD-6604
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-10-19 19:13:11 +02:00
Mateusz Jablonski
4dfa12c8eb
fix: add mechanism to detect gpu timestamp overflows
...
unify naming CpuGpu to GpuCpu
Related-To: NEO-8394
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-19 16:31:06 +02:00
Dunajski, Bartosz
1054d166e2
feature: disallow reset/signal calls on in-order Events
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-10-04 10:35:41 +02:00
Dunajski, Bartosz
135b227c9b
feature: handling in-order Event wait from different Regular CmdList
...
Related-To: NEO-8145
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-10-03 16:47:24 +02:00
Mateusz Jablonski
7531ced0e3
refactor: remove not needed error handling for make_unique
...
make_unique does not return empty object on failure
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-03 10:56:15 +02:00
Mateusz Jablonski
1963ea69e5
fix: add missing member initializations
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-03 08:41:46 +02:00
Dunajski, Bartosz
b4733dedb7
feature: skip not needed event waits in in-order mode
...
Related-To: NEO-7966
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-10-03 08:30:30 +02:00