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
a00e84ebba
Allocate RTStack based on full-die EU count.
...
Related-To: LOCI-3334
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2022-08-11 23:32:59 +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
ed0c36117e
Apply heuristics when setting TG dispatch size on XE_HPC_CORE
...
The default TG dispatch size can be changed
to a better value based on number of threads in TG or
currently available amount of threads on GPU.
Decision on what TG dispatch size should be are based on
implemented heuristics.
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-6989
2022-08-08 16:43:10 +02:00
b38c750cc4
Revert "Add finish before command queue is released"
...
This reverts commit 50fae92ea2
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-08-05 19:25:23 +02:00
1f21d34fd3
Add experimental CL_MEM_DEVICE_ID_INTEL property for memory object creation
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-08-05 14:54:30 +02:00
af91f94098
Improve calculateAvailableThreadCount implementation
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-07-28 11:43:14 +02:00
a3903c385e
Remove HW types from synchronization interface
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-07-25 13:59:26 +02:00
f4879f064f
Allocate per-tile RTDispatchGlobals, handle ray tracing patch tokens.
...
Related-to: NEO-6711
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2022-07-22 06:29:29 +02:00
9c45ced969
Revert "Enable FlushTask for Gen12LP"
...
This reverts commit 7829364e67
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-07-21 19:27:55 +02:00
50fae92ea2
Add finish before command queue is released
...
Related-To: NEO-5279
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-07-20 12:16:27 +02:00
7829364e67
Enable FlushTask for Gen12LP
...
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-07-20 11:29:51 +02:00
52b00a11b0
Remove LSH from CommandQueue
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-07-19 08:47:02 +02:00
e07f9f0698
Add kernel algorithm to check any argument is using system memory
...
Related-To: NEO-6959
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-07-12 13:08:49 +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
461a2eb8c7
Refactor interface to hardware interface
...
Related-To: NEO-6959
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-07-05 11:54:33 +02:00
4bdd8860a1
test.h refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-07-04 18:20:07 +02:00
4fb4a1d77b
Add LogicalStateHelper getter for CommandQueue.
...
Refactor Kernel handling
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-07-04 13:21:15 +02:00
efa19a0b18
Simplify code - reverse helper function logic to avoid not needed negation
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-06-29 09:19:33 +02:00
c90f3b3c93
Correct naming: SetUpImpl -> setUpImpl
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-28 17:59:37 +02:00
1083a0d0c4
Move more timestamp packet tests to shared
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-06-28 15:04:54 +02:00
09d160910d
remove unused includes
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-27 22:59:18 +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
2c853adac3
Use LogicalStateHelper to program ComputeMode
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-06-27 15:25:55 +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
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
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
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
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
b983ea120b
Add mock helper for hwInfoConfig
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-06-21 18:16:08 +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
939d109362
Add LogicalStateHelper class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-06-14 16:57:16 +02:00
c229ace4df
Adjust GmmHelper to be HW aware
...
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-06-13 18:33:06 +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
c59c4b2957
Add hwInfo as argument to method getSupportedDeviceFeatureCapabilities
...
set proper value in method isMatrixMultiplyAccumulateSupported to be
consistent with support of extension *matrix_multiply_accumulate*
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-06-13 15:03:43 +02:00
8de043b71f
Stop redundant SBA programming due to global atomics
...
For all platforms different than XE_HP_SDV (ATS) stop considering the
`useGlobalAtomics` flag as a decisive factor for trigerring the SBA
(StateBaseAddress) programming on the HW. Only XE_HP_SDV supports such
flag.
For consistency of the implementation, keep the related logic in one
place only, that is a helper in `command_encoder` and then just reuse it
in different places (`command_stream_receiver`).
Related-To: NEO-6953
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2022-06-08 10:39:56 +02:00
c303c218be
Add missing pragma once in header files
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-06-07 16:19:11 +02:00
0a3c960d61
Enable update task count from wait on DG2
...
Related-To: NEO-6948
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-06-06 11:41:27 +02:00
8812f6250b
Fix timestamp conversion by using correct timestamp size mask
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-05-25 17:19:16 +02:00
b6a9ed98c9
test: move drm mocks/fixtures and related tests to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-23 17:48:07 +02:00
3f04769f07
style: configure readability-identifier-naming.FunctionCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-17 20:55:56 +02:00
96e1eb7467
Move variables baseDieRev and baseDieA0Masked from xe_hpc to pvc
...
Pvc specific variables should be located in pvc struct
Related-To: NEO-6738
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-05-17 12:19:16 +02:00
819e0f5515
style: configure readability-identifier-naming.LocalVariableCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-16 12:39:44 +02:00
e722afbefb
Track waitlist TimestampPackets to avoid too early return to the pool
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-05-12 13:54:04 +02:00
0b68fdbe52
Move isCooperativeEngineSupported to HwInfoConfig
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-05-12 12:10:23 +02:00
fb4b1cca4f
Use internal blitter for internal memory transfers
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6621
2022-05-11 19:33:00 +02:00
e9be9b64c6
clang-tidy configuration cleanup
...
Define single .clang-tidy configuration with all used checks and use
NOLINT to selectively silence tool. That way cleanup should be easier.
third_part/ has its own configuration that disables clang-tidy for this
folder.
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-11 14:02:04 +02:00
5507633d15
Revert "Enable update task count from wait on DG2"
...
This reverts commit 99c424b6ff
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-05-10 14:26:24 +02:00
b42a49eb4b
Limit pipeline selection to Xe
...
Related-To: NEO-6624
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-05-09 13:16:43 +02:00