mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 21:27:04 +08:00
refactor: Remove not needed experimental API definition
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4ac4317c00
commit
26346af8ed
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user