Joshua Santosh Ranjan
56a5a44304
feature: Add basic structure for tracer
...
Related-To: NEO-8891
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2023-11-06 17:31:15 +01:00
Aravind Gopalakrishnan
99abb40a45
feature: Add extensions to expose dot product capabilities
...
- Add new extension property for user to query platform DP support.
- Add new blackbox and ULTs for extension.
Related-To: NEO-8786
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2023-10-31 21:54:39 +01:00
Compute-Runtime-Validation
c9d6615231
Revert "feature: Add extensions to expose dot product capabilities"
...
This reverts commit e988fe66e3
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-10-31 05:06:06 +01:00
Aravind Gopalakrishnan
e988fe66e3
feature: Add extensions to expose dot product capabilities
...
- Add new extension property for user to query platform DP support.
- Add new blackbox and ULTs for extension.
Related-To: NEO-8786
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2023-10-30 15:15:51 +01:00
Jablonski, Mateusz
d724627098
fix: fix compilation error in clang on Windows (1/n)
...
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2023-10-23 10:36:23 +02:00
Joshua Santosh Ranjan
5c8cbc80eb
feature: initial support for programmable metrics
...
Related-To: NEO-8779
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2023-10-16 18:11:38 +02:00
Mateusz Jablonski
19aba581d4
fix: remove potential memory leak from OaMetricSourceImp class
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-12 10:59:25 +02:00
Mateusz Jablonski
a583213eef
fix: add unrecoverable to avoid division by zero
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-06 08:43:11 +02:00
Spruit, Neil R
5c75449508
fix: Track Sub Device Hierarchy for use by Metrics Library
...
Related-To: LOCI-4819
- When communicating with the Metrics Libraries, if one is using a
specific sub device, then the correct physical sub device index and
number of sub devices must be used.
- When Affinity Mask is set, this hierarchy information is lost,
therefore the sub device hierarchy data is stored in a map to each
"device" to be returned to the user allowing for the correct sub device
information to be passed to the metrics library.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2023-08-22 21:37:25 +02:00
Matias Cabral
6946dd561f
refactor: metrics enums rename for L0 spec version 1.7
...
Resolves: LOCI-4642
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2023-07-26 21:07:46 +02:00
Joshua Santosh Ranjan
e27046af1f
feature: Add support for internal Metrics
...
Related-To: LOCI-4561
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2023-07-26 08:22:49 +02:00
Joshua Santosh Ranjan
0853cb71b7
feature: initial support for MetricGroupGetExportData
...
Related-To: LOCI-4356, LOCI-4357
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2023-06-27 00:09:45 +02:00
Matias Cabral
96517a08aa
feature: Implement zetMetricGroupGetGlobalTimestampsExp()
...
Resolves: LOCI-3072
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2023-06-21 09:48:41 +02:00
Matias Cabral
cfa187aec6
feature: Support for metrics group exp extension
...
Support zet_metric_global_timestamps_resolution_exp_t
Resolves: LOCI-4350
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2023-06-16 07:48:32 +02:00
Dunajski, Bartosz
41478c5972
feature: Experimental support of immediate cmd list in-order execution [6/n]
...
Related-To: LOCI-4332
- Signal appendWaitOnEvents API call
- Signal appendBarrier call
- Handle sync allocation residency
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-05-11 11:41:49 +02:00
Fabian Zwolinski
e2e00413a8
Apply CamelCase for class and struct names
...
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-04-24 15:36:27 +02:00
Mateusz Jablonski
cb7437b6b7
refactor l0 tools: cleanup cmake files
...
append sources in current directory
Related-To: NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-03-16 14:05:14 +01:00
Joshua Santosh Ranjan
e2177f44f3
[Metrics]Fix OA buffer size request for streamer
...
This patch uses maximum OA buffer size for the
platform when opening an io stream.
Related-To: LOCI-4103
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2023-03-14 11:10:11 +01:00
Kamil Kopryk
fa8579602f
refactor: rename product helper files n/n
...
Related-To: NEO-7703
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-03-10 13:24:38 +01:00
Zbigniew Zdanowicz
49def723b7
Unify layout of command list class
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-03-07 11:38:47 +01:00
Ranjan, Joshua Santhosh
8ae2e3dac9
Add per tile metric data support for stall sampling
...
Related-To: LOCI-3869
Signed-off-by: Ranjan, Joshua Santhosh <joshua.santosh.ranjan@intel.com>
2023-02-19 12:16:13 +01:00
Lukasz Jobczyk
073de9db62
Do not track split internal events as a barrier
...
Related-To: NEO-7723, NEO-7716
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-02-13 11:19:00 +01:00
Warchulski, Jaroslaw
b224ec947e
Cleanup includes 50
...
Cleaned up files:
shared/source/helpers/hw_info.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-02-10 20:26:13 +01:00
Kamil Kopryk
2484c7ceb2
refactor: rename hw_helper files to gfx_core_helper files
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-02-01 19:37:51 +01:00
Kamil Kopryk
d2628babbc
refactor: don't use global ProductHelper getter 20/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-30 09:29:18 +01:00
Compute-Runtime-Validation
44032a4386
Revert "Flush task at device init"
...
This reverts commit 73bd55ad40
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-01-27 01:51:55 +01:00
Lukasz Jobczyk
73bd55ad40
Flush task at device init
...
Resolves: NEO-7642
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-01-26 13:48:04 +01:00
Kamil Kopryk
be855d7a47
refactor: don't use global ProductHelper getter 10/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-25 18:23:23 +01:00
Warchulski, Jaroslaw
11764dd9bf
Cleanup includes 40
...
Cleaned up files:
shared/source/os_interface/linux/drm_neo.h
shared/source/os_interface/windows/wddm/um_km_data_translator.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-23 16:19:35 +01:00
Zbigniew Zdanowicz
7925e12392
Add improvements and tweaks to event pool runtime and tests
...
1. Reposition event pool code
- Implementation of event pool methods should be placed in event pool file
2. Change event pool and event classes
- move all class variables to base classes as protected
- add needed setters and getters for runtime
- add extended mocks and whiteboxes for unit tests
- tests using base or mock class when needed
3. Correct event creation in unit tests
- use HW specific timestamp type
- HW unit tests are using template timestamp type for event creation
- other tests are using helper to create event
Related-To: NEO-7636
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-01-20 16:47:08 +01:00
Warchulski, Jaroslaw
286c672ef4
Cleanup includes 37
...
Cleaned up files:
level_zero/core/source/event/event.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-20 12:34:39 +01:00
Filip Hazubski
2ed2ac73d1
refactor: correct ioctl and related functions to return signed int
...
Change IoctlHelper::ioctl function to return int.
Change IoctlHelper::createGemExt function to return int.
Change IoctlHelper::queryDistances function to return int.
Change UuidRegisterResult::retVal type to int32_t.
Rename res to ret in debug_session.cpp for consistency.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2023-01-19 22:04:27 +01:00
Aleksei Keisel
fc7a37d950
Return partial data on metrics calculation
...
Resolves: LOCI-3864
Signed-off-by: Aleksei Keisel <aleksei.keisel@intel.com>
2023-01-18 19:08:05 +01:00
Warchulski, Jaroslaw
c275008e51
Cleanup includes 32
...
Cleaned up files:
level_zero/core/source/cmdlist/cmdlist_hw.h
level_zero/core/source/cmdqueue/cmdqueue.h
level_zero/core/source/event/event.h
opencl/source/helpers/get_info_status_mapper.h
opencl/source/helpers/hardware_commands_helper.h
shared/source/helpers/per_thread_data.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-16 20:41:37 +01:00
Mateusz Jablonski
43b790957d
style: format code using clang-format 15.0.6
...
Related-To: NEO-7500
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-01-05 10:33:47 +01:00
Mateusz Jablonski
575f0f8b92
refactor: Stop using global gfx core helper getter in L0
...
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-01-02 14:15:53 +01:00
Kamil Kopryk
232b886056
Rename HwInfoConfig to ProductHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-12-14 14:39:52 +01:00
Kamil Kopryk
03b687881f
Rename HwHelper -> GfxCoreHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-12-09 10:29:06 +01:00
Dunajski, Bartosz
61544f13cf
RelaxedOrdering: Dont apply optimization for barrier calls
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-12-08 16:21:16 +01:00
Warchulski, Jaroslaw
be647d42d9
Cleanup includes 12
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-12-07 13:14:15 +01:00
Joshua Santosh Ranjan
fb8aa01a01
Metrics: Use physical subdevice index when using affinity mask
...
Related-To: LOCI-2975
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-11-29 07:48:39 +01:00
Joshua Santosh Ranjan
cf67f1aa8b
L0 Metrics: Fix bytes to be read to be a multiple of raw report size
...
If raw report size is not a multiple of OaBufferSize, then
make sure the bytes to be read (by zetMetricStreamerReadData)
is always a multiple of raw report size.
Related-To: LOCI-3335
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-08-16 06:16:27 +02:00
Mateusz Jablonski
daf1bd4501
Refactor: pass properties by const reference instead of by value
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-09 15:55:07 +02:00
davidoli
d7c43d022a
Improve GtPin init error status reporting
...
Related-To: LOCI-1286
Signed-off-by: davidoli <david.olien@intel.com>
2022-08-05 04:18:07 +02:00
Mateusz Jablonski
78c96db2fa
Create wrappers for different version of i915 headers
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-18 10:15:44 +02:00
Joshua Santosh Ranjan
6292a3304a
Fix Metric Activation Procedure
...
This patch implements Deactivate previously activated metric groups,
if they are not part of the current list
Related-To: LOCI-3160
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-07-08 22:18:42 +02:00
Matias Cabral
9c1c24e35a
Detect metrics library new name
...
Linux library name changing from libmd.so.1 to libigdmd.so.1
Related-To: LOCI-3159
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2022-06-28 18:39:20 +02:00
davidoli
82d3901978
Add ZE_RESULT_WARNING_DROPPED_DATA to ip metrics
...
Related-To: LOCI-3106
Signed-off-by: davidoli <david.olien@intel.com>
2022-06-24 22:48:59 +02:00
Joshua Santosh Ranjan
d4c9cca7fd
Metrics: Avoid multiple metric cacheing for sub-devices
...
This patch fixes multiple metric cacheing for sub-devices when
sub-device is enumerated before root-device
Fixes : LOCI-3161
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-06-16 22:03:24 +02:00
Mateusz Jablonski
e67307b724
Add DrmParam enum values for I915_EXEC values
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-15 08:39:39 +02:00