Mateusz Jablonski
8e03ce9c54
Correct programming of horizontal alignment on Xe Hp
...
for linear surfaces we should program value of 128
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-20 16:41:22 +01:00
Fabian Zwolinski
d9bf1886c2
Remove GMock from GMockMemoryManagerFailFirstAllocation, GMockMemoryManager...
...
Removed GMock from
- GMockMemoryManagerFailFirstAllocation
- GMockMemoryManager
- TestEventCsr
- MockKmdNotifyCsr
- MockMemoryOperationsHandlerTests
- GmockGmmMemory
- MockMemoryManagerCommandQueueSBA
- TestCmdQueueCsr
Renamed:
- GMockMemoryManagerFailFirstAllocation -> MockMemoryManagerFailFirstAllocation
Moved class body:
- GMockMemoryManager to MockMemoryManager
- GmockGmmMemory to MockGmmMemoryBase
Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2022-01-20 16:08:34 +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
Zbigniew Zdanowicz
8aaa927869
Return default context for multi-tile device in low-priority queue
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-20 14:48:11 +01:00
Filip Hazubski
af8f712010
Move gen9 preamble tests to gen9 directory
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-01-20 12:38:04 +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
Compute-Runtime-Validation
6082865eb4
Revert "Optimize Level Zero indirect allocations handling."
...
This reverts commit 3ecbc55ba9 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-01-20 11:41:13 +01:00
Mateusz Jablonski
c79b8f0e90
Correct programming of horizontal alignment on Xe Hpg
...
for linear surfaces we should program value of 128
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-20 11:08:04 +01:00
Mateusz Jablonski
dfe23a08b2
Update RENDER_SURFACE_STATE for Xe Hp
...
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-20 10:53:54 +01:00
Zbigniew Zdanowicz
d44f3009b8
Add interface for user fence extension
...
Related-To: NEO-6575
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-19 19:58:22 +01:00
Zbigniew Zdanowicz
d3d803cdb0
Enable Implicit Scaling on Level Zero
...
* This commits enables by default implicit scaling, but only on PVC B step
* Users can disable this feature by debug flag EnableImplicitScaling=0|
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-19 19:13:43 +01:00
Kamil Diedrich
1b7949432f
Add shareable allocation on windows dGPUs
...
Add default initialization for object members
Related-To: LOCI-2665
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-01-19 19:03:18 +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
Mateusz Jablonski
ac39f424ce
Correct expectations of horizontal alignment programmed value
...
change value in mock to verify non-default value programming
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-19 18:36:34 +01:00
Michal Mrozek
3162c52250
Remove not needed debug variable.
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-01-19 18:20:44 +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
František Zatloukal
5b8bc19dc5
'std::unique_ptr' is defined in header '<memory>'
...
Fixes GCC 12 build.
Signed-off-by: Frantisek Zatloukal <fzatlouk@redhat.com >
2022-01-19 17:24:58 +01:00
Robert Krzemien
c724f35abb
Fixed offsets in calculation for multidevices. Fixed metric types.
...
Related-To: LOCI-2870
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com >
2022-01-19 17:10:09 +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
Mateusz Jablonski
5cd76aef6a
Refactor surface state programming, add enum value for default halign value
...
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-19 14:31:28 +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
ocldev
7681334117
dependencies update
...
Signed-off-by: ocldev <ocldev@intel.com >
2022-01-19 13:23:27 +01:00
Michal Mrozek
3ecbc55ba9
Optimize Level Zero indirect allocations handling.
...
Make them resident directly instead of populating residency container
Remove finds, not needed, CSR resolves duplicates at makeResident calls
Observed gain is 32x for 10k indirect allocations.
Co-authored-by: Michal Mrozek <michal.mrozek@intel.com >
Co-authored-by: Dominik Dabek <dominik.dabek@intel.com >
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-01-19 13:08:35 +01:00
Pawel Cieslak
513e6a2ee4
Trim RHEL SPEC_FILE env
...
Maintain backwards compatibility with previous settings
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2022-01-19 12:20:12 +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
Bartosz Dunajski
10f329768f
Fix multitile tag initialization for AubCsr
...
Before this change, only Tile0 tag was initialized
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-01-18 19:33:57 +01:00
Krzysztof Gibala
479c97beaf
Fix tests case name
...
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-01-18 18:49:57 +01:00
Ayush Pandey
5f8913f291
ULT fix for pmt handle
...
Fixed failing ULTs for the pmt object created in map were not deleted
Related-To: LOCI-2835
Signed-off-by: Ayush Pandey <ayush.pandey@intel.com >
2022-01-18 16:35:28 +01:00
Pawel Cieslak
fbbcc27742
Update infra, remove old spec files
...
Related-To: NEO-6584
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2022-01-18 15:54:40 +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
Kamil Kopryk
de9112d942
Simplify code - remove not needed static cast
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-01-18 14:29:06 +01:00
Mateusz Jablonski
c40153ec86
Clarify logic of walk order values for Xe Hp and later
...
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-18 13:36:15 +01:00
Zbigniew Zdanowicz
4238679078
Refactor implicit scaling device support
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-18 13:08:43 +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
Kamil Kopryk
40483acd17
Improve blitter programming
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-01-18 10:36:05 +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
Grzegorz Choinski
3f54e9ffb1
infra update
...
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com >
2022-01-17 17:44:34 +01:00
Zbigniew Zdanowicz
625575209a
Add new test matcher
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-17 16:13:45 +01:00
Mateusz Jablonski
e5a18177c5
Add unit test helper function to set pipe control hdc flush
...
Separate unit test helper definitions bdw_and_later / xe_hp_and_later
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-17 15:45:29 +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
Igor Venevtsev
d9aae805c7
Do not apply L0 debugger WA (Disable L3 cache) for highest DG2 steppings
...
Related-To: NEO-6320
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-01-17 13:46:40 +01:00
Zbigniew Zdanowicz
03366f11d2
move aub test suite to shared tests executable
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-17 12:24:03 +01:00
Bartosz Dunajski
9147d4c203
Fix SyncBuffer page tables cloning
...
multiOsContextCapable param was hardcoded to false and page tables were
not cloned to other SubDevices
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-01-17 12:19:09 +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