Function QnnSystemDlc_getOpMappings

Function Documentation

Qnn_ErrorHandle_t QnnSystemDlc_getOpMappings(QnnSystemDlc_Handle_t dlcHandle, const Qnn_OpMapping_t **opMappings, uint32_t *numOpMappings)

A function to retrieve Op Mapping information from a DLC.

Parameters
  • dlcHandle[in] Handle to the DLC

  • opMappings[out] a list of op mappings. The memory allocated here is owned by the System library and is released when the corresponding DLC Handle is freed.

  • numOpMappings[out] the number of opMappings

Returns

Error code

  • QNN_SUCCESS: Successfully freed instance of System Context

  • QNN_SYSTEM_DLC_ERROR_INVALID_HANDLE: Invalid Dlc handle to free

  • QNN_SYSTEM_DLC_ERROR_UNSUPPORTED_FEATURE: not supported