Function QnnProperty_hasCapability

Function Documentation

Qnn_ErrorHandle_t QnnProperty_hasCapability(QnnProperty_Key_t key)

Queries a capability of the backend.

Parameters

key[in] Key which identifies the capability within group.

Returns

Error code:

  • QNN_PROPERTY_SUPPORTED: if the backend supports capability.

  • QNN_PROPERTY_ERROR_UNKNOWN_KEY: The provided key is not valid.

  • QNN_PROPERTY_NOT_SUPPORTED: if the backend does not support capability.

Note

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

Note

Use corresponding API through QnnInterface_t.