7fdab76d96
Code cleanup - constexpr for bitness ults
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2021-05-26 13:23:25 +02:00
341e6bbc3a
Fix flush small task task counts
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-05-26 10:17:36 +02:00
84a0813dfa
Correct test
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-5690
2021-05-20 16:13:03 +02:00
a692f1ecc5
Move flag setup after initialization
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-05-20 13:39:18 +02:00
39b4c873e2
Add root device index to aub filename
...
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-05-18 18:38:56 +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
8e691711e9
Handle not lockable allocations in HW with AUB mode
...
don't lock not lockable allocation
Related-To: NEO-5733
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-05-17 14:06:34 +02:00
a6c6290c09
Move TSP creation to HwHelper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-05-14 15:08:53 +02:00
ed9290e650
Fix to make globalFenceAllocation resident before submission via flushSmallTask
...
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2021-05-13 18:47:37 +02:00
544890c066
Change default placement of preemption allocation
...
Related-To: NEO-5800
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-05-11 15:26:24 +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
902cce597a
Add new functionality to load SIP from file
...
Related-To: NEO-5718
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-04-23 13:48:26 +02:00
2b12e9b42f
Program MI_SEMAPHORE_WAIT only on multi device setup
...
Fill and program CsrDependenciesForForTaskCountContainer
only on multi device environment
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2021-04-21 16:38:06 +02:00
8da0838ba4
Add debug key to override CSR allocation size
...
Related-To: NEO-5718
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-04-20 14:40:59 +02:00
e653699267
Disable monitor fence in Drm ULLS by default
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-04-20 13:10:22 +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
b01b8ba5ac
Use MI_SEMAPHORE_WAIT command for event synchronization
...
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2021-04-19 11:34:52 +02:00
8530cbbdb7
ULT renaming: Command Stream Receiver tests
...
Related-To: NEO-2236
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2021-04-14 11:49:46 +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
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
5f06ba28b8
ULT renaming: AUB Command Streamer tests
...
Related-To: NEO-2236
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2021-04-13 10:30:15 +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
31b7fcf653
Update programVFEState function
...
Related-To: NEO-4940, NEO-4574
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-04-07 09:45:13 +02:00
da9d039dd6
New method to return TimestampPacket alignment
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-04-01 11:55:11 +02:00
b6e3817f31
Dont program dcFlush when not allowed
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-31 16:13:19 +02:00
b9ed7de40a
Parametrize wait operation
...
Related-To: NEO-4759
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-03-31 15:12:59 +02:00
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
4a2a14fd41
Refactor getTimestampPacketAllocator method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-29 18:18:56 +02:00
21aa14e497
Reprogram atomics in SBA if context has several devices
...
Related-To: NEO-5459
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-03-29 12:42:31 +02:00
5a50ad098c
Refactor TagAllocator
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-26 15:16:56 +01:00
cb4db7767e
Do not reprogram SBA if CSR is not multi os context capable
...
Related-To: NEO-5459
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-03-26 13:49:04 +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
3dc3ad36f8
Refactor TimestampPacket class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-22 17:42:41 +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
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
d293ee919b
Update ULT helper
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-03-18 17:29:28 +01:00
129357410c
Update task count while waiting
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-03-17 15:09:25 +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
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
96f22f55fc
Remove incorrect EXPECT_EQ
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-16 10:36:16 +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
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
61a7bda7c6
Update ULT
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-15 12:19:17 +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
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
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
047a93fde6
Update getExtraMmioList method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-08 11:25:40 +01:00
c361570fab
Make work partition allocation resident
...
Related-To: NEO-5546
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-03-08 10:32:42 +01:00