mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
feature: Update Metrics Driver Code to use runtime enable & Disable APIs
Related-To: NEO-15339 Signed-off-by: Shreyas Kunder <shreyas.kunder@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
2c5cbec033
commit
e4158208ae
@@ -59,6 +59,7 @@ const std::vector<std::pair<std::string, uint32_t>> DriverHandleImp::extensionsS
|
||||
{ZET_INTEL_METRIC_APPEND_MARKER_EXP_NAME, ZET_INTEL_METRIC_APPEND_MARKER_EXP_VERSION_CURRENT},
|
||||
{ZET_INTEL_METRIC_SOURCE_ID_EXP_NAME, ZET_INTEL_METRIC_SOURCE_ID_EXP_VERSION_CURRENT},
|
||||
{ZET_INTEL_METRIC_CALCULATE_EXP_NAME, ZET_INTEL_METRIC_CALCULATE_EXP_VERSION_CURRENT},
|
||||
{ZET_METRICS_RUNTIME_ENABLE_DISABLE_EXP_NAME, ZET_METRICS_RUNTIME_ENABLE_DISABLE_EXP_VERSION_CURRENT},
|
||||
|
||||
#include "additional_extensions_support.inl"
|
||||
};
|
||||
|
||||
@@ -73,8 +73,8 @@ void *ExtensionFunctionAddressHelper::getExtensionFunctionAddress(const std::str
|
||||
RETURN_FUNC_PTR_IF_EXIST(zexIntelReleaseNetworkInterrupt);
|
||||
|
||||
RETURN_FUNC_PTR_IF_EXIST(zetIntelCommandListAppendMarkerExp);
|
||||
RETURN_FUNC_PTR_IF_EXIST(zetIntelDeviceEnableMetricsExp);
|
||||
RETURN_FUNC_PTR_IF_EXIST(zetIntelDeviceDisableMetricsExp);
|
||||
RETURN_FUNC_PTR_IF_EXIST(zetDeviceEnableMetricsExp);
|
||||
RETURN_FUNC_PTR_IF_EXIST(zetDeviceDisableMetricsExp);
|
||||
|
||||
// mutable command list extension
|
||||
RETURN_FUNC_PTR_IF_EXIST(zeCommandListGetNextCommandIdExp);
|
||||
|
||||
Reference in New Issue
Block a user