Struct QnnSystemContext_BinaryInfoV3_t

Struct Documentation

struct QnnSystemContext_BinaryInfoV3_t

Struct that provides information about contents of a context binary. This is version V3 of the structure.

Public Members

uint32_t backendId

Backend that this context binary is associated with.

const char *buildId

Build ID of QNN SDK used to create context binary.

Qnn_Version_t coreApiVersion

QNN core API version.

Qnn_Version_t backendApiVersion

Version of backend-specific API for the backend producing context binary.

const char *socVersion

Version of the SOC for which context binary was generated.

Qnn_Version_t contextBlobVersion

Version of the opaque context blob generated by backend that is packed into the context binary Note that the context blob is not part of metadata. It is described by the metadata

uint64_t contextBlobSize

Size of opaque backend-specific context blob, in bytes.

uint32_t numContextTensors

Number of context tensors.

Qnn_Tensor_t *contextTensors

List of tensors registered to this context.

uint32_t numGraphs

Number of graphs registered with this context.

QnnSystemContext_GraphInfo_t *graphs

List of graphs registered to this context.

QnnDevice_PlatformInfo_t *platformInfo

Device information associated with the context.

uint32_t contextMetadataSize

Size of context metadata stored in the context binary, in bytes.

void *contextMetadata

context-specific settings

uint32_t socModel

An integer representation of the identifier for the SoC.