File QnnGpuBackend.h¶
↰ Parent directory (include/QNN/GPU)
A header which defines the QNN GPU specialization of the File QnnBackend.h interface.
Contents
Definition (include/QNN/GPU/QnnGpuBackend.h)¶
Includes¶
QnnBackend.h(File QnnBackend.h)stdint.h
Full File Listing¶
A header which defines the QNN GPU specialization of the QnnBackend.h interface.
Defines
-
QNN_GPU_BACKEND_CUSTOM_CONFIG_INIT { \
QNN_GPU_BACKEND_CONFIG_OPTION_UNDEFINED
, /*option*/ \
{ \
false /*enableTuningMode*/ \
} \
}
QnnGpuBackend_CustomConfig_t initializer macro.
Enums
-
enum QnnGpuBackend_ConfigOption_t¶
This enum defines QNN GPU custom Backend config options.
Values:
-
enumerator QNN_GPU_BACKEND_CONFIG_OPTION_ENABLE_TUNING_MODE = 0¶
If non-zero, tuning mode will be enabled.
-
enumerator QNN_GPU_BACKEND_CONFIG_OPTION_PERFORMANCE_CACHE_DIR = 1¶
The Performance cache directory. Must be non-null.
-
enumerator QNN_GPU_BACKEND_CONFIG_OPTION_INVALIDATE_PERFORMANCE_CACHE = 2¶
If non-zero, the performance cache will be ignored when initializing.
-
enumerator QNN_GPU_BACKEND_CONFIG_OPTION_WEIGHT_SHARING_ENABLED = 3¶
If non-zero, weight sharing is disabled.
-
enumerator QNN_GPU_BACKEND_CONFIG_OPTION_UNDEFINED = 0x7FFFFFFF¶
Unused, present to ensure 32 bits.
-
enumerator QNN_GPU_BACKEND_CONFIG_OPTION_ENABLE_TUNING_MODE = 0¶
-
struct QnnGpuBackend_CustomConfig_t¶
- #include <QnnGpuBackend.h>
A struct which defines the QNN GPU Backend custom configuration options. Objects of this type are to be referenced through QnnBackend_CustomConfig_t.
Public Members
-
union unnamed
- #include <QnnGpuBackend.h>
Public Members
-
uint8_t enableTuningMode
-
const char *performanceCacheDir
-
uint8_t invalidatePerformanceCache
-
uint8_t weightSharingEnabled
-
uint8_t enableTuningMode
-
union unnamed