mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 18:37:46 +08:00
Change-Id: Iff32b03e5de03241645737e21161fe8dbd324988 Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
88 lines
2.2 KiB
C++
88 lines
2.2 KiB
C++
/*
|
|
* Copyright (C) 2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "level_zero/core/source/module/module.h"
|
|
#include <level_zero/zet_api.h>
|
|
|
|
ZE_DLLEXPORT ze_result_t ZE_APICALL
|
|
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);
|
|
}
|
|
|
|
ZE_APIEXPORT ze_result_t ZE_APICALL
|
|
zetKernelGetProfileInfo(
|
|
zet_kernel_handle_t hKernel,
|
|
zet_profile_properties_t *pProfileProperties) {
|
|
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
|
|
}
|
|
|
|
ZE_APIEXPORT ze_result_t ZE_APICALL
|
|
zetDeviceGetDebugProperties(
|
|
zet_device_handle_t hDevice,
|
|
zet_device_debug_properties_t *pDebugProperties) {
|
|
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
|
|
}
|
|
|
|
ZE_APIEXPORT ze_result_t ZE_APICALL
|
|
zetDebugAttach(
|
|
zet_device_handle_t hDevice,
|
|
const zet_debug_config_t *config,
|
|
zet_debug_session_handle_t *phDebug) {
|
|
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
|
|
}
|
|
|
|
ZE_APIEXPORT ze_result_t ZE_APICALL
|
|
zetDebugDetach(
|
|
zet_debug_session_handle_t hDebug) {
|
|
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
|
|
}
|
|
|
|
ZE_APIEXPORT ze_result_t ZE_APICALL
|
|
zetDebugReadEvent(
|
|
zet_debug_session_handle_t hDebug,
|
|
uint64_t timeout,
|
|
zet_debug_event_t *event) {
|
|
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
|
|
}
|
|
|
|
ZE_APIEXPORT ze_result_t ZE_APICALL
|
|
zetDebugInterrupt(
|
|
zet_debug_session_handle_t hDebug,
|
|
ze_device_thread_t thread) {
|
|
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
|
|
}
|
|
|
|
ZE_APIEXPORT ze_result_t ZE_APICALL
|
|
zetDebugResume(
|
|
zet_debug_session_handle_t hDebug,
|
|
ze_device_thread_t thread) {
|
|
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
|
|
}
|
|
|
|
ZE_APIEXPORT ze_result_t ZE_APICALL
|
|
zetDebugReadMemory(
|
|
zet_debug_session_handle_t hDebug,
|
|
ze_device_thread_t thread,
|
|
const zet_debug_memory_space_desc_t *desc,
|
|
size_t size,
|
|
void *buffer) {
|
|
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
|
|
}
|
|
|
|
ZE_APIEXPORT ze_result_t ZE_APICALL
|
|
zetDebugWriteMemory(
|
|
zet_debug_session_handle_t hDebug,
|
|
ze_device_thread_t thread,
|
|
const zet_debug_memory_space_desc_t *desc,
|
|
size_t size,
|
|
const void *buffer) {
|
|
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
|
|
} |