2098b0c3fa
Refactor Device::engineGroups to store only available engine groups
...
Simplify logic around engine groups.
Remove no longer needed code.
Ensure correct device is used when verifying engine groups.
Related-To: NEO-6219
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-06 18:27:31 +01:00
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
c455c0f9c6
Remove "Update Device::engineGroups"
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-03 10:16:40 +01:00
63116e4100
Use wait utils while waiting for timestamps
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-02 17:49:05 +01:00
4461b8ea3f
Refactor: Update Device::engineGroups to store only available engine groups
...
Simplify logic around engine groups.
Remove no longer needed code.
Related-To: NEO-6219
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-02 15:10:22 +01:00
36efe72e3e
Add wait on timestamp mechanism
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-01 08:48:00 +01:00
457ef00abf
Reuse graphics allocations in svmMemcpy
...
Related-To: NEO-6352
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-11-17 14:03:05 +01:00
e8cc34d7b0
Add infrastructure to assign engine to command queue with round robin
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-11-15 13:13:40 +01:00
b8a03cdea1
Remove getAnyBcs() method
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-11-10 18:55:37 +01:00
908a7721b2
Revert "Assign engine to command queue using round robin algorithm"
...
This reverts commit 2fff0f9059
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-11-10 07:25:44 +01:00
2fff0f9059
Assign engine to command queue using round robin algorithm
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-11-09 11:05:16 +01:00
9058de77cc
Revert "Assign engine to command queue using round robin algorithm"
...
This reverts commit 1c68ac1cbc
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-11-08 16:36:18 +01:00
4c4b37f8d2
Implement BCS selection heuristic for OpenCL CommandQueue
...
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-11-08 12:58:14 +01:00
1c68ac1cbc
Assign engine to command queue using round robin algorithm
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-11-03 17:16:54 +01:00
a582f34c04
Reuse graphics allocations in readBufferRect/writeBufferRect
...
Related-To: NEO-6352
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-11-03 14:58:51 +01:00
3a2b018eb6
Enable blitterOperationsSupported on DG1
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-28 14:16:19 +02:00
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
f1b6b733f0
Reuse graphics allocation from mapped buffers in OpenCL
...
Related-To: NEO-6352
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-10-27 15:53:10 +02:00
811d107ea9
Don't allow blit enqueue for images with 64KB tiling & 3D surface type
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-6142
2021-10-19 16:03:48 +02:00
24ff191e61
Verify completion on all tiles
...
Related-To: NEO-6244
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-10-15 15:43:28 +02:00
1c8a6d895a
Use hwInfoConfig to check blitter support for image
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2021-10-13 17:51:00 +02:00
75b7adbe95
Skip transfer when CL_MAP_INVALIDATE_REGION is specified
...
Resolves: NEO-5490
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-10-13 17:13:33 +02:00
19a6c9b1d3
Track separate task count for each BCS in OpenCL CommandQueue
...
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-10-13 12:06:27 +02:00
c910a58aa0
Store bcsEngine in an std::vector in OpenCL CommandQUeue
...
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-10-07 21:55:21 +02:00
5560663b01
Revert "Disabled forced cross engine synchronization on single queue"
...
This reverts commit 4b5432967eb9f484a491323b6766efe14929c5e9.
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-10-06 17:49:48 +02:00
5e201f40be
Prevent nullptr dereference in aub dump subcapture mode
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-04 14:23:19 +02:00
50bd8b5f19
Disabled forced cross engine synchronization on single queue
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-10-01 13:09:33 +02:00
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
3b35ba504f
Adapt command stream receiver to multiple active partitions
...
Related-To: NEO-6244
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-09-23 14:32:20 +02:00
bd9457262e
Removing dependent commandQueue kernels
...
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com >
Related-To: NEO-6212
2021-09-23 14:04:53 +02:00
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
d348526941
Simplify checkAndActivateAubSubCapture method
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-09-22 20:23:56 +02:00
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
2707618fe3
Pass engine type to getBcsCommandStreamReceiver in OpenCL
...
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-09-21 16:27:07 +02:00
a4b3dc29e4
Remove unnecessary method
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-09-21 11:34:27 +02:00
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
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
cd4f3c221a
Synchronize switching command buffers for all partitions
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-09-08 12:12:23 +02:00
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
94cd243360
Revert "Correct CSR used for hostptr allocations in builtins"
...
This reverts commit 69ae9dc9c2
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-09-02 04:45:06 +02:00
0345d9f707
Improve queries with number of SubDevices
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-09-01 14:01:57 +02:00
69ae9dc9c2
Correct CSR used for hostptr allocations in builtins
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-09-01 13:19:49 +02:00
92000bd75b
Improve Device getter to support EngineInstanced Device with single Engine
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-08-31 15:50:23 +02:00
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
42524b6bef
Limit usage of getBcsCommandStreamReceiver()
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-08-27 12:15:30 +02:00
cb91474b1a
Improve getDevice methods
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-08-26 14:45:00 +02:00
63f8c9d98b
Add new EngineUsage
...
Simplify verifying EngineUsage in tryGetEngine function.
Remove unused getGpgpuEnginesCount function.
Related-To: NEO-4940
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-08-23 17:41:13 +02:00
78fa40fac0
Add new parameter to functions
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-08-19 17:25:43 +02:00
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
26e24fa872
Rename debug flag to EnableBlitterForEnqueueImageOperations
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4692
2021-07-30 12:31:12 +02:00