Function QnnSystemDlc_readRecordDataMemoryMapped¶
Defined in File QnnSystemDlc.h
Function Documentation¶
-
Qnn_ErrorHandle_t QnnSystemDlc_readRecordDataMemoryMapped(QnnSystemDlc_RecordHandle_t recordHandle, const uint8_t **data, uint64_t *dataSize)¶
A function to retrieve the content of recordHandle as a memory mapped buffer data
- Parameters
recordHandle – [in] record handle to read from
data – [out] data read from the record
dataSize – [out] size of the data read
- Returns
Error code
QNN_SUCCESS: Successfully read the data of the record to user buffer
QNN_SYSTEM_DLC_ERROR_INVALID_HANDLE: Invalid record handle
QNN_SYSTEM_DLC_ERROR_INVALID_ARGUMENT: invalid user data pointer or dataSize pointer passed