Function QnnSignal_free¶
Defined in File QnnSignal.h
Function Documentation¶
-
Qnn_ErrorHandle_t QnnSignal_free(Qnn_SignalHandle_t signal)¶
Free memory and resources associated with an available signal object.
- Parameters
signal – [in] The signal object to free.
- Returns
Error code:
QNN_SUCCESS: if the signal object is successfully freed
QNN_SIGNAL_ERROR_INVALID_HANDLE: signal handle is null or invalid
QNN_SIGNAL_ERROR_SIGNAL_IN_USE: if the signal object is currently in-use
QNN_SIGNAL_ERROR_MEM_ALLOC: an error is encountered with de-allocation of associated memory
QNN_SIGNAL_ERROR_UNSUPPORTED: if QnnSignal API is not supported on the backend