Katarzyna Cencelewska
59683ec491
Remove device enqueue part 6
...
- isParentKernel, peekParentKernel, parentKernel
- structs: AUBParentKernelFixture, MockParentKernel,
ParentKernelCommandQueueFixture
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-17 13:56:29 +01:00
Katarzyna Cencelewska
a9ebb49fb5
Remove device enqueue part 1
...
Remove:
-tests with matcher for device enqueue
-classes: MockDeviceQueueHw, DeviceQueueHw, SchedulerSimulation,
DeviceQueueHwTest, KernelArgDevQueueTest
-functions: forceDispatchScheduler, processDeviceEnqueue, dispatchScheduler
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-11 15:29:49 +01:00
Filip Hazubski
5be4d89b73
Rename function
...
Rename MemorySynchronizationCommands::isDcFlushAllowed
to MemorySynchronizationCommands::getDcFlushEnable
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-30 17:03:22 +01:00
Lukasz Jobczyk
418a8854b2
Skip timestamp wait when enqueue non kernel operation
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-30 10:02:07 +01:00
Lukasz Jobczyk
95585a81f7
Optimize timestamp packet dependencies
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-30 09:48:36 +01:00
Lukasz Jobczyk
14e338e669
Revert "Optimize timestamp packet dependencies"
...
This reverts commit c365b422963917e7b882f9db985969c036f0fa3f.
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-23 14:29:29 +01:00
Filip Hazubski
f4c151cce5
Refactor PipeControlArgs struct
...
Remove struct PipeControlArgsBase
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-22 17:13:16 +01:00
Filip Hazubski
0fd685541d
Add isDcFlushAllowed function to HwInfoConfig
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-21 18:29:43 +01:00
Filip Hazubski
6d439f88bb
Explicitly set dcFlushEnable value
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-21 12:21:11 +01:00
Bartosz Dunajski
fe8cb190bc
Remove deprecated code
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-14 11:36:10 +01:00
Zbigniew Zdanowicz
01348451db
Add multi tile barrier to marker command on multi tile device
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-13 18:14:39 +01:00
Lukasz Jobczyk
0c49fa8203
Add missing cache flush for blocked path
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-07 12:36:34 +01:00
Maciej Dziuban
e3bb526067
Optimize timestamp packet dependencies
...
- Clear dependencies even if last engine changed
- Do no program semaphore waiting for blit when blit is submitted with gpgpu
- Track barrier timestamps to correctly synchronize blits in OOQ
Related-To: NEO-6444
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-12-07 11:47:50 +01:00
Lukasz Jobczyk
09d2ffb9ed
Add missing cache flush
...
Resolves: NEO-6505
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-06 17:28:12 +01:00
Zbigniew Zdanowicz
61641bb70a
Add implicit barriers capability to opencl
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-10 08:19:50 +01:00
Kamil Diedrich
5fdcb14d57
WSL fallback to staging buffer on blocking reads
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-10-28 03:34:58 +02:00
Filip Hazubski
28b37aea72
Correct handling unique_ptr in functions
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-10-21 18:17:14 +02:00
Mateusz Jablonski
ec1e39bab8
Move OCL specific part of FileLogger to ClFileLogger
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-11 23:55:08 +02:00
Rafal Maziejuk
eccebfb49d
Fix typo 2/n
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2021-10-07 21:42:49 +02:00
Konstanty Misiak
684b9e5f51
Fix missing submit time calculation
...
Related-To: NEO-5799
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2021-10-05 12:58:04 +02:00
Zbigniew Zdanowicz
96fef37834
Move shared local work size code to shared directory
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-10-04 14:04:28 +02:00
Maciej Dziuban
c04f8e5e5b
Pass copy engines to waitUntilComplete in OpenCL command queue
...
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-09-24 14:11:44 +02:00
Mateusz Jablonski
80b49e4a47
Create ClPreemptionHelper
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-09-23 10:15:58 +02:00
Maciej Dziuban
6d1e048327
Rename an overload of waitUntilComplete to waitForAllEngines
...
- Overloaded functions were quite different, they should have different names
- waitForLatestTaskCount function was redundant and hence its body was moved
inside waitForAllEngines
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-09-23 09:43:11 +02:00
Maciej Dziuban
04b6a604ec
Refactor BCS in OpenCL CommandQueue
...
- use CopyEngineState class to hold task count and engine type
- pass engine type to updateBcsTaskCount
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-09-22 10:39:46 +02:00
Maciej Dziuban
c7d86af500
Pass blitter CSR to event
...
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-09-15 12:49:22 +02:00
Maciej Dziuban
858727010f
Add selectCsrForBuiltinOperation method to OpenCL CommandQueue
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-6057
2021-09-10 12:26:47 +02:00
Maciej Dziuban
3e6b3cd780
Revert "Create single point for selecting engine for builtin ops"
...
This reverts commit 6513bd371a69cb821ea45c7c1964ea1f51dd75b2.
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-09-02 11:58:46 +02:00
Maciej Dziuban
33ac15dabe
Pass blitter CSR in blocked queue scenarios
...
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-08-31 16:29:17 +02:00
Maciej Dziuban
a03b5f8a95
Create single point for selecting engine for builtin ops
...
- selectCsrForBuiltinOperation selects proper CSR
- selected CSR is passed to dispatchBcsOrGpgpuEnqueue
- Notifications such as notifyEnqueueReadBuffer are now made on correct engine
- Temporary allocs for hostptrs are now created on gpgpuCsr
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-08-31 13:29:17 +02:00
Maciej Dziuban
42524b6bef
Limit usage of getBcsCommandStreamReceiver()
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-08-27 12:15:30 +02:00
Maciej Plewka
096373ffe0
Dont use gpu time in submited timestamp for non blocking enqueue
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-08-17 19:00:44 +02:00
Konstanty Misiak
ad19eda689
Fix event profiling for marker commands
...
Related-To: NEO-5799
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2021-08-13 15:02:01 +02:00
Milczarek, Slawomir
eb14d8458b
Add helper function to enable stateless compression
...
Related-To: NEO-5107
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-08-02 14:34:33 +02:00
Lukasz Jobczyk
9e50138829
Defer ULLS initialization
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-07-21 15:55:16 +02:00
Maciej Plewka
dfe578754b
Fix add pipe controll before marker profiling
...
Resolves: NEO-6065
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-07-20 16:23:57 +02:00
Mateusz Jablonski
6f3c89decb
Add mechanism to migrate multi root device memory
...
invalidate TLB cache if kernel requires migration
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-07-19 19:49:22 +02:00
Michal Mrozek
ad3855ceb3
Revert "Fix event profiling for marker commands"
...
This reverts commit 5f0167b477993f3ebc804c53a110bc432638615b.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2021-07-01 08:01:33 +02:00
Konstanty Misiak
1df1094465
Fix event profiling for marker commands
...
Related-To: NEO-5799
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2021-06-30 14:56:39 +02:00
Bartosz Dunajski
5fbf084c41
Dont access PrintfHandler after move operation
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-06-28 13:57:42 +02:00
Bartosz Dunajski
e1f42c2ae1
Remove TSP atomic dependency tracking
...
This reverts commit d17668f023bee409ee68e766bbc7d5f16ce8d52b.
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-06-23 16:59:41 +02:00
Bartosz Dunajski
82f1816aec
Keep implicit TSP dependencies ownership after enqueue
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-06-22 13:37:20 +02:00
Bartosz Dunajski
2e97aeccfd
Revert TSP changes
...
This commit reverts:
a1d2bdc76666059653c79fe39a26113ce47c632a,
71a115129c1698ff15305fd0ea3828cba861be47,
e1a9087a466bfba54d84a64247e6596092034a91.
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-06-21 12:44:12 +02:00
Bartosz Dunajski
8523747f91
Clear Event dependencies for Subcapture
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-06-18 12:58:49 +02:00
Mateusz Jablonski
e027178c37
Correct semaphore wait programming for cross device dependencies
...
when event is blocked by blocked user event then program semaphore wait during
unblocking user event
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-06-18 09:06:53 +02:00
Bartosz Dunajski
5af793ddc6
Remove TSP implicit dependency tracking logic
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-06-16 08:47:00 +02:00
Maciej Plewka
9fe2dddcd3
Estimate command stream size for marker profiling
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-06-14 21:36:07 +02:00
Maciej Plewka
10cff46c22
Fix make resident event alloc for marker dispatch
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-06-14 10:44:27 +02:00
Piotr Zdunowski
7cac94b597
Fix profiling for marker commands.
...
Resolves: NEO-4867
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com >
2021-05-27 12:15:07 +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