4b42b066f8
Use dedicated using type for TaskCount
...
Related-To: NEO-7155
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-11-28 16:44:44 +01:00
67d7846974
Prepare ults for patch tokens cleanup
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: IGC-5606
2022-08-18 20:14:27 +02:00
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
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
5ffeac44c5
Correct shared fixture methods name to meet clang-tidy requirements
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-16 12:52:49 +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
e7cca25894
CMake: don't include shared/test/unit_test when shared tests are skipped 1/n
...
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-08-09 11:41:09 +02:00
4bdd8860a1
test.h refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-07-04 18:20:07 +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
3f04769f07
style: configure readability-identifier-naming.FunctionCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-17 20:55:56 +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
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
f8c104feaa
Use fw declaration of IndirectHeap in CommandContainer
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-01-26 13:30:26 +01:00
59683ec491
Remove device enqueue part 6
...
- isParentKernel, peekParentKernel, parentKernel
- structs: AUBParentKernelFixture, MockParentKernel,
ParentKernelCommandQueueFixture
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-17 13:56:29 +01:00
a9ebb49fb5
Remove device enqueue part 1
...
Remove:
-tests with matcher for device enqueue
-classes: MockDeviceQueueHw, DeviceQueueHw, SchedulerSimulation,
DeviceQueueHwTest, KernelArgDevQueueTest
-functions: forceDispatchScheduler, processDeviceEnqueue, dispatchScheduler
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-11 15:29:49 +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
29f74a1a98
Rename cmake GEN variables
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-11-24 14:42:57 +01:00
bdf5a1c39c
Disable deviceEnqueue for BDW
...
Related-To: NEO-6378
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-11-15 12:49:59 +01:00
58ebebeec6
Move drm_memory_manager_tests.h and related fixtures to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-21 20:46:58 +02:00
b1df167632
Move enable_product.inl to shared
...
extract api agnostic validators to shared
remove not needed opencl includes from neo shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-12 22:02:16 +02:00
7187769744
Move kernel binary helpers to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-06 13:41:34 +02:00
9bea74a780
move mock_memory_manager to shared
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-10-05 16:22:38 +02:00
bd9457262e
Removing dependent commandQueue kernels
...
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com >
Related-To: NEO-6212
2021-09-23 14:04:53 +02:00
63f8c9d98b
Add new EngineUsage
...
Simplify verifying EngineUsage in tryGetEngine function.
Remove unused getGpgpuEnginesCount function.
Related-To: NEO-4940
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-08-23 17:41:13 +02:00
9bca773b91
Remove command queue constructor
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-07-23 14:16:02 +02:00
58f1499648
Fix dont store gtpin allocation in kernels container
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-07-15 11:17:46 +02:00
a836e7c7b7
Fix process debug data for gtpin
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-06-15 18:36:35 +02:00
e605efb88e
Fix pass debugData from kernel descriptor to gtpin
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-05-21 16:54:51 +02:00
3bd4bca911
Copyright header update
...
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).
Signed-off-by: lgotszal <lukasz.gotszald@intel.com >
2021-05-17 20:38:19 +02:00
2f4f5a22ae
GTPinFree to check for buffer in shared memory
...
Related-To: NEO-5667
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-04-29 09:56:41 +02:00
ef71915c71
Remove KernelArgInfo and use KernelDescriptor's args instead
...
Related-To: NEO-4729
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-04-23 15:12:09 +02:00
da7eaff0fe
Decompose hw helper for GTPin functionality
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-04-07 15:09:37 +02:00
0451e03525
Add GTPin feature to allocate buffer in shared memory
...
Related-To: NEO-5667
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-04-07 10:10:17 +02:00
1dede48469
Revert "Add GTPin feature to allocate buffer in shared memory"
...
This reverts commit 255e85c124
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-04-03 20:28:11 +02:00
255e85c124
Add GTPin feature to allocate buffer in shared memory
...
Related-To: NEO-5667
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-04-02 15:09:07 +02:00
d730ce19f3
Correct expectation of number binding table states
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-03-24 13:09:02 +01:00
35ff284944
Cleanup Kernel class
...
move deviceVector to MultiDeviceKernel class
remove Device arg from Kernel's methods
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-03-24 09:17:41 +01:00
7098e9c5f2
Store single KernelInfo in Kernel
...
remove root device index from Kernel's methods
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-03-22 21:30:03 +01:00
8d55bfe21d
Implement zeCommandListAppendLaunchCooperativeKernel
...
Resolves: NEO-4725
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-03-22 19:26:41 +01:00
35d2325361
Remove KernelDeviceInfo struct
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-03-22 14:25:23 +01:00
b07f0e81b7
Store multiple Kernels in MultiDeviceKernel
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-03-17 10:27:03 +01:00
3f5b9df122
Pass EngineUsage to getEngine
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5610
2021-03-16 16:31:44 +01:00
04eca48ee0
Introduce MultiDeviceKernel class
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-03-15 11:46:52 +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
ff3d4799ca
Refactor cmake
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2020-12-22 00:41:43 +01:00
ee0523ae23
Correct device usage in kernel methods
...
pass device to substituteKernelHeap
use proper device when iterating over devices
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-17 14:46:46 +01:00
4948c39d39
Remove executionEnvironment from KernelInfo
...
Related-To: NEO-3739
2020-12-16 14:56:57 +01:00
aa1fc85257
Store device specific kernel members per root device
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-10 17:57:39 +01:00
350ec9f16b
Pass root device index to get proper kernel info
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-09 19:11:43 +01:00
c8d1e082dd
Update getKernelInfo method
...
add root device index parameter to return proper kernel info
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-08 09:14:44 +01:00