File QnnCpuContext.h

Parent directory (include/QNN/CPU)

QNN CPU component Context API.

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

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

enum QnnCpuContext_ConfigOption_t

This enum provides different CPU context configuration options associated with QnnContext.

Values:

enumerator QNN_CPU_CONTEXT_CONFIG_OPTION_USE_QMX = 1
enumerator QNN_CPU_CONTEXT_CONFIG_OPTION_UNDEFINED = 0x7fffffff
struct QnnCpuContext_UseQmx_t
#include <QnnCpuContext.h>

Public Members

bool useQmx
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

QnnCpuContext_ConfigOption_t option
union unnamed
#include <QnnCpuContext.h>

Public Members

QnnCpuContext_UseQmx_t cpuContextUseQmx