File QnnLpaiContext.h¶
↰ Parent directory (include/QNN/LPAI)
QNN LPAI Context components.
Contents
Definition (include/QNN/LPAI/QnnLpaiContext.h)¶
Includes¶
QnnLpaiContextInt.h(File QnnLpaiContextInt.h)stdint.h
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
Context Level All graphs in the context will run in island mode Config value: NULL
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¶
-
enumerator QNN_LPAI_CONTEXT_SET_CFG_MODEL_BUFFER_MEM_TYPE = QNN_LPAI_CONTEXT_SET_CFG_MODEL_BUFFER_MEM_TYPE_DEFAULT¶
-
struct QnnLpaiContext_CustomConfig_t¶
- #include <QnnLpaiContext.h>