Function QnnBackend_getApiVersion

Function Documentation

Qnn_ErrorHandle_t QnnBackend_getApiVersion(Qnn_ApiVersion_t *pVersion)

Get the QNN API version.

Parameters

pVersion[out] Pointer to version object.

Returns

Error code:

  • QNN_SUCCESS: No error encountered

  • QNN_BACKEND_ERROR_INVALID_ARGUMENT: if pVersion was NULL

Note

Safe to call any time, backend does not have to be created.

Note

Use corresponding API through QnnInterface_t.