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
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
068cb09c90
Add function to check for USM host allocations in SVM Allocs Manager
...
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2021-01-12 15:41:24 +01:00
d605234843
Add function to check if kernel has indirect stateless access to host memory
...
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2021-01-11 15:31:47 +01:00
55f3c8f134
Add resolve capability for compressed USM device allocations
...
Related-To: NEO-5107
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2021-01-08 12:16:26 +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
50841bfd0d
Set arg local for all devices in Kernel
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-29 12:40:53 +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
c3083592ad
Set arg immediate for all Kernel devices
...
convert tests to multi root device scenario
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-18 15:56:23 +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
c3c92416db
Enable memory transfer for mem obj kernel args
...
correct building programs with multiple root devices
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-17 11:14:33 +01:00
55fb319517
Set arg buffer for all Kernel devices
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-16 17:27:52 +01:00
4948c39d39
Remove executionEnvironment from KernelInfo
...
Related-To: NEO-3739
2020-12-16 14:56:57 +01:00