Device#

oneAPI Level Zero Specification - Version 1.18.31

Device Functions#

zetDeviceGetDebugProperties#

Added in version 1.0

ZE_APIEXPORT ze_result_t ZE_APICALL zetDeviceGetDebugProperties(zet_device_handle_t hDevice, zet_device_debug_properties_t *pDebugProperties)#

Retrieves debug properties of the device.

Parameters:
  • hDevice – [in] device handle

  • pDebugProperties – [in,out] query result for debug properties

Returns:

Device Enums#

zet_device_debug_property_flags_t#

Added in version 1.0

enum zet_device_debug_property_flag_t#

Values:

enumerator ZET_DEVICE_DEBUG_PROPERTY_FLAG_ATTACH#

the device supports attaching for debug

enumerator ZET_DEVICE_DEBUG_PROPERTY_FLAG_FORCE_UINT32#

Value marking end of ZET_DEVICE_DEBUG_PROPERTY_FLAG_* ENUMs.

Device Structures#

zet_device_debug_properties_t#

Added in version 1.0

struct zet_device_debug_properties_t#

Device debug properties queried using zetDeviceGetDebugProperties.

Public Members

zet_structure_type_t stype#

[in] type of this structure

void *pNext#

[in,out][optional] must be null or a pointer to an extension-specific structure (i.e. contains stype and pNext).

zet_device_debug_property_flags_t flags#

[out] returns 0 (none) or a valid combination of zet_device_debug_property_flag_t