95585a81f7
Optimize timestamp packet dependencies
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-30 09:48:36 +01:00
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
4176cac845
Move shared mocks to shared directory
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-21 13:26:59 +01:00
1f0c58d0bf
Refactor timestamp wait mechanism
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-16 13:22:19 +01:00
e4bbed49d0
Use full path to include test.h 1/n
...
fix files in opencl
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 12:34:34 +01:00
fe8cb190bc
Remove deprecated code
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-14 11:36:10 +01:00
64aec8dc4e
Rename functions
...
Rename getEngines to getAllEngines
Rename engines to allEngines
Rename getEngineGroups to getRegularEngineGroups
Rename engineGroups to regularEngineGroups
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-13 14:27:02 +01:00
f137e927c5
Add EngineUsageHint debug variable
...
Related-To: NEO-6219
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-09 16:06:23 +01:00
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
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
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
995cb88bfa
Improve ftr/wa flags packing
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-11-25 16:05:57 +01:00
c16eb0ff84
Correct getGpgpuEngineInstances function
...
dont expose bcs engine if blitter operations not supported
Related-To: NEO-6325
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-09 08:36:05 +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
fbf1f367f4
Dont create blitter engine when blitter support is disabled
...
Related-To: NEO-6325
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-05 11:07:07 +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
58ebebeec6
Move drm_memory_manager_tests.h and related fixtures to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-21 20:46:58 +02:00
3f94399dbb
Cleanup builtins dependencies
...
move builtins builders to ClExecutionEnvironment
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-19 17:29:28 +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
7b57e87ad1
Move some mocks to shared
...
- MockAllocationProperties
- MockBuiltinsLib
- MockWddmMemoryManager
- MockAubCsr
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-15 09:59:47 +02:00
bf25853799
Move some mocks to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-12 21:46:53 +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
9bea74a780
move mock_memory_manager to shared
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-10-05 16:22:38 +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
4444eb8932
Fix engine group selection in unit tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-09-22 14:07:20 +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
eace896ec8
Change order of command queue groups
...
Resolves: NEO-6257
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-09-16 17:39:52 +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
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
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
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
4fb5ceeb89
Add helper engines to EngineInstanced Device
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-08-19 16:14:19 +02:00
84da4648cd
Refactor engineGroups container
...
Use static array instead of the vector.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-08-19 13:49:32 +02:00
63a578f5a4
Move obtainBlitterPreference function from HwHelper to HwInfoConfig
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-4541
2021-08-17 17:51:06 +02:00
14c93a6432
Add OCL xe_hp_core unit tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-08-10 14:25:12 +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
cee37a43d2
Improve tests
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2021-07-30 09:46:36 +02:00
af4b1afdbd
Add support for copy images by blitter OCL
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4692
2021-07-30 09:29:45 +02:00
88c6c9def8
Enable support for half_float images on BCS OCL
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4692
2021-07-26 11:26:49 +02:00
9bca773b91
Remove command queue constructor
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-07-23 14:16:02 +02:00
f06938c3d0
Enable support for 1Darray images on BCS OCL
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4692
2021-07-19 17:30:49 +02:00
8582c9cbc7
Don't use 1Darrayed images with BCS OCL
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4692
2021-06-28 15:04:03 +02:00