Mateusz Jablonski
0607118f15
Correct allocating memory for multi root device buffers
...
use dedicated method for creating allocation from existing storage
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-04-22 18:32:48 +02:00
Dominik Dabek
1bba3252bc
MemObj uses isRenderCompressed when it's an image
...
Related-To: NEO-5139
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-04-21 11:56:47 +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
Milczarek, Slawomir
e5eba8be53
Add setters and getters for coherency type in render surface state
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-04-13 16:12:46 +02:00
Maciej Dziuban
5f9dbef401
Pass alignment to Gmm
...
Related-To: NEO-5750
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-04-13 13:40:43 +02:00
Krzysztof Gibala
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
Igor Venevtsev
69004a7c7d
Add extra parameter to setImageArg()
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-04-01 12:20:29 +02:00
Bartosz Dunajski
b6e3817f31
Dont program dcFlush when not allowed
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-31 16:13:19 +02:00
Mateusz Jablonski
8215395401
Simplify Context method
...
return if context has multiple sub devices related to a given root device
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-03-30 10:22:15 +02:00
Krzysztof Gibala
7bfe26a08d
Remove ensureMemoryOnDevice function
...
Remove:
- ensureMemoryOnDevice
- lastUsedRootDeviceIndex
- requiredRootDeviceIndex
- getMigrateableMultiGraphicsAllocation
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2021-03-29 11:41:07 +02: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
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
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
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
Filip Hazubski
d293ee919b
Update ULT helper
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-03-18 17:29:28 +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
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
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
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
Krzysztof Gibala
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
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
Katarzyna Cencelewska
d9172c9b7f
1Mb alignment support in OsAgnostic path
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2021-03-10 10:56:25 +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
2cd6809d1e
Do not use blitter for clEnqueueCopyBuffer
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-02-11 12:42:43 +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
Igor Venevtsev
3df6110a17
Add extra parameters to setArgStateful()
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-02-05 12:24:27 +01:00
Bartosz Dunajski
580fdd757c
Improve buffer surface state programming
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-02-02 14:42:18 +01:00
Kamil Diedrich
93f15c05f6
Add flush prior to blit operation
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-02-01 15:10:28 +01:00
Bartosz Dunajski
c2e333fe38
Update compression encoding interface + test traits
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-01-29 13:57:15 +01:00
Filip Hazubski
2d033f5dea
Update UltDeviceFactory
...
Use MockMemoryManager by default in UltDeviceFactory.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-01-13 17:22:23 +01:00
Slawomir Milczarek
55f3c8f134
Add resolve capability for compressed USM device allocations
...
Related-To: NEO-5107
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2021-01-08 12:16:26 +01:00
Krzysztof Gibala
6faf61e4f1
Enable memory transfer in enqueueFillImage
...
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-12-30 14:28:25 +01:00
Krzysztof Gibala
801affde66
Enable memory transfer in enqueueFillBuffer
...
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-12-30 14:19:57 +01:00
Mateusz Jablonski
1b7d7afc07
Refactor USM properties
...
store reference to std of root device indices and device bitfields
store NEO::Device in USM properties
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-30 11:36:56 +01:00
Krzysztof Gibala
2e346b58cd
Enable memory transfer in enqueueMigrateMemObjects
...
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-12-29 12:03:22 +01:00
Kamil Kopryk
2a8bdaf28c
Code cleanup
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2020-12-17 13:44:09 +01:00
Krystian Chmielewski
4948c39d39
Remove executionEnvironment from KernelInfo
...
Related-To: NEO-3739
2020-12-16 14:56:57 +01:00
Krzysztof Gibala
e789375cd5
Enable memory transfer in enqueueCopyBufferToImage
...
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-12-14 14:57:24 +01:00
Krzysztof Gibala
58633d726f
Enable memory transfer in enqueueCopyImageToBuffer
...
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-12-14 12:23:44 +01:00
Krzysztof Gibala
4f54ea5c87
Enable memory transfer between images
...
Unlock flow for multi device setup in:
- enqueueCopyImage
Update cleanAllGraphicsAllocations test
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-12-11 16:15:31 +01:00
Krzysztof Gibala
8d2cfd87ae
Create graphicsAllocation for all devices in image
...
Unlock flow for multi device setup in:
- enqueueReadImage
- enqueueWriteImage
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-12-10 17:40:03 +01:00
Adam Cetnerowski
d746be0c4e
ULT renaming: Memory Object tests
...
Related-To: NEO-2236
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-12-09 17:20:20 +01:00
Piotr Zdunowski
9a9bd6a805
Fix issue with creating image from buffer in local memory.
...
Resolves: NEO-4605
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com >
2020-12-07 16:39:29 +01:00
Mateusz Jablonski
0d943e95c4
Store KernelInfo per root device in Kernel
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-07 12:22:28 +01:00
Bartosz Dunajski
64bba71abb
Improve UnitTestHelper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-30 20:18:07 +01:00
Krzysztof Gibala
84f3d44968
Enable memory transfer between buffers rect
...
Unlock flow for multi device setup in:
- enqueueCopyBufferRect
- enqueueReadBufferRect
- enqueueWriteBufferRect
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-11-30 10:35:34 +01:00