Struct QnnContext_ParamsV1_t¶
Defined in File QnnContext.h
Struct Documentation¶
-
struct QnnContext_ParamsV1_t¶
This structure serves as a consolidated representation of context-related parameters. QnnContext_createFromBinaryListAsync API takes a list of these parameters for initializing multiple context binaries.
Public Members
-
const QnnContext_Config_t **config¶
Config pointer to a NULL-terminated array of config option pointers for one context. NULL is allowed and indicates that no config options are provided. If not provided, all config options have default values consistent with the serialized context. If the same config option type is provided multiple times, the last option value will be used.
-
const void *binaryBuffer¶
A pointer to the context binary.
-
const Qnn_ContextBinarySize_t binaryBufferSize¶
Holds the size of the context binary.
-
Qnn_ProfileHandle_t profile¶
The profile handle on which metrics are populated and can be queried. Use a NULL handle to disable profile collection. If a handle is reused, it will reset and be populated with values from the current call.
-
QnnContext_createFromBinaryNotifyFn_t notifyFunc¶
Pointer to a notification function, cannot be NULL.
-
void *notifyParam¶
Client-supplied data object which will be passed back via notifyFn and can be used to identify which context’s asynchronous initialization instance the notifyFn applies to. Can be NULL if client does not need it.
-
const QnnContext_Config_t **config¶