Files
compute-runtime/level_zero/api/tools/zet_module.cpp
Jaime Arteaga d96e462754 Reorganize Level Zero Core API files
Change-Id: I95750b90748dd65310fa72b030ea3ab2f72d3f24
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-03-25 11:21:43 +01:00

22 lines
456 B
C++

/*
* Copyright (C) 2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "level_zero/core/source/module/module.h"
#include <level_zero/zet_api.h>
extern "C" {
__zedllexport ze_result_t __zecall
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);
}
} // extern C