Function QnnSystemContext_free

Function Documentation

Qnn_ErrorHandle_t QnnSystemContext_free(QnnSystemContext_Handle_t sysCtxHandle)

A function to free the instance of the System Context object. This API clears any intermediate memory allocated and associated with a valid handle.

Parameters

sysCtxHandle[in] Handle to the System Context object

Returns

Error code

  • QNN_SUCCESS: Successfully freed instance of System Context

  • QNN_SYSTEM_CONTEXT_ERROR_INVALID_HANDLE: Invalid System Context handle to free

  • QNN_SYSTEM_CONTEXT_ERROR_UNSUPPORTED_FEATURE: not supported