File QnnLpaiContext.h

Parent directory (include/QNN/LPAI)

QNN LPAI Context components.

Definition (include/QNN/LPAI/QnnLpaiContext.h)

Includes

Full File Listing

QNN LPAI Context components.

Defines

QNN_LPAI_CONTEXT_CUSTOM_CONFIG_INIT   {                                                                \     QNN_LPAI_CONTEXT_SET_CFG_UNDEFINED

,               /*option*/   \

NULL                                              /*config*/   \

}


Enums

enum QnnLpaiContext_SetConfigOption_t

Values:

enumerator QNN_LPAI_CONTEXT_SET_CFG_MODEL_BUFFER_MEM_TYPE = QNN_LPAI_CONTEXT_SET_CFG_MODEL_BUFFER_MEM_TYPE_DEFAULT
enumerator QNN_LPAI_CONTEXT_SET_CFG_ENABLE_ISLAND = QNN_LPAI_CONTEXT_SET_CFG_ENABLE_ISLAND_DEFAULT

Can be set at context level or per graph

  1. Context Level All graphs in the context will run in island mode Config value: NULL

  2. Graph Level Only graph names specified in configs will run in island Each config will contain one graph name as a char* Config value: char* specifying which graph name is to be run in island

Note: Both can not be set simultaneously.

enumerator QNN_LPAI_CONTEXT_SET_CFG_UNDEFINED = 0x7fffffff
struct QnnLpaiContext_CustomConfig_t
#include <QnnLpaiContext.h>

Public Members

uint32_t option
void *config