Function QnnSystemDlc_createFromFile¶
Defined in File QnnSystemDlc.h
Function Documentation¶
-
Qnn_ErrorHandle_t QnnSystemDlc_createFromFile(Qnn_LogHandle_t logger, const char *dlcPath, QnnSystemDlc_Handle_t *dlcHandle)¶
A function to create an instance of the DLC from a file.
- Parameters
dlcPath – [in] path the DLC
logger – [in] a log handle produced from QnnSystemLog_create(). Can be NULL
dlcHandle – [out] A handle to the created instance of a systemContext entity
- Returns
Error code
QNN_SUCCESS: Successfully created a systemContext entity
QNN_SYSTEM_DLC_ERROR_INVALID_ARGUMENT: sysCtxHandle is NULL
QNN_COMMON_ERROR_MEM_ALLOC: Error encountered in allocating memory for systemContext instance
QNN_SYSTEM_DLC_ERROR_UNSUPPORTED_FEATURE: system context features not supported