Maciej Plewka
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
Krystian Chmielewski
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
Maciej Dziuban
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
Maciej Dziuban
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
Milczarek, Slawomir
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
Mateusz Jablonski
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
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
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
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
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
Maciej Dziuban
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
Maciej Dziuban
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
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
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
Maciej Dziuban
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
Pawel Cieslak
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
Mateusz Jablonski
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
Maciej Dziuban
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
Mateusz Jablonski
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
Kamil Kopryk
d1d81c1f48
Revert "Enable blitter support for read/write images OpenCL"
...
This reverts commit 933b483b961351cbdb0a50d52bd61c76ae03443b.
2021-01-11 14:21:11 +01:00
Kamil Kopryk
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
Maciej Dziuban
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
Maciej Dziuban
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
Kamil Kopryk
2a8bdaf28c
Code cleanup
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2020-12-17 13:44:09 +01:00
Maciej Dziuban
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
Maciej Dziuban
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
Maciej Dziuban
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
Mateusz Jablonski
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
Maciej Dziuban
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
Sebastian Luzynski
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
Mateusz Jablonski
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
Kamil Kopryk
60c9bbea22
Disable blitter support for images
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2020-11-06 13:09:24 +01:00
Slawomir Milczarek
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
Mateusz Hoppe
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
Kamil Kopryk
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
Kamil Kopryk
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
Kamil Kopryk
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
Kamil Kopryk
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
Mateusz Jablonski
f7dcafc295
Pass ClDeviceVector to Program's ctor
...
Related-To: NEO-5001
Change-Id: Ie0e4395fd3ed9a5df81c7075ef039092a0687b9c
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-19 18:47:11 +02:00
Kamil Kopryk
8e44038f9a
Revert "Add blitter support for read/write image OpenCL"
...
This reverts commit cc6d6968dd
.
Change-Id: I2696f05c5d1e3959f60239ca49483b00ad1b36ec
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2020-10-16 15:59:58 +02:00
Kamil Kopryk
cc6d6968dd
Add blitter support for read/write image OpenCL
...
Change-Id: I5d8bf0590899751f1f562fd55e44b0ed36ca6110
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4692
2020-10-16 11:59:03 +02:00
Bartosz Dunajski
28acc2c8f6
Remove lowPriorityEngineType member
...
Change-Id: I39908addf1c3a12f7807479132d0a6d5a4398d7b
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-09-28 17:02:56 +02:00
Maciej Dziuban
83252e7306
Add isCopyOnly field
...
Change-Id: Ia056af66af437c22738fd15abff12e1ad226509a
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2020-09-28 12:27:50 +02:00
Bartosz Dunajski
5b31b31734
Remove low priority and internal engine index variables
...
Change-Id: I984dbcedd5456cfdee284f4d2eda1371ba77f0d0
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-09-21 16:44:14 +02:00
Mateusz Jablonski
40d487fa90
Add global destructor of platforms
...
Change-Id: I7f0c9a9a13cae5cbf831e0d4e410c78c001a75d1
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-09-01 17:26:17 +02:00
Bartosz Dunajski
cf8f0c6437
Move blit enqueue out of enqueueCommon [2/n]
...
Unify events path
Change-Id: I5b1aa5277d48ebcb6efcdb91c67b921518e32783
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-08-28 13:18:50 +02:00
Konstanty Misiak
7166dfdb05
Fix debugSurface allocation for non debug kernels
...
Change-Id: I253968f7ea617bc68275bec0d6279f1fcf948967
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-08-07 16:01:31 +02:00
Bartosz Dunajski
86dc5bacc7
Optimize BCS flushing scheme [2/n]
...
Change-Id: I6f1e0115b9c45f89afb86f8fd2304604243541df
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-06-26 11:37:24 +02:00
Andrzej Swierczynski
20c6497ba7
Correct test: pass device bitfield to allocation properties
...
Related-To: NEO-4722
Change-Id: I339ff1b3e212391c148959b1e003fa0863909a2c
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-06-25 17:35:58 +02:00
Maciej Dziuban
7ef2e4304c
Rename levelNotReady to notReady
...
Change-Id: Id482c6edd36d1bdd63558aa35f13dbb57e0efbad
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-06-17 15:47:00 +02:00