29c64c3dd0
Disable implicit scaling for cooperative kernels
...
When implicit scaling is disabled use useSingleSubdeviceValue = true.
Resolves: NEO-5757
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-08-18 14:56:37 +02:00
23b72decc3
Add OCL xe_hp_core unit tests - part 2
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-08-10 16:12:30 +02:00
470c49b24f
Update TSP tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-08-03 21:38:26 +02:00
66ee5bd3c4
Correct typo
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-08-03 20:08:18 +02:00
eb14d8458b
Add helper function to enable stateless compression
...
Related-To: NEO-5107
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-08-02 14:34:33 +02:00
9e50138829
Defer ULLS initialization
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-07-21 15:55:16 +02:00
bbe599aa95
Selectively enable getMaxThreadsForWorkgroup WA
...
Related-To: NEO-6022
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-07-14 17:29:43 +02:00
bc121c09fa
Use DSS count to callculate max work group size
...
This reverts commit 89b7a4c9cc0a69cfd2eb5a0bd138356f34c52f0d.
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-07-05 10:14:20 +02:00
64eb82efac
Add Kernel restrictions
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-07-02 17:41:03 +02:00
aed3fada28
Revert "Use Eu per dss to callculate max work group size"
...
This reverts commit 86b12dd23979db12e1898013c9162cb7106e40f1.
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-07-02 17:16:06 +02:00
bcf93a6aeb
Use Eu per dss to callculate max work group size
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-07-02 12:30:18 +02:00
843b65bb07
Add usingImages field to the Kernel class
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-06-22 15:25:22 +02:00
6fad8b3100
Refactor ocl kernel
...
Removed dispatch traits pointers and added getters. Removed uneeded
tests.
Related-To: NEO-4729
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-06-11 16:52:09 +02:00
8279567f0e
Fix max work group count for esimd kernel
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-05-27 14:13:51 +02:00
7fdab76d96
Code cleanup - constexpr for bitness ults
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2021-05-26 13:23:25 +02:00
d2ac316e47
Improve error handling in clCreateKernel
...
return nullptr when kernel initialization fails
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-05-20 18:58:08 +02:00
a692f1ecc5
Move flag setup after initialization
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-05-20 13:39:18 +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
544890c066
Change default placement of preemption allocation
...
Related-To: NEO-5800
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-05-11 15:26:24 +02:00
bb9d902899
Add padding for ISA allocations
...
Related-To: NEO-5771
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-04-27 11:03:58 +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
33f05a25cd
Fix typo
...
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2021-04-21 16:25:17 +02:00
b5d2d7fc52
Use flushTask() for non-kernel opertaions. Enabled for following APIs
...
appendSignalEvent, appendWaitOnEvent, appendResetEvent and appendBarrier
except for TimeStamp events.
Related-To: LOCI-1987
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2021-04-19 22:24:47 +02:00
43a032d764
Add info about supported thread arbitration policies
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2021-04-07 11:25:33 +02:00
1c2dc70314
Revert "Add info about supported thread arbitration policies"
...
This reverts commit 3d13a9d855
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-04-05 08:46:58 +02:00
3d13a9d855
Add info about supported thread arbitration policies
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2021-04-02 12:19:12 +02:00
4808f663b6
Remove WorkloadInfo from KernelInfo
...
Related-to: NEO-4729
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-03-31 16:29:38 +02:00
8215395401
Simplify Context method
...
return if context has multiple sub devices related to a given root device
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-03-30 10:22:15 +02:00
4a2a14fd41
Refactor getTimestampPacketAllocator method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-29 18:18:56 +02:00
5a50ad098c
Refactor TagAllocator
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-26 15:16:56 +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
3dc3ad36f8
Refactor TimestampPacket class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-22 17:42: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
7a58e7bc3e
Pass Device to Kernel
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-03-19 17:44:54 +01:00
129357410c
Update task count while waiting
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-03-17 15:09:25 +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
41f3bd00ff
Remove PatchTokens from KernelInfo
...
Use KernelDescriptor instead of patchTokens stored in KernelInfo's
patchInfo.
Removed: SPatchMediaInterfaceDescriptorLoad, SPatchAllocateLocalSurface,
SPatchMediaVFEState(slot 0), SPatchMediaVFEState(slot 1),
SPatchInterfaceDescriptorData, SPatchSamplerStateArray,
SPatchBindingTableState, SPatchDataParameterBuffer,
SPatchDataParameterStream, SPatchThreadPayload,
SPatchKernelAttributesInfo, SPatchAllocateStatelessPrivateSurface,
SPatchAllocateSyncBuffer,
SPatchAllocateStatelessConstantMemorySurfaceWithInitialization,
SPatchAllocateStatelessGlobalMemorySurfaceWithInitialization,
SPatchAllocateSystemThreadSurface.
Related-To: NEO-4729
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-03-09 17:09:13 +01:00
583a57c159
Use defaultQueueSurfaceAddress arg instead of patchToken
...
Use KernelDescriptor's defaultQueueSurfaceAddress arg instead of storing
SPatchAllocateStatelessDefaultDeviceQueueSurface token in KernelInfo's
patchInfo.
Related-To: NEO-4729
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-02-26 15:44:40 +01:00
722a80079b
Add experimental_properties for indirect access (2)
...
Add support to OpenCL to also make use of indirect access properties
provided by IGC and to make use of DisableIndirectAccess debug key.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-02-25 11:41:24 +01:00
9bb229f771
Use printfSurfaceAddress arg instead of patchToken
...
Use KernelDescriptor's printfSurfaceAddress arg instead of storing
SPatchAllocateStatelessPrintfSurface token in KernelInfo's patchInfo.
Related-To: NEO-4729
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-02-24 15:51:30 +01:00
8e927b5484
Use EventPoolSurfaceAddress arg instead of PatchToken
...
Use KernelDescriptor's deviceSideEnqueueEventPoolSurfaceAddress argument
instead of storign SPatchAllocateStatelessEventPoolSurface token in
KernelInfo's patchInfo.
Related-To: NEO-4729
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-02-24 11:56:06 +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
f583ec7d8f
Revert "Create a new class for handling multi device SVM arguments in kernel"
...
This reverts commit 00b2a28818
.
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-01-26 16:06:53 +01:00
00b2a28818
Create a new class for handling multi device SVM arguments in kernel
...
set arg SVM for devices in Kernel
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-01-22 15:53:02 +01:00
070c6cdf2f
Update ULTs
...
Related-To: NEO-5368
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-01-14 15:43:04 +01:00
40390f7775
Add simple kernel tunning variant
...
Related-To: NEO-5327
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-01-13 11:09:22 +01:00
239f37da64
Introduce kernel tunning under debug flag
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-12-30 14:05:55 +01:00
1b7d7afc07
Refactor USM properties
...
store reference to std of root device indices and device bitfields
store NEO::Device in USM properties
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-30 11:36:56 +01:00
be7ae13911
Store SLM sizes per root device in Kernel
...
reduce usages of getDefaultKernelInfo
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-22 17:37:43 +01:00