211cc8552a
Move hwHelper ownership to RootDeviceEnvironment 4/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
UseRootDeviceEnvironment getHelper<CoreHelper> for:
- isLocalMemoryEnabled
- getSipKernelType
- is1MbAlignmentSupported
2022-11-15 08:23:53 +01:00
e75d62af5d
Set as default use of device based timestamps
...
Related-To: NEO-7042
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-11-10 16:39:56 +01:00
c0ce5f4684
Revert "Set as default use of device based timestamps"
...
This reverts commit 2d229f3fea
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-11-10 11:21:00 +01:00
2d229f3fea
Set as default use of device based timestamps
...
Related-To: NEO-7042
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-11-08 13:34:58 +01:00
bbd75959d5
Calculate CS timestamp based on OA timestamp and frequencies ratio
...
Changes affect cores up to xe_hpg
Resolves: NEO-7346
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-10-28 16:26:53 +02:00
510ba12cbc
Use DSS when calculating max wgs on TGLLP and DG1
...
Use DualSubSlice count instead of SubSlice count when calculating wgs on
TigerLake LP and DashG1.
Related-To: NEO-5719
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-10-19 12:23:51 +02:00
5e36b1fcbf
Revert "Calculate CS timestamp based on OA timestamp and frequencies ratio"
...
This reverts commit 03c528382f
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-16 11:14:46 +02:00
03c528382f
Calculate CS timestamp based on OA timestamp and frequencies ratio
...
Resolves: NEO-7346
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-10-13 17:41:49 +02:00
ec3668fc18
Add initialization method to ioctl helpers
...
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2022-09-22 11:55:59 +02:00
cfe51ff2ba
Remove not used isSimulation functions
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-09-20 11:01:55 +02:00
3d5e34f727
Reduce the size of masks to 4.
...
32 is not required.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-09-19 21:53:40 +02:00
6118e41741
do not load FCL in Level Zero runtime
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-08-31 13:51:23 +02:00
1a28c2a154
Add threads count queries
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-08-24 13:18:20 +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
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
aed890a219
Move files between shared/test/unit_test and /common (fixtures, helpers, mocks)
...
unit_test/fixtures/mock_aub_center_fixture.h -> common/fixtures
unit_test/helpers/raii_hw_helper.h -> common/helpers
unit_test/helpers/static_size3.h -> common/helpers
unit_test/helpers/ult_limits.h -> common/helpers
unit_test/memory_manager/mock_prefetch_manager.h -> common/memory_manager
common/mocks/mock_aub_stream.h -> unit_test/mocks
common/mocks/mock_csr_simulated_common_hw.h -> unit_test/mocks
common/mocks/mock_direct_submission_diagnostic_collector.h -> unit_test/mocks
common/mocks/mock_lrca_helper.h -> unit_test/mocks
common/mocks/mock_tbx_stream.h -> unit_test/mocks
common/mocks/linux/mock_os_context_linux.h -> unit_test/mocks/linux
common/mocks/windows/mock_wddm_direct_submission.h -> unit_test/mocks/windows
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-08-11 12:53:19 +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
b450d3c20b
Add cl_khr_device_uuid to extension list
...
Related-To: NEO-5681
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com >
2022-07-18 12:28:04 +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
e500581da3
Update CL_DEVICE_LATEST_CONFORMANCE_VERSION_PASSED value
...
Signed-off-by: Wawiorko, Grzegorz <grzegorz.wawiorko@intel.com >
2022-06-28 12:00:18 +02:00
b0d4215328
Revert "Use DualSubSliceCount to calculate workgroup size"
...
This reverts commit 8ea5bbd3b5
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-06-28 11:47:11 +02:00
8ea5bbd3b5
Use DualSubSliceCount to calculate workgroup size
...
Related-To: NEO-5719
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com >
2022-06-27 15:41:47 +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
f98c6b1a8b
Disable round robin engine assign on PVC
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-06-20 15:24:18 +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
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
6e30f39acb
Use sub-devices count when calculating globalMemCacheSize
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-05-25 16:35:32 +02:00
d9858bf206
Add debug variable to override device name
...
This commit introduces debug variable to override device name reported
by CL_DEVICE_NAME property in OpenCL and ze_device_properties_t.name in
level_zero
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2022-05-19 15:16:13 +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
4e4560fe91
Add cl_device_uuid_khr to getDeviceInfo.
...
Related-To: NEO-5681
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com >
2022-05-11 14:59:20 +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
0b4ea8d2eb
Do not enable engines round robin on all xe_hp and later products
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-05-06 12:30:53 +02:00
1088bfd837
Move shared ULT helper files to shared directory
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-05-06 09:20:27 +02:00
903cf766b3
Revert "Move shared helper files to shared directory"
...
This reverts commit 459524f129
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-04-27 13:12:16 +02:00
459524f129
Move shared helper files to shared directory
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-04-27 10:34:42 +02:00
e32f624bf4
Update extension name
...
Resolves: NEO-6831
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-03-31 17:17:33 +02:00
174c27eb31
Fix CFEFusedEUDispatch debug flag
...
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2022-03-28 12:32:05 +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
f8449fb216
Add round robin engine assign controls
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-03-14 10:57:20 +01:00
91cf5064de
Use timestamps reported by KMD.
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-02-09 10:03:41 +01:00
73f8d9e3ed
Remove device enqueue part 14
...
- rename not proper structs
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-31 17:46:57 +01:00
92316c48f2
Remove device enqueue part 13
...
-remove isOcl21Conformant
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-31 16:02:37 +01:00
26d10eb985
Revert "Remove device enqueue part 13"
...
This reverts commit 0ec6deddf1
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-01-30 15:52:24 +01:00
0ec6deddf1
Remove device enqueue part 13
...
- update isOcl21Conformant, supportsOcl21, REQUIRE_OCL_21_OR_SKIP
(remove deviceEnqueueSupport check)
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-28 15:33:51 +01:00
58055aecdf
Remove device enqueue part 12
...
remove:
- debug flag ForceDeviceEnqueueSupport
- functions isDeviceEnqueueSupported, supportsDeviceEnqueue
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-28 13:38:34 +01:00
4238679078
Refactor implicit scaling device support
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-18 13:08:43 +01:00
a18c706408
Move neo device caps tests to shared
...
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-01-03 18:05:11 +01:00
534280fad6
Disable device enqueue
...
on icllp, cfl, kbl, skl
Resolves: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-03 17:34:30 +01:00
1f9f001599
Revert "Disable device enqueue"
...
This reverts commit 10357fbf22
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-12-28 09:44:57 +01:00