Commit Graph

3483 Commits

Author SHA1 Message Date
0b43061819 remove unused includes
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-28 10:40:12 +02:00
09d160910d remove unused includes
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-27 22:59:18 +02:00
a701e28ca5 DrmMM fixtures refactor
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-27 22:50:56 +02:00
2d976098f5 Use LogicalStateHelper to program FrontEndState
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-06-27 19:42:54 +02:00
47fa30b419 Simplify code - image create function
Reduce number of lines, reduce nested if statements
and others
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-06-27 17:46:03 +02:00
6fc8047eb8 Add DG2 device ids
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-06-27 16:50:15 +02:00
8ea5bbd3b5 Use DualSubSliceCount to calculate workgroup size
Related-To: NEO-5719

Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2022-06-27 15:41:47 +02:00
2c853adac3 Use LogicalStateHelper to program ComputeMode
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-06-27 15:25:55 +02:00
4dff4e165c includes simplification
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-27 15:08:46 +02:00
5236b34629 Set L1 policy globally
Related-To: NEO-7003

Add function to control l1 policy for both
stateless and surface state cache.


Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-06-27 14:57:31 +02:00
74bca7f12e Support the uppercase device deprecated acronyms
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2022-06-27 13:15:38 +02:00
0c523b412f feat(ocloc): concatenate multiple fat binaries
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-06-27 13:08:51 +02:00
858059a3c0 Reduce unnecessary move constructors calls
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-06-27 12:49:53 +02:00
7a1cac0674 Fix EnableCmdQRoundRobindEngineAssign flag
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-06-27 11:38:52 +02:00
4673a98074 includes simplification
use HW specific header instead generic one

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-24 22:07:18 +02:00
83cab52dc4 Reduce unnecessary copies of memory properties
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-06-24 16:49:26 +02:00
31dbc04f23 L0Debug - capture SurfaceState heaps
Related-To: NEO-7103

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-06-24 15:05:56 +02:00
fd867c1621 Update OCL headers
Update headers to the OpenCL-Headers-2022.05.18 release:
https://github.com/KhronosGroup/OpenCL-Headers/releases/tag/v2022.05.18

Related-to: NEO-7102
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2022-06-23 17:07:16 +02:00
1bfe42350a Revert "Disable tlb flush WA on PVC and later"
This reverts commit e0c87435e1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-06-22 20:09:28 +02:00
cb6db5672b Debugger L0 Win - register allocations metadata in debugger
Related-To: NEO-6764

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-06-22 17:22:15 +02:00
410598372d Move shared tests from igdrcl_tests to neo_shared_tests
Signed-off-by: Luzynski, Sebastian Jozef <sebastian.jozef.luzynski@intel.com>
2022-06-22 16:45:08 +02:00
f4485ec541 Use LogicalStateHelper for SIP programming
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-06-22 13:46:57 +02:00
e0c87435e1 Disable tlb flush WA on PVC and later
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-06-22 13:09:42 +02:00
b1a9fb886f Remove useChannelRedForUnusedShaderChannels helper function
For CL_LUMINANCE images always force channel red.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-06-22 12:18:58 +02:00
8627340ee0 Partially move timestamp packet tests to shared
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-06-21 23:43:50 +02:00
70cef0cfe8 Create enum values for I915 tiling mode
Related-To: NEO-6852, NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-21 23:33:50 +02:00
ad98032c3b Make ULT deterministic
Related-To: NEO-6300

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-21 22:57:48 +02:00
b983ea120b Add mock helper for hwInfoConfig
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-06-21 18:16:08 +02:00
e018dda01b Fix compilation error
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-06-21 12:07:52 +02:00
9a26e505a8 Pass LSC policy to IGC in build options
Related-To: NEO-7003


Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-06-21 11:51:56 +02:00
39dfaf64bc Fix: Flush on svmMap on multi device 2/n
Previous fix was causing the runtime to get buffer size
without gfx allocation, causing a seg fault.

This commit moves the fix logic to enqueue handler,
only changing the enqueueProperties.

Related-To: NEO-6948

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-06-21 11:38:28 +02:00
6ab6e1abff Fix mutex order for event task and move args to gpu
This commit fixes problem with untransfered shared usm memory to gpu
when there is submit to gpu trigerred by user event. Also there is a fix
for dead lock problem caused by mixed orders of locking mutexes in csr
and in direct submission controller.

Related-To: NEO-6762

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-06-21 11:28:25 +02:00
d308df254c Add ail for FAHBench on DG2
Add missing synchronization in the FAHBench kernel
which caused hang on DG2.

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6946
2022-06-21 10:21:51 +02:00
f98c6b1a8b Disable round robin engine assign on PVC
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-06-20 15:24:18 +02:00
ae61f0368a Fix: Flush on svmMap on multi device
On multi device contexts we allocate svm in system memory.

This caused svmMap calls to assume no copy is needed and
no cache flush was sent to gpu and data modified by earlier
gpu commands was not being visible on host.

This change will add pipecontrol with dcFlush on svmMap
calls when task count from wait is enabled.

Related-To: NEO-6948

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-06-20 12:24:43 +02:00
97ea332a9f Add support for ntHandles in OCL
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-06-17 22:55:53 +02:00
5dda77d628 Use dummy config in run_windows_dll_tests
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2022-06-17 21:36:48 +02:00
5012462fa6 Remove GMock include from mock_memory_manager.h
Related-To: LOCI-3025
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-06-17 14:22:53 +02:00
9c18c0247e Correct surface format used for CL_LUMINANCE images
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-06-15 19:00:11 +02:00
0583413499 Remove error for unused parameter
Remove error for unused parameter
from clGetKernelMaxConcurrentWorkGroupCountINTEL

Resolves: NEO-7044

Signed-off-by: Neumann, Marta <marta.neumann@intel.com>
2022-06-15 18:48:22 +02:00
b5ee204d9c Move some os_interface tests to shared
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-06-15 15:17:16 +02:00
ba156c7eaa Add writeStreamInline at the end of flushTask
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-06-15 12:34:51 +02:00
31ca7fe9b4 Do not enable L3 for BCS transfers when they are big.
When transfer is larger then half of L3 there is no need
to make it L3 cacheable, as it will cause evictions.

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-06-15 08:57:17 +02:00
2637ae5816 Ocloc: Support for various variants of acronyms
In addition to supporting the official -device acronyms
(e.g. xe-hpg), support for shorter and deprecated acronyms
has also been added.
An example of supported variances:
- xehpg
- xe_hpg
- xe_hpg_core

Signed-off-by: Daria Hinz <daria.hinz@intel.com>
Related-To: NEO-6910
2022-06-14 22:49:01 +02:00
e8e1abf5e0 Improve CMakeFiles.txt
add subdirectories in black_box_tests cmake

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-06-14 22:25:59 +02:00
ef7c1c22cb Rename function name to avoid confusion.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-06-14 18:50:39 +02:00
fd121d8b6b Move sku_info tests to shared
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-06-14 17:10:52 +02:00
939d109362 Add LogicalStateHelper class
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-06-14 16:57:16 +02:00
6f57073071 Move DrmMemoryManager tests to shared
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-06-14 13:31:08 +02:00
6d365cbfc3 Ocloc: New AOT design implementation
Ocloc will handle any new values that may be
passed to the -device argument.

Supported acronyms are available under cmd:
ocloc compile --help

Supported patterns:
- device acronym
- release acronym
- family acronym
- version (major.minor.revision)

Fatbinary will no longer handle major.minor.revision variances,
only acronyms allowed.

Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2022-06-14 13:20:45 +02:00