Daniel Chabrowski
d68dedba3b
Simplify ownership management of MockPerformanceCounters
...
Fixes clang-tidy warning about ignoring result of release()
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-07-07 10:42:29 +02:00
Bartosz Dunajski
f2bbd63d37
Refactor SBA handling + fix unit tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-06-29 13:27:57 +02:00
Artur Harasimiuk
3f04769f07
style: configure readability-identifier-naming.FunctionCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-17 20:55:56 +02:00
Michal Mrozek
f83cc1c140
Improve dumping timestamp packet contents.
...
Remove not useful profiling capable flag.
Add command type to identify source.
Add delta's to see if there are any fluctuations.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-01-28 13:20:53 +01:00
Zbigniew Zdanowicz
7680331b4a
Move shared object mocks to shared directory
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-20 18:48:37 +01:00
Mateusz Jablonski
e4bbed49d0
Use full path to include test.h 1/n
...
fix files in opencl
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 12:34:34 +01:00
Bartosz Dunajski
995cb88bfa
Improve ftr/wa flags packing
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-11-25 16:05:57 +01:00
Mateusz Jablonski
52c75e92da
Cleanup hw_parse.h
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-13 11:10:22 +02:00
Maciej Plewka
096373ffe0
Dont use gpu time in submited timestamp for non blocking enqueue
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-08-17 19:00:44 +02:00
Konstanty Misiak
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
Maciej Dziuban
9bca773b91
Remove command queue constructor
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-07-23 14:16:02 +02:00
Bartosz Dunajski
31250b343f
TSP: Move packetsUsed member out of GraphicsAllocation
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-07-22 17:04:40 +02:00
Maciej Plewka
dfe578754b
Fix add pipe controll before marker profiling
...
Resolves: NEO-6065
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-07-20 16:23:57 +02:00
Michal Mrozek
ad3855ceb3
Revert "Fix event profiling for marker commands"
...
This reverts commit 5f0167b477993f3ebc804c53a110bc432638615b.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2021-07-01 08:01:33 +02:00
Konstanty Misiak
1df1094465
Fix event profiling for marker commands
...
Related-To: NEO-5799
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2021-06-30 14:56:39 +02:00
Maciej Plewka
9fe2dddcd3
Estimate command stream size for marker profiling
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-06-14 21:36:07 +02:00
Piotr Zdunowski
7cac94b597
Fix profiling for marker commands.
...
Resolves: NEO-4867
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com >
2021-05-27 12:15:07 +02:00
Jaroslaw Chodor
7c06f6adc2
OsTime refactor
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-05-20 23:36:13 +02:00
lgotszal
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
Bartosz Dunajski
e53202e96b
TagAllocator to accept multiple root devices
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-05-14 09:27:16 +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
John Falkowski
218387dd47
Apply timerResolution mod for L0 V1.1
...
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2021-03-27 11:43:03 +01:00
Bartosz Dunajski
e04c5b361a
Remove Kernel arg from HardwareCommandsHelper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-27 11:23:53 +01:00
Bartosz Dunajski
5a50ad098c
Refactor TagAllocator
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-26 15:16:56 +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
Bartosz Dunajski
3dc3ad36f8
Refactor TimestampPacket class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-03-22 17:42:41 +01:00
Mateusz Jablonski
7a58e7bc3e
Pass Device to Kernel
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-03-19 17:44:54 +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
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
Mateusz Jablonski
056300f01f
Pass internal kernel object to enqueueKernel method
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-03-08 19:14:08 +01:00
Maciej Dziuban
1350aa52fb
Pass DispatchInfo to estimation functions
...
Related-To: NEO-5546
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-03-05 12:47:55 +01:00
Bartosz Dunajski
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
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
Krystian Chmielewski
4948c39d39
Remove executionEnvironment from KernelInfo
...
Related-To: NEO-3739
2020-12-16 14:56:57 +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
Mateusz Jablonski
a1b5d5a335
Dont pass device to Kernel's ctor
...
Kernel should reuse devices from program
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-11-13 11:42:48 +01:00
Michal Mrozek
b039f5cc76
Optimize profiling calls.
...
- do not call KMD query for submitted timestamp, we only need CPU
timestamp here.
Change-Id: Id60c1e367d9430d893fb3a253ffc058f45fc9609
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2020-10-23 17:36:14 +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
Bartosz Dunajski
44a6d70ced
Dont use Packets without profiling data to calculate kernel duration
...
Change-Id: I710348835f8884a3b244502f53ff4e4980441654
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-09-29 17:09:01 +02:00
Kamil Diedrich
57269b97a3
Use global timestamps instead of local
...
Change-Id: Ie39b242915a55aef60fcf7164199647299c91a21
2020-09-03 16:39:36 +02:00
Pawel Cieslak
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
Bartosz Dunajski
8b267fd949
Use global timestamps for TimestampPacket profiling calculations
...
Change-Id: I53ffe566b78c1b86cf430c23e0c0bb9000532b0c
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-07-31 12:41:59 +02:00
Bartosz Dunajski
5eb047238f
Move profiling methods implementation
...
Change-Id: I9e11cae2a264c0726770a4a4d6bc71891ce0d270
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-07-14 14:38:30 +02:00
Adam Cetnerowski
8acb2fdb92
ULT renaming: Profiling tests
...
Related-To: NEO-2236
Change-Id: Ic7391450d2181bc2b090d0c1343aefdbe78971a7
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-07-09 12:37:57 +02:00
Slawomir Milczarek
ac452a267b
Remove unsupported DRM I915_EXEC_COMPUTE flag
...
Related-To: NEO-4744
Change-Id: I1e9da6ec58f8b0144a7371e702a0c3a8425864d7
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2020-06-30 11:58:35 +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
Andrzej Swierczynski
52622eab67
Correct tests: pass valid device bitfield [2/n]
...
Related-To: NEO-4645
Change-Id: I5fe52cd9ffefea4f131a5b79b292175106a082c0
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com >
2020-06-05 10:05:10 +02:00
Mateusz Hoppe
d130575dd3
Cleanup header includes in tests
...
Change-Id: I37de20f7c074ddcb23f893b2cda7fd6fff7bd32b
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-06-02 19:40:26 +02:00
Lukasz Jobczyk
aa0388e791
Add debug flag to print time stamps
...
Change-Id: I198dca8e1310f7663baeebb20f6ae2552e608e99
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-06-01 16:05:54 +02:00
Konstanty Misiak
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