Firmware - Experimental#
oneAPI Level Zero Specification - Version 1.18.31
Firmware - Experimental Functions#
zesFirmwareGetSecurityVersionExp#
Added in version 1.9
-
ZE_APIEXPORT ze_result_t ZE_APICALL zesFirmwareGetSecurityVersionExp(zes_firmware_handle_t hFirmware, char *pVersion)#
Get the firmware security version number of the currently running firmware.
The application should create a character array of size ZES_STRING_PROPERTY_SIZE and reference it for the
pVersionparameter.The application may call this function from simultaneous threads.
The implementation of this function should be lock-free.
- Parameters:
hFirmware – [in] Handle for the component.
pVersion – [in,out] NULL terminated string value. The string “unknown” will be returned if this property cannot be determined.
- Returns:
ZE_RESULT_ERROR_INVALID_NULL_HANDLE
nullptr == hFirmware
ZE_RESULT_ERROR_INVALID_NULL_POINTER
nullptr == pVersion
zesFirmwareSetSecurityVersionExp#
Added in version 1.9
-
ZE_APIEXPORT ze_result_t ZE_APICALL zesFirmwareSetSecurityVersionExp(zes_firmware_handle_t hFirmware)#
Set the firmware security version number.
The application may call this function from simultaneous threads.
The implementation of this function should be lock-free.
- Parameters:
hFirmware – [in] Handle for the component.
- Returns:
ZE_RESULT_ERROR_INVALID_NULL_HANDLE
nullptr == hFirmware