Struct Qnn_ContextBinaryDataRequest_t

Struct Documentation

struct Qnn_ContextBinaryDataRequest_t

This structure defines a request for context binary data. It specifies the offset and size of the requested data.

Public Members

Qnn_ContextBinarySize_t offset

Offset of the requested data relative to the start of the context binary.

Qnn_ContextBinarySize_t size

Size of the requested data.

uint8_t isBackendMappingNeeded

A flag to indicate whether the requested buffer will be used for backend mapping. This flag has no effect on a raw buffer callback behavior. For a dma buffer callback If set to 1, the callback must return both memptr and memfd in the response structure. If set to 0, only memptr is required.