File QnnLpaiBackend.h¶
↰ Parent directory (include/QNN/LPAI)
QNN LPAI component Backend API.
Contents
Definition (include/QNN/LPAI/QnnLpaiBackend.h)¶
Detailed Description¶
The interfaces in this file work with the top level QNN API and supplements QnnBackend.h for LPAI backend
Includes¶
QnnBackend.h(File QnnBackend.h)
Classes¶
Enums¶
Defines¶
Full File Listing¶
QNN LPAI component Backend API.
The interfaces in this file work with the top level QNN
API and supplements QnnBackend.h for LPAI backend
Defines
-
QNN_LPAI_BACKEND_CUSTOM_CONFIG_INIT { \
QNN_LPAI_BACKEND_CUSTOM_CFG_UNDEFINED
, /*option*/ \
NULL /*config*/ \
}
QnnLpaiBackend_CustomConfig_t initializer macro.
-
QNN_LPAI_BACKEND_CUSTOM_CONFIG_HW_INFO_INIT { \
QNN_LPAI_BACKEND_TARGET_ADSP, /*lpaiTarget*/ \
QNN_LPAI_BACKEND_HW_VERSION_DEFAULT
/*hwVersion*/ \
}
QnnLpaiBackend_CustomConfigHwInfo_t initializer macro.
-
QNN_LPAI_BACKEND_ALIGNMENT_REQ_INIT
{ \
0u, /*startAddrAlignment*/ \
0u /*sizeAlignment*/ \
}
QnnLpaiBackend_BufferAlignmentReq_t initializer macro.
-
QNN_LPAI_BACKEND_CUSTOM_PROPERTY_INIT { \
QNN_LPAI_BACKEND_GET_PROP_UNDEFINED
, /*option*/ \
NULL /*property*/ \
}
QnnLpaiBackend_CustomProperty_t initializer macro.
Enums
-
enum QnnLpaiBackend_CustomConfigOption_t¶
An enum which defines the different backend custom config options.
Values:
-
enumerator QNN_LPAI_BACKEND_CUSTOM_CFG_HW_INFO¶
-
enumerator QNN_LPAI_BACKEND_CUSTOM_CFG_UNDEFINED = 0x7fffffff¶
-
enumerator QNN_LPAI_BACKEND_CUSTOM_CFG_HW_INFO¶
-
enum QnnLpaiBackend_Target_t¶
An enum which defines the different targets supported by LPAI compilation.
Values:
-
enumerator QNN_LPAI_BACKEND_TARGET_X86 = 0¶
LPAI model will be compiled for x86.
-
enumerator QNN_LPAI_BACKEND_TARGET_ARM = 1¶
LPAI model will be compiled for ARM.
-
enumerator QNN_LPAI_BACKEND_TARGET_ADSP = 2¶
LPAI model will be compiled for ADSP.
-
enumerator QNN_LPAI_BACKEND_TARGET_TENSILICA = 3¶
LPAI model will be compiled for TENSILICA.
-
enumerator QNN_LPAI_BACKEND_TARGET_UNKNOWN = 0x7fffffff¶
UNKNOWN enum event that must not be used.
-
enumerator QNN_LPAI_BACKEND_TARGET_X86 = 0¶
-
enum QnnLpaiBackend_HwVersion_t¶
An enum which defines the version of LPAI Hardware.
Values:
-
enumerator QNN_LPAI_BACKEND_HW_VERSION_NA = 0¶
No LPAI HW will be used.
-
enumerator QNN_LPAI_BACKEND_HW_VERSION_V1 = 0x00000001¶
LPAI HW version v1.
-
enumerator QNN_LPAI_BACKEND_HW_VERSION_V2 = 0x00000002¶
LPAI HW version v2.
-
enumerator QNN_LPAI_BACKEND_HW_VERSION_V3 = 0x00000003¶
LPAI HW version v3.
-
enumerator QNN_LPAI_BACKEND_HW_VERSION_V4 = 0x00000004¶
LPAI HW version v4.
-
enumerator QNN_LPAI_BACKEND_HW_VERSION_V5 = 0x00000005¶
LPAI HW version v5.
-
enumerator QNN_LPAI_BACKEND_HW_VERSION_V5_1 = 0x00010005¶
LPAI HW version v5.1.
-
enumerator QNN_LPAI_BACKEND_HW_VERSION_V6 = 0x00000006¶
LPAI HW version v6.
-
enumerator QNN_LPAI_BACKEND_HW_VERSION_V7 = 0x00000007¶
LPAI HW version v7.
-
enumerator QNN_LPAI_BACKEND_HW_VERSION_DEFAULT = QNN_LPAI_BACKEND_HW_VERSION_V6¶
LPAI HW default version v6.
-
enumerator QNN_LPAI_BACKEND_HW_VERSION_UNKNOWN = 0x7fffffff¶
UNKNOWN enum event that must not be used.
-
enumerator QNN_LPAI_BACKEND_HW_VERSION_NA = 0¶
-
enum QnnLpaiBackend_GetPropertyOption_t¶
Enum describing the set of properties supported by the backend. Objects of this type are to be referenced through QnnBackend_CustomProperty_t.
Values:
-
enumerator QNN_LPAI_BACKEND_GET_PROP_ALIGNMENT_REQ¶
-
enumerator QNN_LPAI_BACKEND_GET_PROP_REQUIRE_PERSISTENT_BINARY¶
-
enumerator QNN_LPAI_BACKEND_GET_PROP_UNDEFINED = 0x7fffffff¶
-
enumerator QNN_LPAI_BACKEND_GET_PROP_ALIGNMENT_REQ¶
-
struct QnnLpaiBackend_CustomConfig_t¶
- #include <QnnLpaiBackend.h>
Structure describing the set of configurations supported by the backend. Objects of this type are to be referenced through QnnBackend_CustomConfig_t.
-
struct QnnLpaiBackend_CustomConfigHwInfo_t¶
- #include <QnnLpaiBackend.h>
-
struct QnnLpaiBackend_BufferAlignmentReq_t¶
- #include <QnnLpaiBackend.h>
-
struct QnnLpaiBackend_CustomProperty_t¶
- #include <QnnLpaiBackend.h>