Katarzyna Cencelewska
26308a59bc
Fix getCommandQueueInfo for param CL_QUEUE_DEVICE_DEFAULT
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-20 17:42:33 +01:00
Mateusz Jablonski
fbc0666d1b
Move setGrfInfo from HardwareCommandsHelper to EncodeDispatchKernel
...
unify grf info programming across APIs
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-20 15:42:06 +01:00
Michal Mrozek
27c43b27f3
Remove not needed method.
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-01-20 15:02:19 +01:00
Bartosz Dunajski
feafc4b173
Update gtpin enums for DG2 and PVC
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-01-20 12:05:14 +01:00
Krzysztof Gibala
b75f5d4c8b
Add debug flag ForceExtendedBufferSize
...
Forces extended buffer size by adding pageSize specify by number when
debug flag is >=1 in:
- clCreateBuffer
- clCreateBufferWithProperties
- clCreateBufferWithPropertiesINTEL
Usage:
ForceExtendedBufferSize=2
size += (2 * pageSize)
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-01-19 18:52:10 +01:00
Katarzyna Cencelewska
a06fbd2077
Remove device enqueue part 10
...
- remove DeviceQueue
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-19 17:41:06 +01:00
Katarzyna Cencelewska
11fe5f33f5
Remove unused subgroupKernelInfoArray
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-19 15:39:37 +01:00
Katarzyna Cencelewska
5ca6d1047c
Remove device enqueue part 9
...
- remove parentKernelInfoArray
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-19 13:54:54 +01:00
Katarzyna Cencelewska
20f17f775e
Remove device enqueue part 8
...
- remove hasDeviceEnqueue
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-19 11:16:35 +01:00
Katarzyna Cencelewska
97765cd39f
Remove device enqueue part 7
...
- mainly remove BlockKernelManager and ReflectionSurfaceHelper
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-19 10:41:57 +01:00
Mateusz Jablonski
8ebef3769c
Update RENDER_SURFACE_STATE for Xe Hpg
...
Program Multi Gpu params in surface state only on Xe Hp Sdv
Respect zero-size image scenario when programming surface state
Move XeHp-only tests to dedicated subdir
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-18 21:06:14 +01:00
Michal Mrozek
a8b8a61c87
Fix marker calls in non profiling path.
...
When waiting , if we guard blit copy operation,
we need to wait for bcs as well.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-01-18 15:46:50 +01:00
Michal Mrozek
dd63f96836
Fix dependency resolution when marker with profiling is programmed.
...
We need to make sure it properly follows dependencies.
Before the change, code was not programming semaphores.
Related-to: NEO-6444
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-01-18 11:48:38 +01:00
Mateusz Borzyszkowski
95943dee0f
Dont generate gen file by default
...
Ocloc can dump gen file when we add -gen_file flag to cmd.
Otherwise gen is not generated
Signed-off-by: Mateusz Borzyszkowski <mateusz.borzyszkowski@intel.com >
2022-01-17 18:14:50 +01:00
Kacper Nowak
fc224202d6
Create debug zebin in OCL
...
This commit adds debug zebin creation in OCL.
- Added returning debug zebin in build/linking paths in OCL if
corresponding device binary format was detected.
- Refactored getZebinSegments() method - added common ctor for both
L0/OCL paths
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-01-17 14:27:23 +01:00
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
Zbigniew Zdanowicz
c36c083812
Refactor implicit scaling parameters for surface state
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-17 09:30:58 +01:00
Krystian Chmielewski
79c8605ed2
Fix checking required DSH Size
...
This change simplifies calculating required DSH Size
and replaces wrong debug break conditiong causing
debug assertion fails in many tests with simple
check "calculatedDSHSize > allocatedDSHSize".
Related-To: NEO-6077
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-01-15 00:24:46 +01:00
Mateusz Jablonski
ff79c84115
Correct INTERFACE_DESCRIPTOR_DATA definitions for XeHp and later
...
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-14 19:06:55 +01:00
Szymon Morek
c282a78b14
Fix parent MemObj dereference.
...
Don't dereference parent obj multiple
times (per gfxAllocation). Dereference it once
Related-To: NEO-6418
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-01-14 14:54:59 +01:00
Michal Mrozek
eedc77e1ec
Disable waiting on timestamps.
...
Not yet ready for full enabling.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-01-14 13:35:14 +01:00
Compute-Runtime-Validation
182042b04d
Revert "Update default thread arbitration policy"
...
This reverts commit 8c3e9ace69 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-01-13 21:32:29 +01:00
Bartosz Dunajski
8c3e9ace69
Update default thread arbitration policy
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-01-13 16:24:11 +01:00
Katarzyna Cencelewska
d2818aaea2
Remove device enqueue part 5
...
-remove scheduler and builtin_kernels_simulation
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-13 14:15:26 +01:00
Kamil Kopryk
0a4554ab23
Simplify internal options initialization
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6075
2022-01-13 11:03:04 +01:00
Katarzyna Cencelewska
45ae4fe881
Remove device enqueue part 3
...
- isSchedulerKernel
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-12 13:50:18 +01:00
Kamil Kopryk
22588edf86
Add -force-stos-opt for stateful builtins
...
Related-To: NEO-6582
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-01-11 17:57:34 +01:00
Katarzyna Cencelewska
5943113a01
Remove device enqueue part 2
...
Clear "SUPPORT_DEVICE_ENQUEUE" from cmakes
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-11 15:58:21 +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
Szymon Morek
967d8a56fe
Don't reduce LWS if SIMD32 is being used
...
Don't divide max kernel work group size by 2
if it's using SIMD 32
Resolves: NEO-6429
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-01-11 14:03:49 +01:00
Katarzyna Cencelewska
534280fad6
Disable device enqueue
...
on icllp, cfl, kbl, skl
Resolves: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-03 17:34:30 +01:00
Compute-Runtime-Validation
06b436f120
Revert "Enable engines round robin assign"
...
This reverts commit d52b7e599d .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-01-03 10:29:44 +01:00
Dominik Dabek
6c40c712d8
Check workDim when enqueueing kernel
...
Return CL_INVALID_WORK_DIMENSION when workDim is more than
maxWorkItemDimensions.
Related-To: NEO-6159
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-12-31 15:42:09 +01:00
Lukasz Jobczyk
d52b7e599d
Enable engines round robin assign
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-31 11:59:52 +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
a43834609d
Enable timestamp wait mechanism
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-30 13:15:14 +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
Compute-Runtime-Validation
f1a1280549
Revert "Enable timestamp wait mechanism"
...
This reverts commit 4d422387ec .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-12-28 16:38:03 +01:00
Lukasz Jobczyk
4d422387ec
Enable timestamp wait mechanism
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-28 11:55:55 +01:00
Lukasz Jobczyk
b59b0b6b36
Download timestamps before checking completion
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-28 08:14:27 +01:00
Maciej Plewka
df7723411f
Patch image descriptor fields with dword width
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-12-27 17:55:42 +01:00
Patryk Wrobel
3599e7aeda
Add warning when device binary had to be recompiled
...
Introduced a new warning, which is printed to build log, when the
binary needs to be recompiled. Added a new flag -Wno-recompiled-from-ir
to allow suppression of that message. Removed a bug related to memcpy_s
from ModuleBuildLogImp::getString() and aligned it with specification.
Related-To: NEO-5819
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2021-12-23 16:13:59 +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
Lukasz Jobczyk
38ace23f72
When terminate task do not pass timestamps
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-23 12:34:51 +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
9a450d1b74
Pass hwInfo to appendMiFlushDw
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-22 15:22:47 +01:00
Zbigniew Zdanowicz
6ab4b566aa
Shift csr factory initialization to shared library
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-21 18:43:31 +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
Dominik Dabek
17beabc32d
Add full src path to ocloc cmd
...
Makes it easier to copy and execute the command
Related-To: NEO-6002
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-12-21 13:01:58 +01:00