File QnnInterface.h

Parent directory (include/QNN)

QNN Interface API.

Definition (include/QNN/QnnInterface.h)

Detailed Description

QNN Interface is an abstraction combining all QNN component APIs. QNN Interface provides typedef variant of QNN component APIs and API to get QNN interface object(s). QNN Interface API can coexist with QNN component APIs. Visibility of Interface and Component APIs is determined by build configuration, specifically by QNN_API and QNN_INTERFACE macro definitions.

Includes

Included By

Typedefs

Full File Listing

QNN Interface API.

    QNN Interface is an abstraction combining all QNN component APIs. QNN Interface
    provides typedef variant of QNN component APIs and API to get QNN interface object(s).
    QNN Interface API can coexist with QNN component APIs. Visibility of Interface and
    Component APIs is determined by build configuration, specifically by QNN_API and
    QNN_INTERFACE macro definitions.

Defines

QNN_INTERFACE
QNN_INTERFACE_VER_EVAL(major, minor) QNN_PASTE_THREE(major, _, minor)
QNN_INTERFACE_NAME_EVAL(prefix, body, suffix) QNN_PASTE_THREE(prefix, body, suffix)
QNN_INTERFACE_VER_TYPE_EVAL(ver_major, ver_minor) QNN_INTERFACE_NAME_EVAL

(                                \

QnnInterface_ImplementationV,

QNN_INTERFACE_VER_EVAL(ver_major, ver_minor), _t)
QNN_INTERFACE_VER_NAME_EVAL(ver_major, ver_minor) QNN_INTERFACE_NAME_EVAL(v, QNN_INTERFACE_VER_EVAL(ver_major, ver_minor), )
QNN_INTERFACE_VER_TYPE QNN_INTERFACE_VER_TYPE_EVAL(QNN_API_VERSION_MAJOR, QNN_API_VERSION_MINOR)
QNN_INTERFACE_VER_NAME QNN_INTERFACE_VER_NAME_EVAL(QNN_API_VERSION_MAJOR, QNN_API_VERSION_MINOR)
QNN_INTERFACE_VER_TYPE_INIT

QNN_INTERFACE_VER_TYPE initializer macro.

QNN_INTERFACE_INIT   {                                                          \     QNN_BACKEND_ID_NULL

,      /*backendId*/                  \

NULL,                     /*providerName*/               \

QNN_API_VERSION_INIT

,     /*apiVersion*/                 \

{                                                        \

QNN_INTERFACE_VER_TYPE_INIT /*QNN_INTERFACE_VER_NAME

*/ \

}                                                        \

}


QnnInterface_t initializer macro.

Typedefs

typedef Qnn_ErrorHandle_t (*QnnProperty_HasCapabilityFn_t)(QnnProperty_Key_t key)

See QnnProperty_hasCapability()

typedef Qnn_ErrorHandle_t (*QnnGlobalConfig_SetFn_t)(const QnnGlobalConfig_t **config)

See QnnConfig_Set()

typedef Qnn_ErrorHandle_t (*QnnBackend_CreateFn_t)(Qnn_LogHandle_t logger, const QnnBackend_Config_t **config, Qnn_BackendHandle_t *backend)

See QnnBackend_create()

typedef Qnn_ErrorHandle_t (*QnnBackend_SetConfigFn_t)(Qnn_BackendHandle_t backend, const QnnBackend_Config_t **config)

See QnnBackend_setConfig()

typedef Qnn_ErrorHandle_t (*QnnBackend_GetApiVersionFn_t)(Qnn_ApiVersion_t *pVersion)

See QnnBackend_getApiVersion()

typedef Qnn_ErrorHandle_t (*QnnBackend_GetBuildIdFn_t)(const char **id)

See QnnBackend_getBuildId()

typedef Qnn_ErrorHandle_t (*QnnBackend_RegisterOpPackageFn_t)(Qnn_BackendHandle_t backend, const char *packagePath, const char *interfaceProvider, const char *target)

See QnnBackend_registerOpPackage()

typedef Qnn_ErrorHandle_t (*QnnBackend_GetSupportedOperationsFn_t)(Qnn_BackendHandle_t backend, uint32_t *numOperations, const QnnBackend_OperationName_t **operations)

See QnnBackend_getSupportedOperations()

typedef Qnn_ErrorHandle_t (*QnnBackend_ValidateOpConfigFn_t)(Qnn_BackendHandle_t backend, Qnn_OpConfig_t opConfig)

See QnnBackend_validateOpConfig()

typedef Qnn_ErrorHandle_t (*QnnBackend_FreeFn_t)(Qnn_BackendHandle_t backend)

See QnnBackend_free()

typedef Qnn_ErrorHandle_t (*QnnBackend_GetPropertyFn_t)(Qnn_BackendHandle_t backendHandle, QnnBackend_Property_t **properties)

See QnnBackend_getProperty()

typedef Qnn_ErrorHandle_t (*QnnContext_CreateFn_t)(Qnn_BackendHandle_t backend, Qnn_DeviceHandle_t device, const QnnContext_Config_t **config, Qnn_ContextHandle_t *context)

See QnnContext_create()

typedef Qnn_ErrorHandle_t (*QnnContext_SetConfigFn_t)(Qnn_ContextHandle_t context, const QnnContext_Config_t **config)

See QnnContext_setConfig()

typedef Qnn_ErrorHandle_t (*QnnContext_GetBinarySizeFn_t)(Qnn_ContextHandle_t context, Qnn_ContextBinarySize_t *binaryBufferSize)

See QnnContext_getBinarySize()

typedef Qnn_ErrorHandle_t (*QnnContext_GetBinaryFn_t)(Qnn_ContextHandle_t context, void *binaryBuffer, Qnn_ContextBinarySize_t binaryBufferSize, Qnn_ContextBinarySize_t *writtenBufferSize)

See QnnContext_getBinary()

typedef Qnn_ErrorHandle_t (*QnnContext_CreateFromBinaryFn_t)(Qnn_BackendHandle_t backend, Qnn_DeviceHandle_t device, const QnnContext_Config_t **config, const void *binaryBuffer, Qnn_ContextBinarySize_t binaryBufferSize, Qnn_ContextHandle_t *context, Qnn_ProfileHandle_t profile)

See QnnContext_createFromBinary()

typedef Qnn_ErrorHandle_t (*QnnContext_FreeFn_t)(Qnn_ContextHandle_t context, Qnn_ProfileHandle_t profile)

See QnnContext_free()

typedef Qnn_ErrorHandle_t (*QnnContext_ValidateBinaryFn_t)(Qnn_BackendHandle_t backend, Qnn_DeviceHandle_t device, const QnnContext_Config_t **config, const void *binaryBuffer, Qnn_ContextBinarySize_t binaryBufferSize)

See QnnContext_validateBinary()

typedef Qnn_ErrorHandle_t (*QnnContext_CreateFromBinaryWithSignalFn_t)(Qnn_BackendHandle_t backend, Qnn_DeviceHandle_t device, const QnnContext_Config_t **config, const void *binaryBuffer, Qnn_ContextBinarySize_t binaryBufferSize, Qnn_ContextHandle_t *context, Qnn_ProfileHandle_t profile, Qnn_SignalHandle_t signal)

See QnnContext_createFromBinaryWithSignal()

typedef Qnn_ErrorHandle_t (*QnnContext_CreateFromBinaryListAsyncFn_t)(Qnn_BackendHandle_t backend, Qnn_DeviceHandle_t device, const QnnContext_Params_t **contextParams, const QnnContext_Config_t **listConfig, Qnn_SignalHandle_t signal)

See QnnContext_createFromBinaryListAsync()

typedef Qnn_ErrorHandle_t (*QnnContext_FinalizeFn_t)(Qnn_ContextHandle_t context, Qnn_ProfileHandle_t profile)

See QnnContext_finalize()

typedef Qnn_ErrorHandle_t (*QnnContext_CreateFromBinaryWithCallbackFn_t)(Qnn_BackendHandle_t backend, Qnn_DeviceHandle_t device, const QnnContext_Config_t **config, const Qnn_ContextBinaryCallback_t *callback, const void *binaryBuffer, Qnn_ContextBinarySize_t binaryBufferSize, Qnn_ContextHandle_t *context, Qnn_ProfileHandle_t profile, Qnn_SignalHandle_t signal)

See QnnContext_createFromBinaryWithCallback()

typedef Qnn_ErrorHandle_t (*QnnContext_GetBinarySectionSizeFn_t)(Qnn_ContextHandle_t context, Qnn_GraphHandle_t graph, QnnContext_SectionType_t section, Qnn_ContextBinarySize_t *binaryBufferSize)

See QnnContext_getBinarySectionSize()

typedef Qnn_ErrorHandle_t (*QnnContext_GetBinarySectionFn_t)(Qnn_ContextHandle_t context, Qnn_GraphHandle_t graph, QnnContext_SectionType_t section, const QnnContext_Buffer_t *binaryBuffer, Qnn_ContextBinarySize_t *writtenBufferSize, Qnn_ProfileHandle_t profile, Qnn_SignalHandle_t signal)

See QnnContext_getBinarySection()

typedef Qnn_ErrorHandle_t (*QnnContext_ApplyBinarySectionFn_t)(Qnn_ContextHandle_t context, Qnn_GraphHandle_t graph, QnnContext_SectionType_t section, const QnnContext_Buffer_t *binaryBuffer, Qnn_ProfileHandle_t profile, Qnn_SignalHandle_t signal)

See QnnContext_applyBinarySection()

typedef Qnn_ErrorHandle_t (*QnnContext_GetPropertyFn_t)(Qnn_ContextHandle_t contextHandle, QnnContext_Property_t **properties)

See QnnContext_getProperty()

typedef Qnn_ErrorHandle_t (*QnnContext_GetIncrementalBinaryFn_t)(Qnn_ContextHandle_t context, const void **binaryBuffer, Qnn_ContextBinarySize_t *startOffset, Qnn_ContextBinarySize_t *writtenBufferSize)

See QnnContext_getIncrementalBinary()

typedef Qnn_ErrorHandle_t (*QnnContext_ReleaseIncrementalBinaryFn_t)(Qnn_ContextHandle_t context, const void *binaryBuffer, Qnn_ContextBinarySize_t startOffset)

See QnnContext_releaseIncrementalBinary()

typedef Qnn_ErrorHandle_t (*QnnGraph_CreateFn_t)(Qnn_ContextHandle_t contextHandle, const char *graphName, const QnnGraph_Config_t **config, Qnn_GraphHandle_t *graphHandle)

See QnnGraph_create()

typedef Qnn_ErrorHandle_t (*QnnGraph_CreateSubgraphFn_t)(Qnn_GraphHandle_t graphHandle, const char *graphName, Qnn_GraphHandle_t *subgraphHandle)

See QnnGraph_createSubgraph()

typedef Qnn_ErrorHandle_t (*QnnGraph_SetConfigFn_t)(Qnn_GraphHandle_t graphHandle, const QnnGraph_Config_t **config)

See QnnGraph_setConfig()

typedef Qnn_ErrorHandle_t (*QnnGraph_GetPropertyFn_t)(Qnn_GraphHandle_t graphHandle, QnnGraph_Property_t **properties)

See QnnGraph_getProperty()

typedef Qnn_ErrorHandle_t (*QnnGraph_AddNodeFn_t)(Qnn_GraphHandle_t graphHandle, Qnn_OpConfig_t opConfig)

See QnnGraph_addNode()

typedef Qnn_ErrorHandle_t (*QnnGraph_FinalizeFn_t)(Qnn_GraphHandle_t graphHandle, Qnn_ProfileHandle_t profileHandle, Qnn_SignalHandle_t signalHandle)

See QnnGraph_finalize()

typedef Qnn_ErrorHandle_t (*QnnGraph_RetrieveFn_t)(Qnn_ContextHandle_t contextHandle, const char *graphName, Qnn_GraphHandle_t *graphHandle)

See QnnGraph_retrieve()

typedef Qnn_ErrorHandle_t (*QnnGraph_PrepareExecutionEnvironmentFn_t)(Qnn_GraphHandle_t graphHandle, QnnGraph_ExecuteEnvironment_t **envs, uint32_t envSize)

See QnnGraph_prepareExecutionEnvironment()

typedef Qnn_ErrorHandle_t (*QnnGraph_ExecuteFn_t)(Qnn_GraphHandle_t graphHandle, const Qnn_Tensor_t *inputs, uint32_t numInputs, Qnn_Tensor_t *outputs, uint32_t numOutputs, Qnn_ProfileHandle_t profileHandle, Qnn_SignalHandle_t signalHandle)

See QnnGraph_execute()

typedef Qnn_ErrorHandle_t (*QnnGraph_ExecuteAsyncFn_t)(Qnn_GraphHandle_t graphHandle, const Qnn_Tensor_t *inputs, uint32_t numInputs, Qnn_Tensor_t *outputs, uint32_t numOutputs, Qnn_ProfileHandle_t profileHandle, Qnn_SignalHandle_t signalHandle, Qnn_NotifyFn_t notifyFn, void *notifyParam)

See QnnGraph_executeAsync()

typedef Qnn_ErrorHandle_t (*QnnGraph_ReleaseExecutionEnvironmentFn_t)(Qnn_GraphHandle_t graphHandle, const QnnGraph_ExecuteEnvironment_t **envs, uint32_t envSize)

See QnnGraph_releaseExecutionEnvironment()

typedef Qnn_ErrorHandle_t (*QnnTensor_CreateContextTensorFn_t)(Qnn_ContextHandle_t context, Qnn_Tensor_t *tensor)

See QnnTensor_createContextTensor()

typedef Qnn_ErrorHandle_t (*QnnTensor_CreateGraphTensorFn_t)(Qnn_GraphHandle_t graph, Qnn_Tensor_t *tensor)

See QnnTensor_createGraphTensor()

typedef Qnn_ErrorHandle_t (*QnnTensor_UpdateContextTensorsFn_t)(Qnn_ContextHandle_t context, const Qnn_Tensor_t **tensor, uint64_t numTensors)

See QnnTensor_updateContextTensor()

typedef Qnn_ErrorHandle_t (*QnnTensor_UpdateGraphTensorsFn_t)(Qnn_GraphHandle_t graph, const Qnn_Tensor_t **tensor, uint64_t numTensors)

See QnnTensor_updateGraphTensor()

typedef Qnn_ErrorHandle_t (*QnnLog_CreateFn_t)(QnnLog_Callback_t callback, QnnLog_Level_t maxLogLevel, Qnn_LogHandle_t *logger)

See QnnLog_create()

typedef Qnn_ErrorHandle_t (*QnnLog_SetLogLevelFn_t)(Qnn_LogHandle_t logger, QnnLog_Level_t maxLogLevel)

See QnnLog_setLogLevel()

typedef Qnn_ErrorHandle_t (*QnnLog_FreeFn_t)(Qnn_LogHandle_t logger)

See QnnLog_free()

typedef Qnn_ErrorHandle_t (*QnnProfile_CreateFn_t)(Qnn_BackendHandle_t backend, QnnProfile_Level_t level, Qnn_ProfileHandle_t *profile)

See QnnProfile_create()

typedef Qnn_ErrorHandle_t (*QnnProfile_SetConfigFn_t)(Qnn_ProfileHandle_t profileHandle, const QnnProfile_Config_t **config)

See QnnProfile_setConfig()

typedef Qnn_ErrorHandle_t (*QnnProfile_GetEventsFn_t)(Qnn_ProfileHandle_t profile, const QnnProfile_EventId_t **profileEventIds, uint32_t *numEvents)

See QnnProfile_getEvents()

typedef Qnn_ErrorHandle_t (*QnnProfile_GetSubEventsFn_t)(QnnProfile_EventId_t eventId, const QnnProfile_EventId_t **subEventIds, uint32_t *numSubEvents)

See QnnProfile_getSubEvents()

typedef Qnn_ErrorHandle_t (*QnnProfile_GetEventDataFn_t)(QnnProfile_EventId_t eventId, QnnProfile_EventData_t *eventData)

See QnnProfile_getEventData()

typedef Qnn_ErrorHandle_t (*QnnProfile_GetExtendedEventDataFn_t)(QnnProfile_EventId_t eventId, QnnProfile_ExtendedEventData_t *eventData)

See QnnProfile_getExtendedEventData()

typedef Qnn_ErrorHandle_t (*QnnProfile_FreeFn_t)(Qnn_ProfileHandle_t profile)

See QnnProfile_free()

typedef Qnn_ErrorHandle_t (*QnnMem_RegisterFn_t)(Qnn_ContextHandle_t context, const Qnn_MemDescriptor_t *memDescriptors, uint32_t numDescriptors, Qnn_MemHandle_t *memHandles)

See QnnMem_register()

typedef Qnn_ErrorHandle_t (*QnnMem_DeRegisterFn_t)(const Qnn_MemHandle_t *memHandles, uint32_t numHandles)

See QnnMem_deRegister()

typedef Qnn_ErrorHandle_t (*QnnDevice_GetPlatformInfoFn_t)(Qnn_LogHandle_t logger, const QnnDevice_PlatformInfo_t **platformInfo)

See QnnDevice_getPlatformInfo()

typedef Qnn_ErrorHandle_t (*QnnDevice_FreePlatformInfoFn_t)(Qnn_LogHandle_t logger, const QnnDevice_PlatformInfo_t *platformInfo)

See QnnDevice_freePlatformInfo()

typedef Qnn_ErrorHandle_t (*QnnDevice_GetInfrastructureFn_t)(const QnnDevice_Infrastructure_t *deviceInfra)

See QnnDevice_getInfrastructure()

typedef Qnn_ErrorHandle_t (*QnnDevice_CreateFn_t)(Qnn_LogHandle_t logger, const QnnDevice_Config_t **config, Qnn_DeviceHandle_t *device)

See QnnDevice_create()

typedef Qnn_ErrorHandle_t (*QnnDevice_SetConfigFn_t)(Qnn_DeviceHandle_t device, const QnnDevice_Config_t **config)

See QnnDevice_setConfig()

typedef Qnn_ErrorHandle_t (*QnnDevice_GetInfoFn_t)(Qnn_DeviceHandle_t device, const QnnDevice_PlatformInfo_t **platformInfo)

See QnnDevice_getInfo()

typedef Qnn_ErrorHandle_t (*QnnDevice_FreeFn_t)(Qnn_DeviceHandle_t device)

See QnnDevice_free()

typedef Qnn_ErrorHandle_t (*QnnSignal_CreateFn_t)(Qnn_BackendHandle_t backend, const QnnSignal_Config_t **config, Qnn_SignalHandle_t *signal)

See QnnSignal_create()

typedef Qnn_ErrorHandle_t (*QnnSignal_SetConfigFn_t)(Qnn_SignalHandle_t signal, const QnnSignal_Config_t **config)

See QnnSignal_setConfig()

typedef Qnn_ErrorHandle_t (*QnnSignal_TriggerFn_t)(Qnn_SignalHandle_t signal)

See QnnSignal_trigger()

typedef Qnn_ErrorHandle_t (*QnnSignal_FreeFn_t)(Qnn_SignalHandle_t signal)

See QnnSignal_free()

typedef Qnn_ErrorHandle_t (*QnnError_GetMessageFn_t)(Qnn_ErrorHandle_t errorHandle, const char **errorMessage)

See QnnError_getMessage()

typedef Qnn_ErrorHandle_t (*QnnError_GetVerboseMessageFn_t)(Qnn_ErrorHandle_t errorHandle, const char **errorMessage)

See QnnError_getVerboseMessage()

typedef Qnn_ErrorHandle_t (*QnnError_FreeVerboseMessageFn_t)(const char *errorMessage)

See QnnError_freeVerboseMessage()

Enums

enum QnnInterface_Error_t

QNN Interface API result / error codes.

Values:

enumerator QNN_INTERFACE_MIN_ERROR = 60000
enumerator QNN_INTERFACE_NO_ERROR = 0
enumerator QNN_INTERFACE_ERROR_NOT_SUPPORTED = QNN_COMMON_ERROR_NOT_SUPPORTED
enumerator QNN_INTERFACE_ERROR_INVALID_PARAMETER = QNN_COMMON_ERROR_INVALID_ARGUMENT
enumerator QNN_INTERFACE_MAX_ERROR = 60999

Functions

Qnn_ErrorHandle_t QnnInterface_getProviders(const QnnInterface_t ***providerList, uint32_t *numProviders)

Get list of available interface providers.

Parameters
  • providerList[out] A pointer to an array of available interface providers. The lifetime of returned interface object pointers corresponds to the lifetime of the provider library. Contents are to be considered invalid if the provider library is terminated/unloaded. This function can be called immediately after provider library has been loaded.

  • numProviders[out] Number of available interface objects in providerList.

Returns

Error code:

  • QNN_SUCCESS: No error.

  • QNN_INTERFACE_INVALID_PARAMETER: Invalid parameter was provided. Either providerList or numProviders was NULL.

  • QNN_INTERFACE_ERROR_NOT_SUPPORTED: API not supported.

struct QnnInterface_ImplementationV2_29_t
#include <QnnInterface.h>

This struct defines Qnn interface specific to version. Interface functions are allowed to be NULL if not supported/available.

Public Members

QnnProperty_HasCapabilityFn_t propertyHasCapability
QnnBackend_CreateFn_t backendCreate
QnnBackend_SetConfigFn_t backendSetConfig
QnnBackend_GetApiVersionFn_t backendGetApiVersion
QnnBackend_GetBuildIdFn_t backendGetBuildId
QnnBackend_RegisterOpPackageFn_t backendRegisterOpPackage
QnnBackend_GetSupportedOperationsFn_t backendGetSupportedOperations
QnnBackend_ValidateOpConfigFn_t backendValidateOpConfig
QnnBackend_FreeFn_t backendFree
QnnContext_CreateFn_t contextCreate
QnnContext_SetConfigFn_t contextSetConfig
QnnContext_GetBinarySizeFn_t contextGetBinarySize
QnnContext_GetBinaryFn_t contextGetBinary
QnnContext_CreateFromBinaryFn_t contextCreateFromBinary
QnnContext_FreeFn_t contextFree
QnnGraph_CreateFn_t graphCreate
QnnGraph_CreateSubgraphFn_t graphCreateSubgraph
QnnGraph_SetConfigFn_t graphSetConfig
QnnGraph_AddNodeFn_t graphAddNode
QnnGraph_FinalizeFn_t graphFinalize
QnnGraph_RetrieveFn_t graphRetrieve
QnnGraph_ExecuteFn_t graphExecute
QnnGraph_ExecuteAsyncFn_t graphExecuteAsync
QnnTensor_CreateContextTensorFn_t tensorCreateContextTensor
QnnTensor_CreateGraphTensorFn_t tensorCreateGraphTensor
QnnLog_CreateFn_t logCreate
QnnLog_SetLogLevelFn_t logSetLogLevel
QnnLog_FreeFn_t logFree
QnnProfile_CreateFn_t profileCreate
QnnProfile_SetConfigFn_t profileSetConfig
QnnProfile_GetEventsFn_t profileGetEvents
QnnProfile_GetSubEventsFn_t profileGetSubEvents
QnnProfile_GetEventDataFn_t profileGetEventData
QnnProfile_GetExtendedEventDataFn_t profileGetExtendedEventData
QnnProfile_FreeFn_t profileFree
QnnMem_RegisterFn_t memRegister
QnnMem_DeRegisterFn_t memDeRegister
QnnDevice_GetPlatformInfoFn_t deviceGetPlatformInfo
QnnDevice_FreePlatformInfoFn_t deviceFreePlatformInfo
QnnDevice_GetInfrastructureFn_t deviceGetInfrastructure
QnnDevice_CreateFn_t deviceCreate
QnnDevice_SetConfigFn_t deviceSetConfig
QnnDevice_GetInfoFn_t deviceGetInfo
QnnDevice_FreeFn_t deviceFree
QnnSignal_CreateFn_t signalCreate
QnnSignal_SetConfigFn_t signalSetConfig
QnnSignal_TriggerFn_t signalTrigger
QnnSignal_FreeFn_t signalFree
QnnError_GetMessageFn_t errorGetMessage
QnnError_GetVerboseMessageFn_t errorGetVerboseMessage
QnnError_FreeVerboseMessageFn_t errorFreeVerboseMessage
QnnGraph_PrepareExecutionEnvironmentFn_t graphPrepareExecutionEnvironment
QnnGraph_ReleaseExecutionEnvironmentFn_t graphReleaseExecutionEnvironment
QnnGraph_GetPropertyFn_t graphGetProperty
QnnContext_ValidateBinaryFn_t contextValidateBinary
QnnContext_CreateFromBinaryWithSignalFn_t contextCreateFromBinaryWithSignal
QnnContext_CreateFromBinaryListAsyncFn_t contextCreateFromBinaryListAsync
QnnTensor_UpdateGraphTensorsFn_t tensorUpdateGraphTensors
QnnTensor_UpdateContextTensorsFn_t tensorUpdateContextTensors
QnnContext_GetBinarySectionSizeFn_t contextGetBinarySectionSize
QnnContext_GetBinarySectionFn_t contextGetBinarySection
QnnContext_ApplyBinarySectionFn_t contextApplyBinarySection
QnnBackend_GetPropertyFn_t backendGetProperty
QnnContext_GetPropertyFn_t contextGetProperty
QnnContext_GetIncrementalBinaryFn_t contextGetIncrementalBinary
QnnContext_ReleaseIncrementalBinaryFn_t contextReleaseIncrementalBinary
QnnContext_FinalizeFn_t contextFinalize
QnnGlobalConfig_SetFn_t globalConfigSet
QnnContext_CreateFromBinaryWithCallbackFn_t contextCreateFromBinaryWithCallback
struct QnnInterface_t
#include <QnnInterface.h>

Public Members

uint32_t backendId

Backend identifier. See QnnCommon.h for details. Allowed to be QNN_BACKEND_ID_NULL in case of single backend library, in which case clients can deduce backend identifier based on library being loaded.

const char *providerName

Interface provider name. Allowed to be NULL.

Qnn_ApiVersion_t apiVersion
union unnamed
#include <QnnInterface.h>

Public Members

QnnInterface_ImplementationV2_29_t v2_29