Struct QnnSystemContext_BinaryInfoV2_t

Struct Documentation

struct QnnSystemContext_BinaryInfoV2_t

Struct that provides information about contents of a context binary. This is version V2 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 hwInfoBlobVersion

Version of hardware info blob stored in the context binary.

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

uint32_t hwInfoBlobSize

Size of hardware info blob stored in the context binary, in bytes.

void *hwInfoBlob

Hardware Info blob. Needs to be interpreted based on backend-specific instructions.

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.