3a2b018eb6
Enable blitterOperationsSupported on DG1
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-28 14:16:19 +02:00
58ebebeec6
Move drm_memory_manager_tests.h and related fixtures to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-21 20:46:58 +02:00
7b57e87ad1
Move some mocks to shared
...
- MockAllocationProperties
- MockBuiltinsLib
- MockWddmMemoryManager
- MockAubCsr
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-15 09:59:47 +02:00
852b2f6e6e
Move mock_ostime to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-13 11:24:00 +02:00
bf25853799
Move some mocks to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-12 21:46:53 +02:00
c910a58aa0
Store bcsEngine in an std::vector in OpenCL CommandQUeue
...
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-10-07 21:55:21 +02:00
9bea74a780
move mock_memory_manager to shared
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-10-05 16:22:38 +02:00
684b9e5f51
Fix missing submit time calculation
...
Related-To: NEO-5799
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2021-10-05 12:58:04 +02:00
a63b9b1273
move common files to shared/
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-09-27 11:10:20 +02:00
04b6a604ec
Refactor BCS in OpenCL CommandQueue
...
- use CopyEngineState class to hold task count and engine type
- pass engine type to updateBcsTaskCount
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-09-22 10:39:46 +02:00
2707618fe3
Pass engine type to getBcsCommandStreamReceiver in OpenCL
...
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-09-21 16:27:07 +02:00
c7d86af500
Pass blitter CSR to event
...
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-09-15 12:49:22 +02:00
cd4f3c221a
Synchronize switching command buffers for all partitions
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-09-08 12:12:23 +02:00
ad19eda689
Fix event profiling for marker commands
...
Related-To: NEO-5799
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2021-08-13 15:02:01 +02:00
9bca773b91
Remove command queue constructor
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-07-23 14:16:02 +02:00
d18172c00e
Add debug flag to control tryFlushEvent
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2021-07-15 11:40:13 +02:00
e1f42c2ae1
Remove TSP atomic dependency tracking
...
This reverts commit d17668f023bee409ee68e766bbc7d5f16ce8d52b.
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-06-23 16:59:41 +02:00
2e97aeccfd
Revert TSP changes
...
This commit reverts:
a1d2bdc76666059653c79fe39a26113ce47c632a,
71a115129c1698ff15305fd0ea3828cba861be47,
e1a9087a466bfba54d84a64247e6596092034a91.
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-06-21 12:44:12 +02:00
080b1e2f66
Remove redundant TSP completion tracking logic
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-06-15 17:29:19 +02:00
843c332c7e
ULT renaming: Event tests
...
Related-To: NEO-2236
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2021-05-25 20:24:17 +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
9c5dee54dc
Fix root device residency for TagNode
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-05-17 14:51:23 +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
5a50ad098c
Refactor TagAllocator
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-26 15:16:56 +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
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
184ec7d07d
Dont allocate HwTimeStamp when TimestampPacket is used
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-02-26 11:18:41 +01:00
9bb229f771
Use printfSurfaceAddress arg instead of patchToken
...
Use KernelDescriptor's printfSurfaceAddress arg instead of storing
SPatchAllocateStatelessPrintfSurface token in KernelInfo's patchInfo.
Related-To: NEO-4729
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-02-24 15:51:30 +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
9bd0c69913
Add ClearColor allocation support for blitter
...
Related-To: NEO-5175
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2020-12-14 18:22:05 +01:00
c8d1e082dd
Update getKernelInfo method
...
add root device index parameter to return proper kernel info
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-08 09:14:44 +01:00
9f96552007
ULT renaming: Event tests
...
Related-To: NEO-2236
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-11-30 10:24:23 +01:00
6c4b1f951c
Do not force cl_khr_3d_image_writes extension when compiling kernels
...
Update usage of SUPPORTED_IMAGES flag and do not use images when disabled.
Use SUPPORTED_2_0 only on fully OCL 2.1 conformant platforms.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-11-27 17:20:46 +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
c678f3d9b0
Make DeviceBitfield argument constant
...
Related-To: NEO-5225
Change-Id: I14a5a4cc3394cd2b58a74bda183c734a0d17ac25
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-10-30 13:45:32 +01:00
30a67618f8
Add DeviceBitfield argument to CSR constructor
...
Related-To: NEO-5225
Change-Id: I8cf0aef3ec16314cfb1a787852b6c20ce0f65955
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-10-28 17:10:31 +01:00
51dcccad76
Create timestamp packet container for events if command queue created it
...
Related-To: NEO-5120
Change-Id: I00505647343da1876b25290b95a2009b5e4041d6
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2020-10-02 12:11:38 +02:00
fb821f21f5
Cmake format script
...
Related-To: NEO-1157
Change-Id: Ie1b907e838cfb9ad0d75cc8971d415f7c77103c9
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2020-08-19 16:36:30 +02:00
60fa332764
Correct tests: pass device bitfield to allocation properties [4/n]
...
Related-To: NEO-4722
Change-Id: I1074aa4379c2e7aaa51b079f0fd2ddfbc8cc5e08
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com >
2020-07-02 16:34:25 +02:00
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
5d24d51ea6
Correct tests: pass valid device bitfield [4/n]
...
Related-To: NEO-4645
Change-Id: Ib105d811711b7a4fdfad91ac93606cfdeb6d4ccb
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com >
2020-06-18 16:18:56 +02:00
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
87596d2387
Use root device index when accessing graphics allocation from buffer
...
Related-To: NEO-4672
Change-Id: I31ed0aa567276b606f4b09733ca2a8d678f9786f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-06-09 13:40:29 +02:00
aa8e9fb634
Rename ocl DeviceFixture and add shared tests specific one
...
Change-Id: Ib61e987388ba14b721a573e3e84332a7f6c9ef9c
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2020-06-01 15:44:05 +02:00
884ae6fbab
remove MT tests from igdrcl_tests target
...
these tests are executed as part of igdrcl_mt_tests
Change-Id: I907bbe99b1283962db2b5ad5fae1e4c848683ff1
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2020-04-06 15:25:55 +02:00
43dba9de4a
Move MockDevice to shared
...
Change-Id: If3a4ea2bb3f47bcb8176516977a626517f25a49f
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-04-03 08:23:06 +02:00
3b4276c8f7
Move AsyncEventsHandler to ClExecutionEnvironment
...
Related-To: NEO-4207
Change-Id: If859f995aae57ac03de13d57cc5a38c97303bbb4
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com >
2020-03-31 15:42:07 +02:00
0f0a42de89
Pass root device index to all MockAllocationProperties constructors
...
Related-To: NEO-4512, NEO-3691
Change-Id: I631228191ca472e883b5233cb41ae8b6254588e9
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-03-26 11:34:47 +01:00
4e4d160efd
Extend MockAllocationProperties constructor, pass root device index
...
Related-To: NEO-4512, NEO-3691
Change-Id: I1af3e513ae272e5baae116a176445e6e6af297fb
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-03-25 21:48:36 +01:00
43668ce55b
Remove platformDevices from ULT
...
command_queue, command_stream, device, event, execution_environment
Related-To: NEO-4499
Change-Id: I83f0e749a6cd14c7b572e9af1502e288528c136b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-03-24 22:32:42 +01:00