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
e1f42c2ae1
Remove TSP atomic dependency tracking
...
This reverts commit d17668f023bee409ee68e766bbc7d5f16ce8d52b.
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-06-23 16:59:41 +02:00
5e8e066541
Bindless support ocl
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-06-23 13:56:12 +02:00
2ab961be49
Ensure that builtin kernel is patched and can't transform images
...
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-06-22 16:20:07 +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
78e1ea2a68
Don't transform images for builtin kernels
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-06-21 18:30:47 +02:00
9bc4f02a88
Revert "Ensure that builtin kernel is patched"
...
This reverts commit c9c752526e
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-06-21 12:59:27 +02:00
2e97aeccfd
Revert TSP changes
...
This commit reverts:
a1d2bdc76666059653c79fe39a26113ce47c632a,
71a115129c1698ff15305fd0ea3828cba861be47,
e1a9087a466bfba54d84a64247e6596092034a91.
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-06-21 12:44:12 +02:00
c9c752526e
Ensure that builtin kernel is patched
...
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-06-17 17:49:18 +02:00
3137e82fca
Revert "Remove redundant DualSubSliceCount checks"
...
This reverts commit 5e85fe5042
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-06-17 13:47:49 +02:00
5e85fe5042
Remove redundant DualSubSliceCount checks
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-06-17 11:11:56 +02:00
080b1e2f66
Remove redundant TSP completion tracking logic
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-06-15 17:29:19 +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
074fc1d60f
Fix clGetKernelSuggestedLocalWorkSizeINTEL
...
Related-To: NEO-5456
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2021-05-18 13:35:26 +02:00
c4502ccf66
Fix OCL MOCS index with UNCACHED flag
...
Related-To: NEO-5742
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2021-05-04 10:01:44 +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
b7883bf838
Add helper to check if non-AUX mode is required
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-04-26 17:51: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
c84e9ca4f1
Add blitter path for memory transfers to kernel allocations
...
Related-To: NEO-5667
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-04-08 15:55:20 +02:00
69004a7c7d
Add extra parameter to setImageArg()
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-04-01 12:20:29 +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
7bfe26a08d
Remove ensureMemoryOnDevice function
...
Remove:
- ensureMemoryOnDevice
- lastUsedRootDeviceIndex
- requiredRootDeviceIndex
- getMigrateableMultiGraphicsAllocation
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2021-03-29 11:41:07 +02:00
5a50ad098c
Refactor TagAllocator
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-26 15:16:56 +01:00
39acaead23
Don't use program's devices in Kernel class
...
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-03-26 12:07:01 +01:00
d6bbe48175
Handle SVM allocations from multi root device contexts
...
Related-To: NEO-5001, NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-03-24 11:14:39 +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
12458fb183
Remove loops over devices from Kernel's methods
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-03-22 11:57:24 +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
52e118fe49
Add extra parameters to Buffer::setSurfaceState() method
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-03-16 10:17:59 +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
9d0422cf69
Add hwInfo to sampler setArg and appendSamplerStateParams
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2021-02-11 14:21:13 +01:00
3df6110a17
Add extra parameters to setArgStateful()
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-02-05 12:24:27 +01:00
0871c1bb76
Adjust clGetKernelWorkGroupInfo api call
...
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com >
2021-02-05 10:58:00 +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