Function QnnSystemDlc_freeRecord¶
Defined in File QnnSystemDlc.h
Function Documentation¶
-
Qnn_ErrorHandle_t QnnSystemDlc_freeRecord(QnnSystemDlc_RecordHandle_t recordHandle)¶
A function to free a record. Record will also be freed if the associated DLC handle is freed.
- Parameters
recordHandle – [in] handle to the record to be freed
- Returns
Error code
QNN_SUCCESS: Successfully freed instance of record handle
QNN_SYSTEM_DLC_ERROR_INVALID_HANDLE: Invalid record handle to free
Note
If the record is associated with a DLC, this API does not remove the record from the DLC. It will only free the record handle. To remove the record from the DLC, use the QnnSystemDlc_removeRecordByType() API
Note
This API will fail if the record is associated with a DLC and its handle has already been freed. Since freeing the DLC handle also frees all handles of the records associated with it, this operation will result in failure