mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 16:45:25 +08:00
feature: add support for activateMetrics
Related-To: NEO-9067 Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
950dacdcd7
commit
20e0b6f005
@@ -586,7 +586,7 @@ ze_result_t OaMetricQueryPoolImp::destroy() {
|
||||
|
||||
// Check open queries.
|
||||
if (metricSource.getMetricsLibrary().getMetricQueryCount() == 0) {
|
||||
if (!metricSource.isMetricGroupActivated()) {
|
||||
if (!metricSource.isMetricGroupActivatedInHw()) {
|
||||
metricSource.getMetricsLibrary().release();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user