0fd8b850a6
Support for enabling perf counters with clCreateCommandQueueWithProperties
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-03-22 10:33:40 +01:00
eef82189e5
Improve caching in clSetKernelArgSVMPointer 3/n
...
Add missing ult for 2/n
Related-To: NEO-6737
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-03-11 14:21:14 +01:00
d5fedf90c5
Fix for svm pointer arg caching
...
Previous version could cause segfaults.
Related-To: NEO-6737
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-03-08 12:13:15 +01:00
7ab86d44d6
Improve caching in clSetKernelArgSVMPointer
...
Check allocId earlier and also reuse if allocationsCounter did not
change from last call.
Related-To: NEO-6737
Co-authored-by: Michal Mrozek <michal.mrozek@intel.com >
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-03-02 15:56:21 +01:00
dad2b2120b
Add missing tests for clSetKernelArgSVMPointer
...
Related-To: NEO-6737
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-03-01 15:42:41 +01:00
b9d8d8c0fd
Optimize setKernelArgSVMPointer
...
If same pointer is already set, we don't need to set it again.
Related-To: NEO-6737
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-03-01 09:12:13 +01:00
7f729b7f89
Detect GPU hang in clWaitForEvents
...
This change:
- moves NEO::WaitStatus to a separate file
- enables detection of GPU hang in clWaitForEvents
- adjusts most of blocking calls in CommandStreamReceiver to return WaitStatus
- adds ULTs to cover the new code
Related-To: NEO-6681
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-02-23 13:33:09 +01:00
e518a8f3f9
Add debug flag ForceExtendedUSMBufferSize
...
Forces extended buffer size by adding pageSize specify by number when
debug flag is >=1 in:
- clHostMemAllocINTEL
- clDeviceMemAllocINTEL
- clSharedMemAllocINTEL
Usage:
ForceExtendedUSMBufferSize=2
size += (2 * pageSize)
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-02-07 11:44:31 +01: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
8a4d28ef8b
Fix profiling calculation logic
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-02 10:37:07 +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
f064f7dd67
Check if origin + region doesn't exceed image dimensions
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-6137
2022-01-25 15:13:15 +01:00
3d9e1ea3a5
Remove device enqueue part 11
...
- remove templates from queue functions
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-25 12:40:56 +01:00
b75f5d4c8b
Add debug flag ForceExtendedBufferSize
...
Forces extended buffer size by adding pageSize specify by number when
debug flag is >=1 in:
- clCreateBuffer
- clCreateBufferWithProperties
- clCreateBufferWithPropertiesINTEL
Usage:
ForceExtendedBufferSize=2
size += (2 * pageSize)
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-01-19 18:52:10 +01:00
a06fbd2077
Remove device enqueue part 10
...
- remove DeviceQueue
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-19 17:41:06 +01:00
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