mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-13 18:23:03 +08:00
feature: expose source ids for metric groups
Related-To: NEO-13480 Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b11322332c
commit
c8eb085cdb
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2024 Intel Corporation
|
||||
* Copyright (C) 2020-2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -22,6 +22,12 @@
|
||||
|
||||
namespace L0 {
|
||||
|
||||
void MetricSource::getMetricGroupSourceIdProperty(zet_base_properties_t *property) {
|
||||
|
||||
zet_intel_metric_source_id_exp_t *groupProperty = reinterpret_cast<zet_intel_metric_source_id_exp_t *>(property);
|
||||
groupProperty->sourceId = type;
|
||||
}
|
||||
|
||||
MetricDeviceContext::MetricDeviceContext(Device &inputDevice) : device(inputDevice) {
|
||||
auto deviceNeo = device.getNEODevice();
|
||||
std::tuple<uint32_t, uint32_t, uint32_t> subDeviceMap;
|
||||
|
||||
Reference in New Issue
Block a user