Function GeniePipeline_setOemKey

Function Documentation

Genie_Status_t GeniePipeline_setOemKey(const GeniePipeline_Handle_t pipelineHandle, const char *oemKey)

A function to provide an OEM key to the QNN backend.

Parameters
  • pipelineHandle[in] A pipeline handle.

  • oemKey[in] OEM key to be provided to the QNN backend.

Returns

Status code:

  • GENIE_STATUS_SUCCESS: API call was successful.

  • GENIE_STATUS_ERROR_INVALID_HANDLE: Pipeline handle is invalid.

  • GENIE_STATUS_ERROR_INVALID_ARGUMENT: At least one argument is invalid.

  • GENIE_STATUS_ERROR_GENERAL: The OEM key could not be applied.