Function GenieEmbedding_setPerformancePolicy

Function Documentation

Genie_Status_t GenieEmbedding_setPerformancePolicy(const GenieEmbedding_Handle_t embeddingHandle, const Genie_PerformancePolicy_t perfProfile)

A function to set the performance policy for a embedding.

Parameters
  • embeddingHandle[in] A embedding handle.

  • perfProfile[in] The requested performance profile for the embedding.

Returns

Status code:

  • GENIE_STATUS_SUCCESS: API call was successful.

  • GENIE_STATUS_ERROR_INVALID_HANDLE: Embedding handle is invalid.

  • GENIE_STATUS_ERROR_INVALID_ARGUMENT: At least one argument is invalid.