1d4240a0c8
Move ClCoreHelper ownership to RootDeviceEnvironment 1/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Use RootDeviceEnvironment getHelper<ClCoreHelper> for
- requiresNonAuxMode
- requiresAuxResolves
2022-11-15 10:35:22 +01:00
25a5ed0dca
Allocate buffers in local memory for PVC multi root device platforms (1/n)
...
PVC platform with no support for atomic operations on system memory
must always allocate buffers in local memory to avoid atomic access violation.
Note: the feature is being implemented under the new registry key
AllocateBuffersInLocalMemoryForMultiRootDeviceContexts (disabled by default)
Related-To: NEO-7092
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2022-11-14 13:56:50 +01:00
f71f6c564d
Move hw_helper tests to shared folder
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-11-09 15:18:00 +01:00
474a860c49
Remove not needed getInterfaceDescriptorDataSize helper function
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-11-09 12:56:22 +01:00
46098e0e17
Introduce getHelper - common getter for HwInfoConfig and HwHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Added getHelper common getter for hwInfoConfig and hwHelper
and use it as CoreHelper(HwHelper) and ProductHelper(HwInfoConfig)
2022-11-09 12:18:31 +01:00
c027d2c494
Remove not needed isL3Configurable helper function
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Remove isL3Configurable function from
- HwHelper
- PreambleHelper
2022-11-08 14:11:23 +01:00
eafea5e2fe
Move HwInfoConfig ownership to RootDeviceEnvironment 1/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
- Added HwInfoConfig getter in RootDeviceEnvironment,
which temporarily takes HwInfoConfig from the global array
- use HwInfoConfig from RootDeviceEnvironment to
call ConfigureHardwareCustom function
- Added getHwInfoConfig in DeviceFixture
- ConfigureHardwareCustom function and few others changed to const
- Small code cleanup
2022-11-08 10:52:08 +01:00
0b02e7a48b
Remove not needed HwHelper functions
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Remove not needed HwHelper functions
- getBindingTableStateSurfaceStatePointer
- getBindingTableStateSize
- getBindingTableStateAlignement
2022-11-08 09:16:28 +01:00
04a66d2b61
Move helpers tests to shared
...
ray tracing tests
engine node helper xehp and later tests
hw helper tests
move shared ult from command queue to helpers
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-07 15:36:22 +01:00
5cfb59c27e
Disable timestamp shift for gen9
...
also move hwhelper tests from opencl to shared folder
Related-To: HSD-18025130857
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-11-05 11:58:14 +01:00
69bef975f0
OCL cache per thread data
...
Add caching mechanism for local ids in OCL.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-11-02 17:07:29 +01:00
33d9c5979a
Revert "Enable flush task for immediate command lists"
...
This reverts commit 95c3ef28fc
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-29 15:48:44 +02:00
95c3ef28fc
Enable flush task for immediate command lists
...
Previously enabled for: DG2, PVC.
With this commit enabling for Gen9 onwards.
Related-To: LOCI-3379
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-10-28 19:17:42 +02:00
fad7f10b7b
Remove fallback path for PAT index programming
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-25 16:24:43 +02:00
f976c7a313
Revert "Allocate RTDispatchGlobals as unboxed array"
...
This reverts commit eaa4965ae8
.
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2022-10-24 05:16:03 +02:00
fb453f5190
Revert "Enable flush task for immediate command lists"
...
This reverts commit a4eb78d524
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-19 03:32:53 +02:00
a4eb78d524
Enable flush task for immediate command lists
...
Enabling for all platforms
Related-To: LOCI-3379
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-10-18 17:17:05 +02:00
71bef6094d
Use max enabled slice in debugger thread mapping
...
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-10-03 18:11:50 +02:00
eaa4965ae8
Allocate RTDispatchGlobals as unboxed array
...
Previously we used an array-of-pointers approach, but using an
array-of-structures is in some ways simpler.
We also split out the RTStack as a separate allocation.
Related-To: LOCI-2966
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2022-09-28 03:42:14 +02:00
f5575a1370
Revert "Remove fallback path for PAT index programming"
...
This reverts commit faf8d51f6d
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-09-23 20:46:31 +02:00
faf8d51f6d
Remove fallback path for PAT index programming
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-09-21 10:46:43 +02:00
218a98f7f7
Refactor of pipeline select programming
...
Adding new interface to cooperate with hw context state
Simplify programming removing unnecessary functions
Code optimization that stop using expensive call and instead
stores configuration parameter
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-09-15 15:38:10 +02:00
f6bf669ee9
Use forward declarations in compression_selector.h
...
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-09-14 11:54:24 +02:00
1f6c09ba1d
zebin: sanitize scratch space size
...
Sanitize scratch space size to value programmable on GPU.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-09-09 11:50:09 +02:00
16798467ac
Add api specific config for allocation cache
...
Currently disabled for both opencl and level zero
Related-To: NEO-6893
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-09-05 21:15:18 +02:00
0d6bef0753
Add BCS split to api specific config
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-09-05 11:13:10 +02:00
c3f7e40a8d
Rename special pipeline select mode to systolic
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-08-31 22:16:26 +02:00
f656707fc0
Use hardware support flags for state compute mode state changes
...
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-08-25 18:46:37 +02:00
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
595cfebaef
Refactor PIPE_CONTROL programming
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-08-23 13:55:25 +02:00
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
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
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
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
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
d16668300e
Stop using NOLINT for setup and teardown methods
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-17 10:33:02 +02:00
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
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