Enum QnnContext_Error_t¶
Defined in File QnnContext.h
Enum Documentation¶
-
enum QnnContext_Error_t
QNN Context API result / error codes.
Values:
-
enumerator QNN_CONTEXT_MIN_ERROR = 5000
-
enumerator QNN_CONTEXT_NO_ERROR = 0
Qnn context success.
-
enumerator QNN_CONTEXT_ERROR_UNSUPPORTED_FEATURE = QNN_COMMON_ERROR_NOT_SUPPORTED
There is optional API component that is not supported yet. See QnnProperty.
-
enumerator QNN_CONTEXT_ERROR_MEM_ALLOC = QNN_COMMON_ERROR_MEM_ALLOC
Context-specific memory allocation/deallocation failure.
-
enumerator QNN_CONTEXT_ERROR_INVALID_ARGUMENT = 5000 + 0
An argument to QNN context API is deemed invalid by a backend.
-
enumerator QNN_CONTEXT_ERROR_CTX_DOES_NOT_EXIST = 5000 + 1
A QNN context has not yet been created in the backend.
-
enumerator QNN_CONTEXT_ERROR_INVALID_HANDLE = 5000 + 2
Invalid/NULL QNN context handle.
-
enumerator QNN_CONTEXT_ERROR_NOT_FINALIZED = 5000 + 3
Attempting an operation when graphs in a context haven’t been finalized.
-
enumerator QNN_CONTEXT_ERROR_BINARY_VERSION = 5000 + 4
Attempt to access context binary with an incompatible version.
-
enumerator QNN_CONTEXT_ERROR_CREATE_FROM_BINARY = 5000 + 5
Failure to create context from binary.
-
enumerator QNN_CONTEXT_ERROR_GET_BINARY_SIZE_FAILED = 5000 + 6
Failure to get size of a QNN serialized context.
-
enumerator QNN_CONTEXT_ERROR_GET_BINARY_FAILED = 5000 + 7
Failure to generate a QNN serialized context.
-
enumerator QNN_CONTEXT_ERROR_BINARY_CONFIGURATION = 5000 + 8
Invalid context binary configuration.
-
enumerator QNN_CONTEXT_ERROR_SET_PROFILE = 5000 + 9
Failure to set profile.
-
enumerator QNN_CONTEXT_ERROR_INVALID_CONFIG = 5000 + 10
Invalid config.
-
enumerator QNN_CONTEXT_ERROR_BINARY_SUBOPTIMAL = 5000 + 11
Attempt to create a context from suboptimal binary.
-
enumerator QNN_CONTEXT_ERROR_ABORTED = 5000 + 12
Call aborted early due to a QnnSignal_trigger call issued to the observed signal object.
-
enumerator QNN_CONTEXT_ERROR_TIMED_OUT = 5000 + 13
Call aborted early due to a QnnSignal timeout.
-
enumerator QNN_CONTEXT_ERROR_INCREMENT_INVALID_BUFFER = 5000 + 14
Incremental Binary Buffer was not allocated by backend.
-
enumerator QNN_CONTEXT_MAX_ERROR = 5999
-
enumerator QNN_CONTEXT_ERROR_UNDEFINED = 0x7FFFFFFF
-
enumerator QNN_CONTEXT_MIN_ERROR = 5000