refactor: Remove not needed experimental API definition

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
This commit is contained in:
Aravind Gopalakrishnan
2024-11-20 04:58:55 +00:00
committed by Compute-Runtime-Automation
parent 4ac4317c00
commit 26346af8ed
2 changed files with 3 additions and 12 deletions

View File

@@ -8,6 +8,7 @@
#include "level_zero/api/driver_experimental/public/zex_api.h"
#include "level_zero/core/source/kernel/kernel.h"
#include "level_zero/core/source/module/module.h"
#include "level_zero/include/ze_intel_gpu.h"
namespace L0 {
@@ -18,14 +19,14 @@ zexKernelGetBaseAddress(
return L0::Kernel::fromHandle(toInternalType(hKernel))->getBaseAddress(baseAddress);
}
} // namespace L0
ze_result_t ZE_APICALL
zeIntelKernelGetBinaryExp(
ze_kernel_handle_t hKernel, size_t *pSize, char *pKernelBinary) {
return L0::Kernel::fromHandle(toInternalType(hKernel))->getKernelProgramBinary(pSize, pKernelBinary);
}
} // namespace L0
extern "C" {
ZE_APIEXPORT ze_result_t ZE_APICALL
@@ -34,10 +35,4 @@ zexKernelGetBaseAddress(
uint64_t *baseAddress) {
return L0::zexKernelGetBaseAddress(hKernel, baseAddress);
}
ZE_APIEXPORT ze_result_t ZE_APICALL
zeIntelKernelGetBinaryExp(
ze_kernel_handle_t hKernel, size_t *pSize, char *pKernelBinary) {
return L0::zeIntelKernelGetBinaryExp(hKernel, pSize, pKernelBinary);
}
}

View File

@@ -18,10 +18,6 @@ zexKernelGetBaseAddress(
ze_kernel_handle_t hKernel,
uint64_t *baseAddress);
ze_result_t ZE_APICALL
zeIntelKernelGetBinaryExp(
ze_kernel_handle_t hKernel, size_t *pSize, char *pKernelBinary);
} // namespace L0
///////////////////////////////////////////////////////////////////////////////