Artur Harasimiuk
d14e45c8e6
infra update
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-08-25 12:25:16 +02:00
Naklicki, Mateusz
98500ee653
Allow overriding hw config on aub/tbx mode
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2022-08-25 10:54:42 +02:00
Warchulski, Jaroslaw
cf7e7fbc4e
CMake: don't include shared/test/unit_test when shared tests are skipped
...
opencl/test/unit_test/gen9/hw_helper_tests_gen9.cpp -> unit_test/gen9
opencl/test/unit_test/gen11/hw_helper_tests_gen11.cpp -> unit_test/gen11
unit_test/device_binary_format/elf/elf_tests_data.h -> common/device_binary/elf
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-08-25 10:48:37 +02:00
Mateusz Jablonski
e934a449db
Add missing pragmas once
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-25 09:46:44 +02:00
Katarzyna Cencelewska
e8df81158d
Call setupHardwareInfoBase inside setupHardwareInfo on pvc
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-08-24 17:38:29 +02:00
Igor Venevtsev
d40173e47a
L0Debug Win: Always generate module create/destroy events
...
We have to always generate module create/destroy events to give
debugger a chance to insert bp, read/write debuggee memory etc
even there is no debug data was generated. In this case ELF will not be
reported to debugger, just ISA GpuVA
Related-To: NEO-6723
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-08-24 14:58:30 +02:00
Mateusz Jablonski
ca0686b404
Unify include directories for i915 headers
...
include i915_drm_prelim.h using relative path
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-24 14:58:01 +02:00
Zbigniew Zdanowicz
72c3a04bfd
connect hardware pipeline properties support flags to stream properties
...
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-08-24 14:32:29 +02:00
Dunajski, Bartosz
9763d42379
Fix type redefinition
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-08-24 09:45:13 +02:00
Krystian Chmielewski
835174c076
Remove builtins duplication
...
Resolves: NEO-7064
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-08-24 07:27:46 +02:00
Compute-Runtime-Validation
a5b4a13452
Revert "Return error when image arg does not support media block commands"
...
This reverts commit 8388e6cf4a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-08-24 06:23:22 +02:00
Compute-Runtime-Validation
54041d0f2f
Revert "Add hardware support for each pipeline property"
...
This reverts commit 02cf62902b .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-08-24 04:54:22 +02:00
Jaime Arteaga
f7b3b20f81
Add warning when SLM is not enough for kernel
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-08-24 01:56:41 +02:00
Zbigniew Zdanowicz
02cf62902b
Add hardware support for each pipeline property
...
This change is a baseline for tight control over
when dispatch pipeline state commands and which
pipeline state properties can be changed for a
given hardware platform
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-08-23 17:29:14 +02:00
Kamil Kopryk
9974d95dc3
Restore wait on user fence during cmdlist destoy/reset
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-7156
2022-08-23 16:51:56 +02:00
Patryk Wrobel
60451b590d
Perform deep-copy of helper's name
...
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-08-23 16:42:40 +02:00
Dunajski, Bartosz
595cfebaef
Refactor PIPE_CONTROL programming
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-08-23 13:55:25 +02:00
Maciej Plewka
8388e6cf4a
Return error when image arg does not support media block commands
...
Related-To: NEO-7168
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-08-23 12:07:29 +02:00
Patryk Wrobel
063bdc3fa6
Do not redundantly call std::to_string() multiple times
...
This change removes unneeded recalculation of hash as well
as redundant calls to std::to_string().
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-08-23 11:57:22 +02:00
Patryk Wrobel
f7925b9f15
Use unique_ptr in tests of surface
...
This change removes manual memory management via new/delete
and replaces it with std::unique_ptr.
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-08-23 11:32:50 +02:00
Joshua Santosh Ranjan
5584c1fe7a
Set guid and offset for reading UUID
...
Related-To: LOCI-2831
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-08-23 09:03:10 +02:00
Zbigniew Zdanowicz
315f6230bf
correct name of evict flag to match wddm
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-08-22 18:14:51 +02:00
Wrobel, Patryk
a6c7f341dd
Improve safety of makeCopy() function
...
The mentioned function allocates and copies elements
of size 1. Therefore, the implementation was simplified
and additional check was added to avoid possible UBs.
Signed-off-by: Wrobel, Patryk <patryk.wrobel@intel.com >
2022-08-22 17:16:53 +02:00
Daria Hinz
ccb855de32
Add ids command info to ocloc
...
New ocloc ids <acronym> cmd has been added in NEO-7159,
but the addition of info has been omitted.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-08-22 16:31:24 +02:00
Zbigniew Zdanowicz
9cf95c044e
Refactor and reposition state base address tests
...
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-08-22 16:31:09 +02:00
Zbigniew Zdanowicz
d4eb01f0c2
Add missing platform files to cmake
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-08-22 12:14:43 +02:00
Rafal Maziejuk
5d88952817
Fix unused local variable warning
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-08-22 11:27:04 +02:00
Lukasz Jobczyk
82e29fd048
Add bcs split control mask
...
Introduce debug variable to control which engines
the tranfser will be split into
Related-To: NEO-7173
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-08-19 13:21:10 +02:00
Compute-Runtime-Validation
7319d05469
Revert "feat(zebin): set missing pointer size for arg type buffer address"
...
This reverts commit cc17c53a77 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-08-19 06:54:59 +02:00
Kacper Nowak
cc17c53a77
feat(zebin): set missing pointer size for arg type buffer address
...
Set missing pointer size for argument type buffer address in zebin.
This PR is related to test failures after merging corresponding IGC
change.
Related-To: IGC-5486
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-08-18 20:37:24 +02:00
Krystian Chmielewski
18adbed233
feat(zebin): add thread scheduling mode support
...
Resolves: NEO-7197
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-08-18 16:10:18 +02:00
Mateusz Hoppe
01b324953e
L0Debug - allocate per-tile ISA when tileAttach is enabled
...
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-08-18 15:48:31 +02:00
Zbigniew Zdanowicz
0011368775
Add parameter to set surface state base address value
...
This change introduces capability to set surface state base address
when surface state heap or global base address are not available
Related-To: NEO-7187
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-08-18 15:36:43 +02:00
Artur Harasimiuk
99c5de855c
improve error reporting from ULTs
...
- preserve original stdout and restore in signal handler what is needed
if stdout capture was enabled by GTest framework
- print information about time elapsed on SIGALRM
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-08-18 15:21:53 +02:00
Lukasz Jobczyk
b10b3ed9dd
Add initial enqueue bcs split infrastructure
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-08-18 15:02:08 +02:00
Dominik Dabek
aa3a4765b9
Respect ForceAllResourcesUncached flag
...
Respect debug flag ForceAllResourcesUncached even when
Override L1 Policy flags are also set
Related-To: NEO-7003
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-08-18 11:46:33 +02:00
Zbigniew Zdanowicz
acac5ea0d5
Use correct engine group type when programming state base address
...
Command lists and their helper classes should use engine group type
assigned to the particular command list to check if it is RCS group
and not use default CSR class assigned to the device, since default
and current in command list might be different.
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-08-17 20:38:23 +02:00
Wrobel, Patryk
dda5b19859
Adjust the implementation of strncpy_s() for Linux
...
This change:
- prevents writing memory out of the range of the destination buffer
- prevents calling strlen() with non-null terminated c-string
- corrects the logic, which validates passed range to proceed
when real length fits the destination buffer
Related-To: NEO-7264
Signed-off-by: Wrobel, Patryk <patryk.wrobel@intel.com >
2022-08-17 18:37:46 +02:00
Warchulski, Jaroslaw
260a324a6f
Move files between shared/test/common and /unit_test (xe_*_core, page_fault...)
...
common/xe_hpc_core/test_preemption_xe_hpc_core -> unit_test/xe_hpc_core
common/xe_hpg_core/excludes_xe_hpg_core -> unit_test/xe_hpg_core
common/xe_hpg_core/dg2/excludes_dg2 -> unit_test/xe_hpg_core/dg2
common/xe_hpg_core/test_preemption_xe_hpg_core -> unit_test/xe_hpg_core
unit_test/base_ult_config_listener.cpp -> common
unit_test/base_ult_config_listener.h -> common
unit_test/test_stats.h -> common
unit_test/test_configuration.h -> common
unit_test/page_fault_manager/cpu_page_fault_manager_tests.h -> common/fixtures
unit_test/page_fault_manager/mock_cpu_page_fault_manager.h -> common/mocks
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-08-17 16:17:00 +02:00
Kacper Nowak
497e5a4765
Zebin: Create mock zebin module for L0 common test module
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-08-17 15:12:49 +02:00
Rafal Maziejuk
d36a383a84
Delete redundant matchers and use common matchers instead
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-08-17 13:54:15 +02:00
Zbigniew Zdanowicz
6c38b36251
Unify getting state base address command space from command buffer
...
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-08-17 11:49:02 +02:00
Warchulski, Jaroslaw
d795182eae
Move files from shared/test/unit_test to /common (preamble, utilities)
...
unit_test/preamble/preamble_fixture.h -> common/fixtures
unit_test/source_level_debugger -> common/
unit_test/utilities/base_object_utils.h -> common/utilities
unit_test/utilities/destructor_counted.h -> common/utilities
unit_test/utilities/logger_tests.h -> common/utilities
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-08-17 11:24:58 +02:00
Mateusz Jablonski
649cd3441a
Rename TestBodyImpl->testBodyImpl
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-17 10:47:05 +02:00
Zbigniew Zdanowicz
ceb9d81f87
Add struct argument for input/output in StateBaseAddressHelper
...
This refactor makes future interface changes easier
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-08-17 10:28:49 +02:00
Cetnerowski, Adam
9b1afe4067
Minor: Add missing override
...
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com >
2022-08-17 10:00:02 +02:00
Mateusz Jablonski
bca852617c
Remove usage of TestLegacy from opencl tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-16 22:16:48 +02:00
Kacper Nowak
44d218e52e
Linker: Add support for relocation type PerThreadPayloadOffset
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-08-16 19:14:27 +02:00
Rafal Maziejuk
5e58104f5a
Add flag to control prefetcher disabling behaviour
...
Certain platforms might not require prefetcher to
be disabled in direct submission. This change
provides a way to control that behaviour.
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-7218
2022-08-16 16:01:30 +02:00
Mateusz Jablonski
bfc0919999
Remove usage of TestLegacy from shared tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-16 14:36:33 +02:00