Commit Graph

806 Commits

Author SHA1 Message Date
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
Mateusz Hoppe 4191dfdb43 Prepend -s option when -cmc is not used
Related-To: NEO-5582

- "-s filename" is added to build options
based on filename returned from debugger
- when "-cmc" is passed as first option, do not
modify user options.

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-01 18:17:25 +01:00
ocldev 9731d5a9e8 Brand string update
Updating device brand strings
Based on public support in Windows driver 20.19.15.5171
https://downloadcenter.intel.com/download/30196

Signed-off-by: ocldev <ocldev@intel.com>
2021-03-01 11:01:27 +01:00
Mateusz Jablonski da5f7b9216 Add debug keys to scratch register write after walker
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-02-26 16:13:57 +01:00
Krystian Chmielewski 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
Kacper Nowak e9e78e85ad Fix image type support and flag usage in va api sharing
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2021-02-26 14:04:07 +01:00
Compute-Runtime-Validation 68e01dd736 Revert "Correct set pitch in clEnqueueCopyBufferRect"
This reverts commit a0f3e868a1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-02-26 13:48:41 +01:00
Bartosz Dunajski 184ec7d07d Dont allocate HwTimeStamp when TimestampPacket is used
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-02-26 11:18:41 +01:00
ocldev 3d4b450b5b Brand string update
Updating device brand strings based on public support
in Windows driver  100.9168 (27.20.100.9168)

Signed-off-by: ocldev <ocldev@intel.com>
2021-02-26 09:19:02 +01:00
Kamil Diedrich 02ec657a21 Fix reading device pci path
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-02-25 21:26:29 +01:00
Jaime Arteaga 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
Katarzyna Cencelewska a0f3e868a1 Correct set pitch in clEnqueueCopyBufferRect
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2021-02-25 10:39:57 +01:00
Krystian Chmielewski 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
Krystian Chmielewski 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
Mateusz Hoppe bd3862f0e1 Fix printf format specifiers
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-02-23 22:10:08 +01:00
Lukasz Jobczyk 4894411889 Add debug flag to print BOs for submit
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-02-23 19:45:42 +01:00
Kamil Diedrich f766e6a4c1 Add tests for linux sys calls
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-02-23 12:21:35 +01:00
Adam Cetnerowski e09c24be92 Device ID Cleanup
Related-To: NEO-5252

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-02-22 13:48:50 +01:00
Lukasz Jobczyk a23f211113 Disable gem close worker on direct submission
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-02-19 13:38:38 +01:00
Kamil Diedrich edf066a54b Return proper clDevice for given media adapter
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-02-18 21:29:15 +01:00
Maciej Dziuban f7d105f2e2 Create work partition allocation
Related-To: NEO-5546
Resolves: NEO-5561
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-02-17 15:28:42 +01:00
Lukasz Jobczyk 1844875b9d Disable timeout while waiting when direct submission active
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-02-17 14:46:19 +01:00
Bartosz Dunajski 15f3353351 Pass additional allocation parameters to aub_stream
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-02-17 14:20:08 +01:00
Bartosz Dunajski 584da13ff8 aub_stream interfaces update
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-02-16 16:03:04 +01:00
Krzysztof Gibala d8a1bb599e Extend event synchronization mechanism for multi device concept
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-02-16 11:27:47 +01:00