refactor: move metric driver experimental apis to shared location

modify driver experimental extensions according to guideline

Related-To: NEO-12530

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
This commit is contained in:
Joshua Santosh Ranjan
2024-09-18 17:17:22 +00:00
committed by Compute-Runtime-Automation
parent e4d2f16632
commit 6d86d562b5
16 changed files with 523 additions and 518 deletions

View File

@@ -11,6 +11,7 @@
#include "level_zero/api/driver_experimental/public/zex_context.h"
#include "level_zero/api/extensions/public/ze_exp_ext.h"
#include "level_zero/include/ze_intel_gpu.h"
#include "level_zero/include/zet_intel_gpu_metric.h"
#include <cstring>
@@ -42,7 +43,7 @@ void *ExtensionFunctionAddressHelper::getExtensionFunctionAddress(const std::str
RETURN_FUNC_PTR_IF_EXIST(zeMemGetPitchFor2dImage);
RETURN_FUNC_PTR_IF_EXIST(zeImageGetDeviceOffsetExp);
RETURN_FUNC_PTR_IF_EXIST(zexDeviceGetConcurrentMetricGroups);
RETURN_FUNC_PTR_IF_EXIST(zetIntelDeviceGetConcurrentMetricGroupsExp);
RETURN_FUNC_PTR_IF_EXIST(zeIntelGetDriverVersionString);
RETURN_FUNC_PTR_IF_EXIST(zeIntelMediaCommunicationCreate);