Function QnnSystemDlc_getRecordByName¶
Defined in File QnnSystemDlc.h
Function Documentation¶
-
Qnn_ErrorHandle_t QnnSystemDlc_getRecordByName(QnnSystemDlc_Handle_t dlcHandle, const char *recordName, QnnSystemDlc_RecordHandle_t *recordHandle)¶
A function to retrieve a record associated with handle dlcHandle of name recordName
- Parameters
dlcHandle – [in] handle to the DLC to which this record is associated
recordName – [in] the name of the record to retrieve
recordHandle – [out] record handle matching recordName
- Returns
Error code
QNN_SUCCESS: Successfully retrieved record of recordName
QNN_SYSTEM_DLC_ERROR_INVALID_HANDLE: Invalid dlcHandle passed
QNN_SYSTEM_DLC_ERROR_INVALID_ARGUMENT: Invalid recordName or recordHandle passed
Note
If there are no records that match recordName, then recordHandle will be set to nullptr. Record names are unique within a DLC so this API will only return at most one record handle