2020-03-06 11:09:57 +01:00
|
|
|
/*
|
|
|
|
|
* Copyright (C) 2020 Intel Corporation
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
2020-03-18 22:21:57 -07:00
|
|
|
#include "level_zero/core/source/module/module.h"
|
2020-03-06 11:09:57 +01:00
|
|
|
#include <level_zero/zet_api.h>
|
|
|
|
|
|
2020-07-29 02:45:54 -07:00
|
|
|
ZE_DLLEXPORT ze_result_t ZE_APICALL
|
2020-03-06 11:09:57 +01:00
|
|
|
zetModuleGetDebugInfo(
|
|
|
|
|
zet_module_handle_t hModule,
|
|
|
|
|
zet_module_debug_info_format_t format,
|
|
|
|
|
size_t *pSize,
|
|
|
|
|
uint8_t *pDebugInfo) {
|
|
|
|
|
return L0::Module::fromHandle(hModule)->getDebugInfo(pSize, pDebugInfo);
|
|
|
|
|
}
|
2020-03-11 01:36:31 -07:00
|
|
|
|
2020-07-29 16:26:23 -07:00
|
|
|
ZE_APIEXPORT ze_result_t ZE_APICALL
|
2020-07-29 02:45:54 -07:00
|
|
|
zetKernelGetProfileInfo(
|
2020-07-29 16:26:23 -07:00
|
|
|
zet_kernel_handle_t hKernel,
|
|
|
|
|
zet_profile_properties_t *pProfileProperties) {
|
|
|
|
|
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
|
|
|
|
|
}
|