Compute-Runtime-Validation
87a016a47c
Revert "Use postsync for copy and fill"
...
This reverts commit cffe7f158a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-04-23 04:27:34 +02:00
Aravind Gopalakrishnan
cffe7f158a
Use postsync for copy and fill
...
Related-To: NEO-5968
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-04-22 17:20:27 +02:00
Dominik Dabek
8d1ad5a4f3
Refactor: use stack vector for root device indices
...
Stack vector will not cause dynamic allocations in most circumstances
ie. number of root device indices not more than 16
Related-To: NEO-6837
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-04-14 14:05:42 +02:00
Aravind Gopalakrishnan
8aa2e76173
Allow device allocs for timestamp events
...
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-02-28 15:50:22 +01:00
Compute-Runtime-Validation
e984760423
Revert "Move and extend local memory DRM allocations"
...
This reverts commit b84b0015d5 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-02-22 08:48:46 +01:00
Daniel Chabrowski
b84b0015d5
Move and extend local memory DRM allocations
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-02-21 16:04:53 +01:00
Bartosz Dunajski
4b0d986876
Move AllocationType enum out of GraphicsAllocation class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-04 17:49:09 +01:00
Spruit, Neil R
ae77bd1bd2
Enable Device Memory to be shared in WSL-2 with L0
...
- Add getMemoryManagerType to check which memory manager has been init
to determine if Linux + WDDM memory manager is in use.
- Add isNTHandle to test and verify if a handle is an NT handle during
L0 Open IPC Handle.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2022-01-27 23:14:29 +01:00
Zbigniew Zdanowicz
df6829f361
Use event pool init code for result of event pool api creation function
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-09 16:29:49 +01:00
Mateusz Jablonski
0d74ab8ae8
Correct allocating event pool in device memory
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-13 17:36:46 +02:00
Aravind Gopalakrishnan
e27d8a53a1
Cleanup event class to use function getter/setters
...
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2021-06-10 22:37:35 +02:00
Aravind Gopalakrishnan
71cf6be59e
Use device allocations for events if ZE_EVENT_POOL_FLAG_HOST_VISIBLE is not set
...
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2021-06-08 20:23:15 +02:00
Jaime Arteaga
5e29dccddc
Add IPC events support
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-06-08 08:11:15 +02:00
Bartosz Dunajski
afa461efb0
L0::Event to support dynamic size - part 2
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-05-19 14:00:58 +02:00
Bartosz Dunajski
424b2143da
L0::Event to support dynamic size
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-05-18 13:59:58 +02:00
lgotszal
3bd4bca911
Copyright header update
...
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).
Signed-off-by: lgotszal <lukasz.gotszald@intel.com >
2021-05-17 20:38:19 +02:00
Bartosz Dunajski
015595a3f8
Remove root device index duplicates from Event pool allocation
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-05-12 10:33:58 +02:00
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