File QnnCpuGraph.h

Parent directory (include/QNN/CPU)

QNN CPU component Graph API.

Definition (include/QNN/CPU/QnnCpuGraph.h)

Detailed Description

The interfaces in this file work with the top level QNN API and supplements QnnGraph.h for CPU backend

Includes

Full File Listing

QNN CPU component Graph API.

   The interfaces in this file work with the top level QNN
   API and supplements QnnGraph.h for CPU backend

Defines

QNN_CPU_GRAPH_OP_DEBUG_INIT

{                                       \

NULL,    /*callBackParam*/            \

NULL     /*cpuGraphOpDebugCallback*/  \

}


QnnCpuGraph_OpDebug_t initializer macro.

QNN_CPU_GRAPH_USE_QMX_INIT

{                                       \

false           /*useQmx*/            \

}


QnnCpuGraph_UseQmx_t initializer macro.

QNN_CPU_GRAPH_CUSTOM_CONFIG_INIT   {                                                           \     QNN_CPU_GRAPH_CONFIG_OPTION_UNDEFINED

, /*option*/         \

{                                                         \

QNN_CPU_GRAPH_OP_DEBUG_INIT

/*cpuGraphOpDebugCallback*/ \

}                                                         \

}


QnnCpuGraph_CustomConfig_t initializer macro.

Typedefs

typedef Qnn_ErrorHandle_t (*QnnCpuGraph_OpDebugCallback_t)(Qnn_OpConfig_t *opConfig, void *callBackParam)

Enums

enum QnnCpuGraph_ConfigOption_t

This enum provides different CPU graph configuration options associated with QnnGraph.

Values:

enumerator QNN_CPU_GRAPH_CONFIG_OPTION_OP_DEBUG_CALLBACK = 1
enumerator QNN_CPU_GRAPH_CONFIG_OPTION_USE_QMX = 2
enumerator QNN_CPU_GRAPH_CONFIG_OPTION_UNDEFINED = 0x7fffffff
struct QnnCpuGraph_OpDebug_t
#include <QnnCpuGraph.h>

Public Members

void *callBackParam
QnnCpuGraph_OpDebugCallback_t cpuGraphOpDebugCallback
struct QnnCpuGraph_UseQmx_t
#include <QnnCpuGraph.h>

Public Members

bool useQmx
struct QnnCpuGraph_CustomConfig_t
#include <QnnCpuGraph.h>

Structure describing the set of configurations supported by graph. Objects of this type are to be referenced through QnnGraph_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 QnnCpuGraph_ConfigOption_t and config value

Public Members

QnnCpuGraph_ConfigOption_t option
union unnamed
#include <QnnCpuGraph.h>

Public Members

QnnCpuGraph_OpDebug_t cpuGraphOpDebug
QnnCpuGraph_UseQmx_t cpuGraphUseQmx