Commit Graph

10537 Commits

Author SHA1 Message Date
Mateusz Jablonski
5f985a012a Stop using EXPECT_THAT
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-20 14:25:28 +02:00
Daria Hinz
5745c3d99d Change AOT enums type & use forward declaration
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2022-06-20 13:40:29 +02:00
Dominik Dabek
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
Lukasz Jobczyk
9761098733 Track ccs count per subdevice in direct submission controller
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-06-20 11:52:01 +02:00
Artur Harasimiuk
52e604a0d4 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-20 11:51:46 +02:00
Kamil Diedrich
97ea332a9f Add support for ntHandles in OCL
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-06-17 22:55:53 +02:00
Naklicki, Mateusz
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
ocldev
1be54852e3 igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2022-06-17 15:02:37 +02:00
Fabian Zwolinski
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
Bellekallu Rajkiran
cf9e48db83 Update PCI interface
Modify PCI interface to get max speed and width from
pci config space.

Related-To: LOCI-3137

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-06-17 11:58:20 +02:00
Katarzyna Cencelewska
615fd4c37a Add programming of Dispatch Walk Order in COMPUTE_WALKER for xe_hpg
- update xe_hpg generated commands
- add method isAdjustWalkOrderAvailable

Related-To: NEO-7065
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-06-17 10:42:15 +02:00
Bellekallu Rajkiran
7f4e25a3f6 Reduce gmock usage for firmware and GlobalOps
Related-To: LOCI-3130

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-06-17 07:35:48 +02:00
Jaime Arteaga
dac180f2fb Revert "Add ZE_experimental_image extensions to list of supported ones"
This reverts commit 0e9e0ff5e9

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-06-17 06:43:21 +02:00
Joshua Santosh Ranjan
d4c9cca7fd Metrics: Avoid multiple metric cacheing for sub-devices
This patch fixes multiple metric cacheing for sub-devices when
sub-device is enumerated before root-device

Fixes : LOCI-3161

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-06-16 22:03:24 +02:00
Yates, Brandon
20348b7185 Add override to ~DebugSessionWindows
Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
2022-06-16 16:34:39 +02:00
Filip Hazubski
9c18c0247e Correct surface format used for CL_LUMINANCE images
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
22.25.23529
2022-06-15 19:00:11 +02:00
Neumann, Marta
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
Konstanty Misiak
bee5f91907 Add AIL for Wondershare Filmora
Related-To: NEO-6982

Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2022-06-15 18:15:55 +02:00
Yates, Brandon
481ac32fcf Windows L0 Debugger - Implement async events handling
Add event handlers for context and debug data

Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
2022-06-15 17:48:24 +02:00
Nowak, Kacper
b3d94add4b Set missing field for buffer_address kernel arg type
Set missing pointerSize (basing on source size field) for buffer_address arg
type.
Signed-off-by: Nowak, Kacper <kacper.nowak@intel.com>
Related-To: NEO-7048
2022-06-15 16:49:11 +02:00
Mateusz Hoppe
31ebf37091 Fix potential stack corruption in DebugSessionImp
- allocate 64 bytes on stack when accessing registers

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-06-15 16:18:24 +02:00
Daniel Chabrowski
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
Mateusz Jablonski
9a8f2bb835 Remove mock context class definition from device fixture
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-15 14:28:48 +02:00
Artur Harasimiuk
a44ca08ad9 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-15 12:44:46 +02:00
Bartosz Dunajski
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
Vilvaraj, T J Vivek
c0121eb824 SysMan: fix issues in execution environment restoration.
the scpoe of the restorer is till the LinuxSysmanImp is deleted.
Ideally the scope of restorer needs to be function level.

Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2022-06-15 11:38:23 +02:00
Compute-Runtime-Validation
3dd6e3f125 Revert "Enable Symbol Table Generation by Default for L0 modules"
This reverts commit c2e3d24a1d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-06-15 10:28:47 +02:00
Krzysztof Gibala
21c2f06d72 Remove redundant GmmHelper init in createDeviceImpl
Initialization of GmmHelper is carried out earlier in the
prepareDeviceEnvironments method.

Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-06-15 09:49:51 +02:00
Bartosz Dunajski
ce91edcb82 Add support for adding additional shared core files to cmake
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-06-15 09:43:47 +02:00
Joshua Santosh Ranjan
2ae0759075 Metrics: Add support to return test status in zello_metrics
Related-To: LOCI-3158

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-06-15 09:04:19 +02:00
Michal Mrozek
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
Compute-Runtime-Validation
930db249ff Revert "Enable Global Symbol Generation by Default for L0 modules"
This reverts commit 9996228281.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-06-15 08:45:53 +02:00
Mateusz Jablonski
e67307b724 Add DrmParam enum values for I915_EXEC values
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-15 08:39:39 +02:00
Artur Harasimiuk
6541b7482d package: use xz compression
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-14 23:18:36 +02:00
Daria Hinz
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
Neil R Spruit
9996228281 Enable Global Symbol Generation by Default for L0 modules
Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com>
2022-06-14 22:36:08 +02:00
Mateusz Hoppe
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
Zbigniew Zdanowicz
f5b1a0e45b Use internal event object in command lists methods
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-06-14 21:23:43 +02:00
Artur Harasimiuk
5f91fc09a2 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-14 19:14:35 +02:00
Michal Mrozek
ef7c1c22cb Rename function name to avoid confusion.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-06-14 18:50:39 +02:00
Neil R Spruit
e2132de30e L0 Function Pointer Handling for kernels & correct error
- Enable Support for L0 Function Pointers for Kernels and Exported
Functions
- Return ZE_RESULT_ERROR_INVALID_FUNCTION_NAME given no function of that
name is a kernel or exported function

Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com>
2022-06-14 18:19:01 +02:00
Neil R Spruit
c2e3d24a1d Enable Symbol Table Generation by Default for L0 modules
- Added EnableProgramSymbolTableGeneration to enable or disable default
behavior for IGC to generate the program symbol tables for L0 modules
with exported functions.
- Default value set to true to add -library-compilation to all module
builds.

Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com>
2022-06-14 18:10:24 +02:00
Kamil Kopryk
d129cca4b0 Add /bigobj compilation flag
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-06-14 17:38:18 +02:00
Joshua Santosh Ranjan
6adf069eb3 Metrics: Add NReports Event Generation support for EuStallSampling
This patch adds support for NReports for EuStallSampling

Related-To: LOCI-2758

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-06-14 17:15:23 +02:00
Daniel Chabrowski
fd121d8b6b Move sku_info tests to shared
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-06-14 17:10:52 +02:00
Bartosz Dunajski
939d109362 Add LogicalStateHelper class
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-06-14 16:57:16 +02:00
ocldev
b7eb9b5ed0 dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2022-06-14 16:43:20 +02:00
Mateusz Jablonski
1b93d4dcf1 Move mock driver model classes to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-14 13:44:40 +02:00
Daniel Chabrowski
6f57073071 Move DrmMemoryManager tests to shared
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-06-14 13:31:08 +02:00
Dominik Dabek
4197ffb99e Refactor: Use default member initializer
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-06-14 13:25:27 +02:00