mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
Clean up driver experimental headers (2)
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4bebb477d4
commit
798501c8c3
17
level_zero/api/driver_experimental/public/zex_module.cpp
Normal file
17
level_zero/api/driver_experimental/public/zex_module.cpp
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user