Module#
oneAPI Level Zero Specification - Version 1.18.31
Module Functions#
zetModuleGetDebugInfo#
Added in version 1.0
-
ZE_APIEXPORT ze_result_t ZE_APICALL zetModuleGetDebugInfo(zet_module_handle_t hModule, zet_module_debug_info_format_t format, size_t *pSize, uint8_t *pDebugInfo)#
Retrieve debug info from module.
The caller can pass nullptr for pDebugInfo when querying only for size.
The implementation will copy the native binary into a buffer supplied by the caller.
The application may call this function from simultaneous threads.
The implementation of this function should be lock-free.
- Parameters:
hModule – [in] handle of the module
format – [in] debug info format requested
pSize – [in,out] size of debug info in bytes
pDebugInfo – [in,out][optional] byte pointer to debug info
- Returns:
ZE_RESULT_ERROR_INVALID_NULL_HANDLE
nullptr == hModule
ZE_RESULT_ERROR_INVALID_NULL_POINTER
nullptr == pSize
Module Enums#
zet_module_debug_info_format_t#
Added in version 1.0