File QnnCpuContext.h¶
↰ Parent directory (include/QNN/CPU)
QNN CPU component Context API.
Contents
Definition (include/QNN/CPU/QnnCpuContext.h)¶
Detailed Description¶
The interfaces in this file work with the top level QNN API and supplements QnnContext.h for CPU backend
Includes¶
QnnContext.h(File QnnContext.h)
Full File Listing¶
QNN CPU component Context API.
The interfaces in this file work with the top level QNN
API and supplements QnnContext.h for CPU backend
Defines
-
QNN_CPU_CONTEXT_USE_QMX_INIT
{ \
false /*useQmx*/ \
}
QnnCpuGraph_UseQmx_t initializer macro.
-
QNN_CPU_CONTEXT_CUSTOM_CONFIG_INIT { \
QNN_CPU_CONTEXT_CONFIG_OPTION_UNDEFINED
, /*option*/ \
{ \
QNN_CPU_CONTEXT_USE_QMX_INIT/*useQmx*/ \
} \
}
QnnCpuContext_ConfigOption_t initializer macro.
Enums
-
struct QnnCpuContext_CustomConfig_t¶
- #include <QnnCpuContext.h>
Structure describing the set of configurations supported by context. Objects of this type are to be referenced through QnnContext_CustomConfig_t.
The struct has two fields - option and a union of corresponding config values Based on the option corresponding item in the union can be used to specify config. Below is the map between QnnCpuContext_ConfigOption_t and config value
Public Members
-
union unnamed
- #include <QnnCpuContext.h>
Public Members
-
QnnCpuContext_UseQmx_t cpuContextUseQmx
-
QnnCpuContext_UseQmx_t cpuContextUseQmx
-
union unnamed