cee37a43d2
Improve tests
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2021-07-30 09:46:36 +02:00
af4b1afdbd
Add support for copy images by blitter OCL
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4692
2021-07-30 09:29:45 +02:00
88c6c9def8
Enable support for half_float images on BCS OCL
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4692
2021-07-26 11:26:49 +02:00
9bca773b91
Remove command queue constructor
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-07-23 14:16:02 +02:00
f06938c3d0
Enable support for 1Darray images on BCS OCL
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4692
2021-07-19 17:30:49 +02:00
8582c9cbc7
Don't use 1Darrayed images with BCS OCL
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4692
2021-06-28 15:04:03 +02:00
05cff2501a
Remove not needed check IsNV12
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4692
2021-06-28 11:39:07 +02:00
9c181df6e6
Don't use half_float images with bcs OCL
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4692
2021-06-14 16:30:17 +02:00
a9fe74c98d
Don't use BCS for NV12 images
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4692
2021-06-10 13:51:28 +02:00
6ea3f57849
Don't use bcs for mipmapped images OCL
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4692
2021-06-10 12:48:47 +02:00
907dec5f11
Dont defer BCS context initialization
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-06-02 12:01:25 +02:00
159404f38e
Revert "Program border color once per dsh"
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-05-18 12:26:58 +02:00
171a614f18
Fix reset border color offset when replacing heap buffer
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-05-05 13:38:02 +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
a367476558
Disable deferred OsContext creation by default
...
Related-To: NEO-5610
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-04-20 10:50:54 +02:00
5318ff1872
Defer OsContext initialization
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5610
2021-04-19 11:54:34 +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
298df1582b
Add flag to determine if csr can allocate in internal heaps
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-04-01 15:37:41 +02:00
ee44979bb5
Fix blit enqueue support check
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-23 15:29:12 +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
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
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
eb34c42e02
Enable static partitioning by default
...
Related-To: NEO-5546
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-03-16 12:48:11 +01:00
264f20ea00
Pass EngineTypeUsage to OsContext creation
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5610
2021-03-16 10:21:18 +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
6eebf82ec5
Add HW-specific preference for usage of blitter in local->local transfers
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Resolves: NEO-5549
2021-02-15 12:47:54 +01:00
98ff3cc0a9
Do not use blitter for local->local SVM and USM copies
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5549
2021-02-11 16:24: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
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
681c6eeb38
OpenCL Queue Families extension 11/n
...
Check for support of cross queue events in enqueue calls
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5120
2021-01-26 14:02:54 +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
d1d81c1f48
Revert "Enable blitter support for read/write images OpenCL"
...
This reverts commit 933b483b961351cbdb0a50d52bd61c76ae03443b.
2021-01-11 14:21:11 +01:00
38577bed6b
Enable blitter support for read/write images OpenCL
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2021-01-08 13:32:36 +01:00
ebbd042f1c
Add root CSR to engine groups
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5120
2021-01-08 12:35:01 +01:00
544dd141ec
Refactor addEngineToEngineGroup functions
...
This change replaces HwHelper::addEngineToEngineGroup with getEngineGroupType,
so we're able to map EngineType to EngineGroupType without pushing engines.
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2020-12-29 15:46:01 +01:00
2a8bdaf28c
Code cleanup
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2020-12-17 13:44:09 +01:00
384e47f438
OpenCL Queue Families extension 7/n
...
Update enum values to official ones
Delete redundant CL_DEVICE_NUM_QUEUE_FAMILIES_INTEL
Rename CL_QUEUE_CAPABILITY_ALL_INTEL to CL_QUEUE_DEFAULT_CAPABILITIES_INTEL
Add capabilities for cross queue events and single queue events
Add capabilities for buffer to image and image to buffer transfers
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5120
2020-12-14 16:19:11 +01:00
2293fc0cb5
OpenCL Queue Families extension 6/n
...
Add queue family and index querying from existing queue
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5120
2020-12-01 09:03:21 +01:00
ef170607c8
OpenCL Queue Families extension 3/n
...
Check queue capabilities in enqueue calls for buffers
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5120
2020-11-25 14:02:10 +01:00
7ec69c33f9
Store SSH per root device in Kernel
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-11-24 17:57:31 +01:00
14f92cc7a1
OpenCL Queue Families extension 1/n
...
Basic implementation, some things will be tweaked in future commits
Related-To: NEO-5120
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2020-11-24 11:48:18 +01:00
556b6cd457
Add concurrent kernel execution type
...
Related-To: NEO-4940
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com >
2020-11-20 16:12:42 +01:00
97119f5f3e
Store ClDevice in DispatchInfo
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-11-17 10:29:20 +01:00
60c9bbea22
Disable blitter support for images
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2020-11-06 13:09:24 +01:00
b7d5427f01
CPU access disallowed mode and blitter amendments
...
Related-To: NEO-4876
Change-Id: I7d6de1a0530e9c4f8bcf302824242033d3ca724a
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2020-11-03 13:04:28 +01:00
4d2750161d
Move OsAgnosticMemoryManager to shared
...
Resolves: NEO-5188
-move MockGraphicsAllocation to shared
Change-Id: I17e90af48183f003151fab075a46e40d7df3f160
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-11-02 21:02:53 +01:00
523887019b
Rename debug flag to EnableBlitterForEnqueueOperations
...
Change-Id: I9ae8dfc1e86a837c600ee9099e936fc4a64c80b1
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2020-10-29 12:00:09 +01:00
bc6ba0688e
Limit usage of blitter for images
...
Change-Id: I15223ef4ebdbfef67b05647188bdd92d35a9dcad
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4692
2020-10-29 11:53:21 +01:00
f84cd9f424
Small refactor getCommandStreamReceiver
...
Related-To: NEO-4692
Change-Id: Ie8c36982d5bd626735d1f8e6d04084bce67738e5
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2020-10-27 15:52:18 +01:00
914ace6165
Add blitter support for read/write images OpenCL
...
Change-Id: I5a74bcbdc5a5d7c20f55ee3c59839077649778c4
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4692
2020-10-21 16:55:38 +02:00