Context - Deprecated#

oneAPI Level Zero Specification - Version 1.20.41

Context - Deprecated Enums#

ze_power_saving_hint_type_t#

Added in version 1.2

Deprecated since 1.18. Use ze_power_saving_hint_ext_type_t instead.

enum ze_power_saving_hint_type_t#

Supported device types

Values:

enumerator ZE_POWER_SAVING_HINT_TYPE_MIN#

Minimum power savings. The device will make no attempt to save power while executing work submitted to this context.

enumerator ZE_POWER_SAVING_HINT_TYPE_MAX#

Maximum power savings. The device will do everything to bring power to a minimum while executing work submitted to this context.

enumerator ZE_POWER_SAVING_HINT_TYPE_FORCE_UINT32#

Value marking end of ZE_POWER_SAVING_HINT_TYPE_* ENUMs.

Context - Deprecated Structures#

ze_context_power_saving_hint_exp_desc_t#

Added in version 1.2

Deprecated since 1.18. Use ze_context_power_saving_hint_ext_desc_t instead.

struct ze_context_power_saving_hint_exp_desc_t#

Extended context descriptor containing power saving hint

Public Members

ze_structure_type_t stype#

[in] type of this structure

const void *pNext#

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

uint32_t hint#

[in] power saving hint (default value = 0). This is value from [0,100] and can use pre-defined settings from ze_power_saving_hint_type_t.