Bartosz Dunajski
cffac84a3b
Simplify creating EventPool allocation
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-05-11 18:26:54 +02:00
Compute-Runtime-Validation
dd6653892e
Revert "Move SVM allocs memory manager to L0::Context (1/N)"
...
This reverts commit 9080e2ee5b .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-05-09 12:37:44 +02:00
Jaime Arteaga
9080e2ee5b
Move SVM allocs memory manager to L0::Context (1/N)
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-05-07 22:17:10 +02:00
Jaime Arteaga
5f0e4f8e2a
Revert "Move memory managers to L0::Context (1/N)"
...
This reverts commit 9ce887b8b53a787a7e0a0d808c96e295655ae57b.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-05-06 04:56:09 +02:00
Jaime Arteaga
1f1fbb193b
Move memory managers to L0::Context (1/N)
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-05-05 23:01:42 +02:00
Vinod Tipparaju
b5d2d7fc52
Use flushTask() for non-kernel opertaions. Enabled for following APIs
...
appendSignalEvent, appendWaitOnEvent, appendResetEvent and appendBarrier
except for TimeStamp events.
Related-To: LOCI-1987
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2021-04-19 22:24:47 +02:00
Daria Hinz
b18b4e8ad7
Event: Extending the number of timestamp packets
...
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2021-04-17 20:13:15 +02:00
Jaime Arteaga
ebb1474210
Isolate shared allocations with respect to context
...
Related-To: LOCI-1996
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-04-17 03:38:46 +02:00
Jaime Arteaga
c540af8e5f
Fix multidevice support for events
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-04-15 22:12:07 +02:00
Zbigniew Zdanowicz
b9ed7de40a
Parametrize wait operation
...
Related-To: NEO-4759
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-03-31 15:12:59 +02:00
Bartosz Dunajski
0bc04f3c31
Refactor TimestampPackets class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-29 10:26:32 +02:00
Bartosz Dunajski
5a50ad098c
Refactor TagAllocator
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-26 15:16:56 +01:00
Aravind Gopalakrishnan
e977de564c
Add L0 event ULTs (2)
...
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2021-03-24 17:11:15 +01:00
Bartosz Dunajski
3dc3ad36f8
Refactor TimestampPacket class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-22 17:42:41 +01:00
Krzysztof Gibala
4abe4a96b8
Add multiGraphicsAllocation to CSR
...
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2021-03-10 12:42:01 +01:00
Aravind Gopalakrishnan
db892eaa95
Revert "Use device allocation for events if host visibility not set"
...
This reverts commit b204a4f135 .
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2021-03-05 03:31:17 +01:00
Zbigniew Zdanowicz
24b928303b
Rename fields in AllocationProperties
...
Related-To: NEO-5498
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-03-02 18:32:37 +01:00
Zbigniew Zdanowicz
3e4be8d78e
Add new allocation type
...
Related-To: NEO-5244
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-02-26 12:57:12 +01:00
Daria Hinz
13fe8ed7f1
Revert "Correct POST_SYNC for L0 Events"
...
This reverts commit 04d1a3255357a7778a530f054700e211d94f3b6d.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2021-02-24 10:16:22 +01:00
Daria Hinz
64d772d366
Fix for adding MI_SEMAPHORE_WAIT & reset L0 Event
...
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2021-02-18 18:33:21 +01:00
Aravind Gopalakrishnan
b204a4f135
Use device allocation for events if host visibility not set
...
Related-To: LOCI-1684
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2021-02-09 16:12:24 +01:00
Daria Hinz
5a05d7643c
Correct event reset
...
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2021-01-20 19:22:07 +01:00
Daria Hinz
4591101541
Implementation of profiling for copy/fill API's
...
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2021-01-07 09:43:00 +01:00
Mateusz Jablonski
1b7d7afc07
Refactor USM properties
...
store reference to std of root device indices and device bitfields
store NEO::Device in USM properties
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-30 11:36:56 +01:00
Daria Hinz
1ef9a1c35f
Add extended functionality for timestamps at Event
...
Related-To: NEO-4584
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2020-12-17 10:53:16 +01:00
Aravind Gopalakrishnan
223de6dd8c
Revert "Use device allocation for events if host visibility not set"
...
This reverts commit 2c312bc70a .
Reverting due to failures in CI
2020-11-20 21:21:11 +01:00
Aravind Gopalakrishnan
2c312bc70a
Use device allocation for events if host visibility not set
...
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2020-11-19 22:51:04 +01:00
Mrozek, Michal
f53a6acb7f
Revert "Use device allocation for events if host visibility not set"
...
This reverts commit 27e2c32daa .
Change-Id: I8035aad67a1aa1ed37d95a9bcd4354a64d75ac07
2020-10-26 00:21:27 -07:00
Aravind Gopalakrishnan
27e2c32daa
Use device allocation for events if host visibility not set
...
Change-Id: I244cfd617ae77a88dd2f4e5818d39ac7e658b216
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com >
2020-10-23 22:28:45 +02:00
Jaime Arteaga
6614698997
Add multi-device support to events
...
Change-Id: I544d2409fa5ad7c2b64f7bfd081469e80d4f9c73
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-10-15 12:54:51 -07:00
Michal Mrozek
b9b01c09bc
Remove incorrect code.
...
- we always need to flush the cache.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
Change-Id: I348d04649b8c01a6fb9ec29a15fd0a77f0b2aec2
2020-09-07 17:29:14 +02:00
Kamil Diedrich
57269b97a3
Use global timestamps instead of local
...
Change-Id: Ie39b242915a55aef60fcf7164199647299c91a21
2020-09-03 16:39:36 +02:00
Vinod Tipparaju
083edd1a3e
Thread safety violation fixes - Events & USM
...
Change-Id: I57de59f204d9fd4407be768d0b14bf579dae967d
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2020-09-03 08:54:34 +02:00
Aravind Gopalakrishnan
3b6786aeb9
Remove dead code
...
Change-Id: Ifbf2c85aabfeb8c14d946753c61a22ce6a8d2685
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com >
2020-09-02 20:49:19 -07:00
Jaime Arteaga
902fc2f6c4
level-zero v1.0 (2/N)
...
Change-Id: I1419231a721fab210e166d26a264cae04d661dcd
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
Signed-off-by: macabral <matias.a.cabral@intel.com >
Signed-off-by: davidoli <david.olien@intel.com >
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com >
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
Signed-off-by: Latif, Raiyan <raiyan.latif@intel.com >
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2020-08-03 13:11:13 +02:00
Kamil Diedrich
c01e84216f
Add implementation of queryKernelTimestamp
...
Change-Id: Ic017c3f94ba67774d1e1f6c5e9ad7b9237591ecd
2020-07-29 17:00:28 +02:00
Robert Krzemien
f87f05bf8d
Metric Api: Renamed MetricTracer to MetricStreamer
...
Change-Id: I7de16b230685201b0f91b227f17713c3cd49d497
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com >
2020-07-28 11:21:10 +02:00
Jaime Arteaga
59d679dfd5
Evict event allocations
...
Change-Id: Icf6c602e296a19af1f9a602cf19455d7124ffc9c
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-16 12:06:21 +02:00
Vinod Tipparaju
f3f464801c
Refactor Event class to make it thread safe
...
Change-Id: Iabda4500bc4ab7e91a7af396669d3b74f7336132
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2020-07-13 15:05:55 +02:00
Andrzej Swierczynski
77f50e5444
Always pass device bitfield to AllocationProperties in constructor
...
Related-To: NEO-4722
Change-Id: Ie2475bf92a3189bcb9073bec5bf5af709e597c5d
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com >
2020-07-13 09:00:10 +02:00
Lukasz Jobczyk
ff0add74e3
Add alternative residency model on Linux
...
Related-To: NEO-4732
Change-Id: I79e165d2b647af200ca314e1183ecf05903de644
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-07-10 12:38:57 +02:00
Aravind Gopalakrishnan
6ee7c6d77c
Use correct allocation type for timestamp events
...
Change-Id: I82dc122fd78045d548f95262c2155eab1b1eae39
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com >
2020-06-02 12:24:12 +02:00
Jaime Arteaga
b2688554ce
Correct alignment of events
...
Change-Id: I967bb5e201df5b881c4d1914d74258e6ceda373f
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-05-19 23:27:22 -07:00
Mateusz Hoppe
ac426b5108
TBX csr downloads allocations on queryStatus calls
...
Change-Id: I57fd98f4227b6d03430db6b96cfd21dd726919a3
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-05-13 16:28:19 +02:00
Aravind Gopalakrishnan
d176462fb0
Use memcpy for getting and setting event values
...
Direct pointer dereference may not yield expected results
Change-Id: I872dd837ae21bc8a0e1833527cc9a8791cad5295
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com >
2020-05-07 16:03:16 -07:00
Aravind Gopalakrishnan
b42d789e04
Fix event sizing for kernel timestamps
...
Standardize the format for kernel timestamps
and logic used to read the data.
Change-Id: I9418c2e09987dc778302026b705d056c84996983
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com >
2020-05-05 00:34:59 +02:00
Jim Snow
2dbffe8b64
Allow zeEventPoolCreate with no device
...
We use the first device associated with the driver when no device
is explicitly provided.
Event pools are no longer created via a device method.
Change-Id: Ib16dc79be3ceb1f822c7c1dace7264a0052a6593
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2020-04-24 00:55:32 +02:00
Spruit, Neil R
e01b9e0c86
Updated events to store CommandStreamReceiver at init
...
- Updated Event Class to store a pointer to the associated device's command
stream receiver to use during query status and host synchronize
Change-Id: I130df8541ca6a13396669c75fefd135d5ad1ef7d
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2020-04-23 19:18:55 +02:00
Aravind Gopalakrishnan
71ff85cf2c
Complete kernel prior to timestamp capture
...
While at it, fix event flag check upon creation
Change-Id: I2c57b0e20141fc38a4de695cae79bf2f14dd6cdd
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com >
2020-04-17 20:43:38 +02:00
Filip Hazubski
d0527e1049
Rename memory_constants.h to constants.h
...
Change-Id: I05b5d20bac12935dc6625b94adc3a03c98c19b49
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-04-02 14:19:39 +02:00