Device - Deprecated#
oneAPI Level Zero Specification - Version 1.20.41
Device - Deprecated Functions#
zesDeviceGetCardPowerDomain#
Added in version 1.0
Deprecated since 1.8. Enumerate power domains; the card domain reports ZES_POWER_DOMAIN_CARD in zes_power_ext_properties_t. Related: zesDeviceEnumPowerDomains.
-
ZE_APIEXPORT ze_result_t ZE_APICALL zesDeviceGetCardPowerDomain(zes_device_handle_t hDevice, zes_pwr_handle_t *phPower)#
Get handle of the PCIe card-level power
The application may call this function from simultaneous threads.
The implementation of this function should be lock-free.
- Parameters:
hDevice – [in] Sysman handle of the device.
phPower – [in,out] power domain handle for the entire PCIe card.
- Returns:
ZE_RESULT_ERROR_INVALID_NULL_HANDLE
nullptr == hDevice
ZE_RESULT_ERROR_INVALID_NULL_POINTER
nullptr == phPower
ZE_RESULT_ERROR_UNSUPPORTED_FEATURE
The device does not provide access to card level power controls or telemetry. An invalid power domain handle will be returned in phPower.
zesDeviceEnumActiveVFExp#
Added in version 1.9
Deprecated since 1.11. No longer supported. Use zesDeviceEnumEnabledVFExp instead.
-
ZE_APIEXPORT ze_result_t ZE_APICALL zesDeviceEnumActiveVFExp(zes_device_handle_t hDevice, uint32_t *pCount, zes_vf_handle_t *phVFhandle)#
Get handle of virtual function modules
The application may call this function from simultaneous threads.
The implementation of this function should be lock-free.
- Parameters:
hDevice – [in] Sysman handle of the device.
pCount – [in,out] pointer to the number of components of this type. if count is zero, then the driver shall update the value with the total number of components of this type that are available. if count is greater than the number of components of this type that are available, then the driver shall update the value with the correct number of components.
phVFhandle – [in,out][optional][range(0, *pCount)] array of handle of components of this type. if count is less than the number of components of this type that are available, then the driver shall only retrieve that number of component handles.
- Returns:
ZE_RESULT_ERROR_INVALID_NULL_HANDLE
nullptr == hDevice
ZE_RESULT_ERROR_INVALID_NULL_POINTER
nullptr == pCount