c52223e642
Remove device enqueue part 4
...
-remove structs, class and tests with REQUIRE_DEVICE_ENQUEUE_OR_SKIP
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-12 14:54:58 +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
d707a41d60
Correct variable declaration in tests
...
This issue is visible with clang-11 on single sku builds
of xe_hp_sdv and later platforms.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-14 17:45:18 +01:00
d8a2704b7e
Add PVC OCL unit tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-08 16:35:24 +01:00
7bbb43a563
Move sharedSystemMemCapabilities to hwInfo
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6075
2021-11-17 14:42:05 +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
3f2536a6ba
Move storage of mapped operations to OpenCL context
...
Relate-To: NEO-6352
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-10-26 11:52:13 +02: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
116dac90de
Revert "Move storage of mapped operations to OpenCL context"
...
This reverts commit 8c9dd3085b
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-10-19 16:31:23 +02:00
8c9dd3085b
Move storage of mapped operations to OpenCL context
...
Relate-To: NEO-6352
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-10-18 16:08:25 +02:00
852b2f6e6e
Move mock_ostime to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-13 11:24:00 +02:00
bf25853799
Move some mocks to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-12 21:46:53 +02:00
332720920a
Expose clGetKernelSuggestedLocalWorkSizeKHR func
...
Related-to: NEO-2922
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2021-10-12 20:06:57 +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
0363749948
Disjoint local work size code from hw command generation
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-10-06 01:09:56 +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
25c71a6c13
Move kernel info to shared directory
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-09-29 23:49:49 +02:00
7f3b90b07f
Enable Engine Instanced SubDevices
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-09-29 12:01:34 +02:00
d211864410
Fix typo in test name
...
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2021-09-23 09:24:12 +02:00
b505bcdf79
move custom event listener to shared
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-09-20 16:46:50 +02:00
9ccf43e441
Correct branch_dir_suffix in cmake
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6245
2021-09-14 16:00:20 +02:00
0345d9f707
Improve queries with number of SubDevices
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-09-01 14:01:57 +02:00
cb91474b1a
Improve getDevice methods
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-08-26 14:45:00 +02:00
84da4648cd
Refactor engineGroups container
...
Use static array instead of the vector.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-08-19 13:49:32 +02:00
3c15023871
Add AllowUnrestrictedSize debug flag
...
This debug flag allows to allocate memory with size greater than
CL_DEVICE_MAX_MEM_ALLOC_SIZE.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-08-05 15:35:26 +02:00
aed1da7495
Code cleanup - avoid copy 3/n
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2021-07-26 12:25:38 +02:00
9bca773b91
Remove command queue constructor
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-07-23 14:16:02 +02:00
54b4b18fa0
Enable multi root device contexts by default
...
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-07-21 16:16:57 +02:00
c8b85bb5a9
Add method to check tile only context
...
Related-To: NEO-6043
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-07-21 12:22:42 +02:00
b9bd014a44
Add fixes to build with gcc11 ( #5325 )
...
* remove Fedora 31 and 32 builds
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com >
* Add builds on Fedora 33 and 34
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com >
* Fix build with gcc11
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com >
* Remove info about EOL'd distributions
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com >
* clean after build
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com >
Co-authored-by: Jacek Danecki <jacek.danecki@intel.com >
2021-07-20 17:17:32 +02:00
6f3c89decb
Add mechanism to migrate multi root device memory
...
invalidate TLB cache if kernel requires migration
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-07-19 19:49:22 +02:00
42c5f2235b
Fix calculating maxMemAllocSize
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-07-15 22:10:05 +02:00
dc6a35286b
Remove platform references from mock_aub_center_fixture.h
...
Related-To: NEO-5894
Signed-off-by: Piotr Obst <piotr.obst@intel.com >
2021-07-13 10:33:57 +02:00
acf3e58a64
Move wddm_fixture.h and releted files from opencl to shared
...
Related-To: NEO-5894
Signed-off-by: Piotr Obst <piotr.obst@intel.com >
2021-07-07 12:30:12 +02:00
8b48b33a0c
Remove 4GB limit if shared allocations supported
...
Resolves: NEO-5984
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-06-24 13:28:59 +02:00
13b9f54c7d
Check queue capabilities in SVM calls
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-06-23 16:14:31 +02:00
d0cb27226f
Move mocks: cif, gmm context, compilers
...
Related-To: NEO-5161
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-05-27 12:51:28 +02:00
0602a9c285
Use only one device when creating context from type
...
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-05-26 11:51:09 +02:00
7c06f6adc2
OsTime refactor
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-05-20 23:36:13 +02:00
f861b29802
Add ClDeviceGlobalMemSizeAvailPercent debug flag
...
Related-To: NEO-5796
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-05-19 16:16:27 +02:00
074fc1d60f
Fix clGetKernelSuggestedLocalWorkSizeINTEL
...
Related-To: NEO-5456
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2021-05-18 13:35:26 +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
95ba83c7e1
Fix ocl program creation on multi device contexts
...
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com >
Related-To: NEO-5734
2021-05-10 12:30:09 +02:00
5c6018b418
OCL: Enable creating context with multiple devices without subdevices
...
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-04-27 17:32:22 +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
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
9839b3049d
Move unit test helper to shared code
...
Related-To: NEO-5161
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-04-13 20:06:08 +02:00
de23321682
Fix typo
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-04-08 14:13:22 +02:00
c3143ccf1f
Change image with host ptr creation logic in multi device setup
...
When multi device config is available,
then allocations are created in system memory pool.
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2021-04-07 12:24:39 +02:00