Commit Graph

327 Commits

Author SHA1 Message Date
54b4b18fa0 Enable multi root device contexts by default
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-07-21 16:16:57 +02:00
c8b85bb5a9 Add method to check tile only context
Related-To: NEO-6043

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-07-21 12:22:42 +02:00
b9bd014a44 Add fixes to build with gcc11 (#5325)
* remove Fedora 31 and 32 builds

Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

* Add builds on Fedora 33 and 34

Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

* Fix build with gcc11

Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

* Remove info about EOL'd distributions

Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

* clean after build

Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

Co-authored-by: Jacek Danecki <jacek.danecki@intel.com>
2021-07-20 17:17:32 +02:00
6f3c89decb Add mechanism to migrate multi root device memory
invalidate TLB cache if kernel requires migration


Related-To: NEO-3691

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-07-19 19:49:22 +02:00
42c5f2235b Fix calculating maxMemAllocSize
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-07-15 22:10:05 +02:00
dc6a35286b Remove platform references from mock_aub_center_fixture.h
Related-To: NEO-5894
Signed-off-by: Piotr Obst <piotr.obst@intel.com>
2021-07-13 10:33:57 +02:00
acf3e58a64 Move wddm_fixture.h and releted files from opencl to shared
Related-To: NEO-5894
Signed-off-by: Piotr Obst <piotr.obst@intel.com>
2021-07-07 12:30:12 +02:00
8b48b33a0c Remove 4GB limit if shared allocations supported
Resolves: NEO-5984

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-06-24 13:28:59 +02:00
13b9f54c7d Check queue capabilities in SVM calls
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-06-23 16:14:31 +02:00
d0cb27226f Move mocks: cif, gmm context, compilers
Related-To: NEO-5161

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-05-27 12:51:28 +02:00
0602a9c285 Use only one device when creating context from type
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-05-26 11:51:09 +02:00
7c06f6adc2 OsTime refactor
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-20 23:36:13 +02:00
f861b29802 Add ClDeviceGlobalMemSizeAvailPercent debug flag
Related-To: NEO-5796

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-05-19 16:16:27 +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
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
95ba83c7e1 Fix ocl program creation on multi device contexts
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>

Related-To: NEO-5734
2021-05-10 12:30:09 +02:00
5c6018b418 OCL: Enable creating context with multiple devices without subdevices
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-04-27 17:32:22 +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
c99b223aed Implement cl_intel_device_attribute_query extension
Related-To: NEO-5759

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-04-22 11:19:32 +02:00
9839b3049d Move unit test helper to shared code
Related-To: NEO-5161

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-04-13 20:06:08 +02:00
de23321682 Fix typo
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-04-08 14:13:22 +02:00
c3143ccf1f Change image with host ptr creation logic in multi device setup
When multi device config is available,
then allocations are created in system memory pool.

Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-04-07 12:24:39 +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
1e97e4117e Respect platform in context properties when creating context
Resolves: NEO-5223
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-30 20:59:19 +02:00
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
330ee3d227 AubMemDump refactor
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-03-24 18:26:00 +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
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
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
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
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
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
4abe4a96b8 Add multiGraphicsAllocation to CSR
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-03-10 12:42:01 +01:00
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
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
372081b9df ULT renaming: OpenCL API tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-03-08 18:47:36 +01:00
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
a0f3e868a1 Correct set pitch in clEnqueueCopyBufferRect
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2021-02-25 10:39:57 +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
7b7ad9a5cb OpenCL Queue Families extension 16/n
Expose extension string

Related-To: NEO-5120
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-02-05 13:39:05 +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
08506dc81e OpenCL Queue Families extension 14/n
Check capabilities in clEnqueueWaitForEvents

Related-To: NEO-5120
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-02-02 11:54:43 +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
469c929b7f Unrestricted size flag support in clSvmAlloc
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-01-25 19:13:08 +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
c27d8c8dfd Wait for all gpuAllocation in clMemBlockingFreeINTEL call
Related-To: NEO-5422
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-01-20 10:28:32 +01:00
d0033dadb3 Correct Read-Write Images support
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-01-18 16:15:39 +01:00