Clean up driver experimental headers (2)

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
Jaime Arteaga
2022-04-14 20:21:46 +00:00
committed by Compute-Runtime-Automation
parent 4bebb477d4
commit 798501c8c3
13 changed files with 60 additions and 14 deletions

View File

@@ -0,0 +1,17 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#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"
ZE_DLLEXPORT ze_result_t ZE_APICALL
zexKernelGetBaseAddress(
ze_kernel_handle_t hKernel,
uint64_t *baseAddress) {
return L0::Kernel::fromHandle(hKernel)->getBaseAddress(baseAddress);
}