Commit Graph

830 Commits

Author SHA1 Message Date
Bartosz Dunajski
e04c5b361a Remove Kernel arg from HardwareCommandsHelper
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-27 11:23:53 +01:00
Krzysztof Gibala
0b7d2da162 Create image allocations in system memory pool
Create image allocations in multi device setup in system memory pool

Related-To: NEO-5508

Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-03-26 15:35:05 +01:00
Bartosz Dunajski
5a50ad098c Refactor TagAllocator
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-26 15:16:56 +01:00
Mateusz Jablonski
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
Artur Harasimiuk
330ee3d227 AubMemDump refactor
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-03-24 18:26:00 +01:00
Mateusz Jablonski
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
Jaime Arteaga
56b2686f0d Add method to get internal copy engine
Related-To: LOCI-2010

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-03-24 10:10:08 +01:00
Mateusz Jablonski
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
Bartosz Dunajski
ee44979bb5 Fix blit enqueue support check
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-23 15:29:12 +01:00
Krzysztof Gibala
bdf8cf5e23 Add crossRootDeviceAccess flag
Add flag to AllocationProperties for setup system memory allocation path
for buffers

Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-03-23 14:56:19 +01:00
Mateusz Jablonski
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
Filip Hazubski
ecceddcab6 Correct clSetKernelExecInfo not to always require SVM support
Resolves: NEO-5269

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-03-22 21:08:03 +01:00
Filip Hazubski
8d55bfe21d Implement zeCommandListAppendLaunchCooperativeKernel
Resolves: NEO-4725


Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-03-22 19:26:41 +01:00
Bartosz Dunajski
3dc3ad36f8 Refactor TimestampPacket class
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-22 17:42:41 +01:00
Mateusz Jablonski
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
Mateusz Jablonski
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
Mateusz Jablonski
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
Maciej Dziuban
2a1a63a823 Ensure valid engine inside OpenCL command queue
Related-To: NEO-5610
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-03-19 13:47:22 +01:00
Mateusz Jablonski
487f10f999 Use MultiDeviceKernel instead of Kernel in clCloneKernel
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-18 20:19:54 +01:00
Slawomir Milczarek
693f2ff384 Ensure shared handle be closed once on Linux
Related-To: NEO-5644

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-03-18 18:38:01 +01:00
Mateusz Jablonski
5de0a7140a Log root device index when logging allocations
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-18 12:47:39 +01:00
Piotr Maciejewski
120b3244dc Ocl Performance Counters: proper cleanup of metrics library query object.
To avoid a case when deleted query could be reused.
Added also transition from libigdml.so to libigdml.so.1
Signed-off-by: Piotr Maciejewski <piotr.mciejewski@intel.com>
2021-03-18 12:37:24 +01:00
Mateusz Jablonski
a612bb32a3 Call MultiDeviceKernel's methods on each kernel
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-18 11:56:31 +01:00
Mateusz Jablonski
b07f0e81b7 Store multiple Kernels in MultiDeviceKernel
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-17 10:27:03 +01:00
Maciej Dziuban
3f5b9df122 Pass EngineUsage to getEngine
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5610
2021-03-16 16:31:44 +01:00
Filip Hazubski
827f75da14 Update unified sharing
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-03-16 13:51:20 +01:00
Filip Hazubski
9a8125cdb0 Correct formatting
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-03-16 10:29:41 +01:00
Igor Venevtsev
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
Piotr Maciejewski
aa05b5adb4 L0 and Ocl Metric Api sub device support
Signed-off-by: Piotr Maciejewski <piotr.maciejewski@intel.com>
2021-03-15 17:14:55 +01:00
Mateusz Jablonski
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
Pawel Wilma
f1d4d8ab4d Use OverrideSlmAllocationSize also in OpenCL
Related-To: NEO-5651

Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2021-03-12 16:11:37 +01:00
Slawomir Milczarek
0f2683074d Add synchronization for VA sharing in multi-thread scenarios
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-03-12 15:44:45 +01:00
Filip Hazubski
ceca8ab05e Correct cmake
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-03-10 21:14:56 +01:00
Filip Hazubski
dca33e10ec Move hw_info_config files to shared
Related-To: NEO-5161

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-03-10 12:49:06 +01:00
Katarzyna Cencelewska
7fdbf4f6ef Correct set pitch in clEnqueueCopyBufferRect
validate dst and src buffers

Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2021-03-10 12:41:51 +01:00
Zbigniew Zdanowicz
779253c49c Add new flag to USM memory manager
Related-To: NEO-5498

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-03-10 11:47:34 +01:00
Krystian Chmielewski
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
Maciej Dziuban
03631ce22b Remove unused paths
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-03-09 13:20:11 +01:00
Mateusz Jablonski
056300f01f Pass internal kernel object to enqueueKernel method
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-08 19:14:08 +01:00
Bartosz Dunajski
8b89fb8541 Capability to exclude Engine on SubDevice
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-08 11:32:13 +01:00
Maciej Dziuban
58757c0535 Refactor bake() method
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-03-08 10:40:53 +01:00
Michal Mrozek
0cd03220df Optimize Fill buffer calls.
- reuse pattern allocations for subsequent calls.

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2021-03-05 15:09:19 +01:00
Maciej Dziuban
1350aa52fb Pass DispatchInfo to estimation functions
Related-To: NEO-5546

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-03-05 12:47:55 +01:00
Slawomir Milczarek
bfd9aba350 Fixed issue with return statement
Related-To: NEO-5577

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-03-05 10:36:11 +01:00
Slawomir Milczarek
905ed9e5bf Extended AUB fixtures with expect compressed memory
Related-To: NEO-5577

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-03-04 18:39:44 +01:00
Kacper Nowak
234b401aab Moved devices.inl and devices_base.inl to shared for future shared use in ocloc
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2021-03-04 13:03:45 +01:00
ocldev
e6cdceffe6 Brand string update
Updating device brand strings
Based on public support in Windows driver 21.20.16.5174
https://downloadcenter.intel.com/download/30195/

Signed-off-by: ocldev <ocldev@intel.com>
2021-03-03 10:58:28 +01:00
Bartosz Dunajski
9c164a01a6 AuxTranslationMode fallback path
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-02 12:09:04 +01:00
Maciej Dziuban
17ce62a4e8 OpenCL Queue Families extension 18/n
Minor tweaks: properly initialize structure, correct test name

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-03-02 12:01:53 +01:00
Mateusz Jablonski
a33d74bb79 Disallow CPU buffer read/write operation if CPU access is disallowed
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-02 11:35:08 +01:00