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
e6fc458d4b
Add a struct for test fixtures with correct method naming convention
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-11 12:55:52 +02:00
a6c1d9578e
Move files between shared/test/common/helpers and shared/test/unit_test/helpersi
...
unit_test/helpers/cmd_buffer_validator.h -> common/helpers
unit_test/helpers/gtest_helpers.h -> common/helpers
common/helpers/blit_commands_helper_tests.inl -> unit_test/helpers
common/helpers/simd_helper_tests.inl -> unit_test/helpers
common/helpers/simd_helper_tests_pvc_and_later.inl -> unit_test/helpers
common/helpers/state_base_address_tests.h -> unit_test/helpers
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-08-10 15:23:12 +02:00
e51294b4c1
includes cleanup
...
use hw_test_base.h instead of hw_test.h.
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-07-08 14:28:11 +02:00
e245523730
per gen/per sku TEST_F/TEST_P refactor
...
In gen/sku specific tests include only required files to reduce
dependency on not related HW scpecific headers and improve build
performance.
This is achieved by reduce in usage of hw_test.h and related collateral,
like shared/source/helpers/definitions/hw_cmds.h which can be replaced
by sku specific hw_cmds_<sku>.h
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-07-06 23:13:46 +02:00
4bdd8860a1
test.h refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-07-04 18:20:07 +02:00
28edaa9a2d
cmake cleanup
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-30 10:54:21 +02:00
6d43e96dee
style: configure readability-identifier-naming.ClassCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-13 18:02:39 +02:00
1cffe921ba
Move hw_info_config tests to shared
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-06-01 18:34:18 +02:00
14134be74e
Move hw_info_config tests to shared
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
2022-05-30 18:10:02 +02:00
3d8effcd69
Clean-Up unused code related to GMock
...
This commit:
- Removes usings e.g. ::testing::Return
- Removes unnecessary gmock inclues
- Replaces Gmock macros (e.g. EXPECT_THAT) with our custom implementations
Related-To: NEO-4941
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2022-03-22 16:16:34 +01:00
c30ee611de
Add ocl to filenames with excludes for opencl unit tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-17 17:59:05 +01:00
4b0d986876
Move AllocationType enum out of GraphicsAllocation class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-04 17:49:09 +01:00
cbdf324a70
set islockable only for non shareable memory
...
-Fix gen12 helper to only set islockable on the storage if
the allocation is not shareable.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2022-02-02 21:21:03 +01:00
72edadb265
Remove not used GT type info
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-01-26 18:06:38 +01:00
479c97beaf
Fix tests case name
...
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-01-18 18:49:57 +01:00
37c78b9ef7
Disable bliter on DG1 Linux
...
move dg1 hw info config tests to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-12 15:10:14 +01:00
e4bbed49d0
Use full path to include test.h 1/n
...
fix files in opencl
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 12:34:34 +01:00
f5998b15fc
Move DG1 ULT into proper place
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-12-10 14:19:28 +01:00
b4f4cad6f9
Add ults for overrideGfxPartitionLayoutForWsl function
...
- move implementation from linux to shared
Related-To: NEO-6391
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-12-09 15:22:51 +01:00
8c93004937
Unify device id tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-09 13:53:10 +01:00
995cb88bfa
Improve ftr/wa flags packing
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-11-25 16:05:57 +01:00
3a2b018eb6
Enable blitterOperationsSupported on DG1
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-28 14:16:19 +02:00
d34ef3170a
Remove CPP_ATTRIBUTE_FALLTHROUGH macro
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-10-22 17:27:57 +02:00
7b57e87ad1
Move some mocks to shared
...
- MockAllocationProperties
- MockBuiltinsLib
- MockWddmMemoryManager
- MockAubCsr
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-15 09:59:47 +02:00
5856c283c5
Remove HardwareCapabilities struct
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-10-12 07:25:06 +02:00
f5be28e45f
Add storage info adjustment check
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-4541
2021-09-28 11:49:35 +02:00
82f27e882d
Refactor Gen12LP helpers
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-4541
2021-09-27 14:07:37 +02:00
09ac89339e
Move local memory access mode getters from HwHelper to HwInfoConfig
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-4541
2021-09-13 13:10:14 +02:00
c96bd1b35d
Move getHwRevIdFromStepping function from HwHelper to HwInfoConfig
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-4541
2021-08-24 15:45:19 +02:00
63a578f5a4
Move obtainBlitterPreference function from HwHelper to HwInfoConfig
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-4541
2021-08-17 17:51:06 +02:00
2afb785bba
Add AIL functionality
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-08-02 15:31:58 +02:00
038da95cf4
Enable gen specific test excludes
...
Resolves: NEO-6007
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-07-05 20:12:42 +02:00
a49b45a679
Initialize HwInfo in tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-06-30 17:59:46 +02:00
6fb1be80c8
Update test exclude macros
...
Unify exclude macros and respect them in all custom test macros.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-06-30 14:27:15 +02:00
366f4f1394
Correct hw info config
...
Affected products: ADLS, DG1
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-06-16 09:58:37 +02:00
b3283a4490
When initializing gtSystemInfo initialize DualSubSliceCount
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-06-01 14:52:19 +02:00
ed31aaedb8
Make BUFFER allocation lockable on DG1
...
Related-To: NEO-5733
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-05-21 17:05:51 +02:00
24bc854f90
Increase KMD notify delay for DG1 platform
...
Related-To: NEO-4759
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-05-05 21:45:51 +02:00
c99b223aed
Implement cl_intel_device_attribute_query extension
...
Related-To: NEO-5759
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-04-22 11:19:32 +02:00
62d52ba2e9
Fix DG1 tests fail
...
Related-To: NEO-5679
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2021-04-21 18:47:22 +02:00
889f1d0ae5
Enable KMD Notify on Linux DG1
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-04-07 13:54:40 +02:00
6163120809
Remove unnecessary check for gen12lp during symbol relocations
...
Related-To: NEO-5433
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com >
2021-03-30 11:48:06 +02:00
700fad64ff
Correct stepping usage
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-02-26 10:07:48 +01:00
8a700c5187
Move non-ult shared files to single directory
...
Add SKIP_SHARED_UNIT_TESTS flag
Related-To: NEO-5201
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2021-02-10 21:03:13 +01:00
b9a185df76
ULT renaming: HW Info Setup tests
...
Related-To: NEO-2236
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-11-30 19:37:44 +01:00
949137e068
Remove not used method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-19 17:55:50 +01:00
b7d5427f01
CPU access disallowed mode and blitter amendments
...
Related-To: NEO-4876
Change-Id: I7d6de1a0530e9c4f8bcf302824242033d3ca724a
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2020-11-03 13:04:28 +01:00
4d2750161d
Move OsAgnosticMemoryManager to shared
...
Resolves: NEO-5188
-move MockGraphicsAllocation to shared
Change-Id: I17e90af48183f003151fab075a46e40d7df3f160
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-11-02 21:02:53 +01:00
74aea08d15
Add DG1 device
...
Change-Id: Iaa5a115577e2cf94160164e67bbafb79d0374ff5
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-10-07 12:43:55 +02:00