Function Snpe_SNPE_SetExecutionPriorityHint

Function Documentation

Snpe_ErrorCode_t Snpe_SNPE_SetExecutionPriorityHint(Snpe_SNPE_Handle_t snpeHandle, Snpe_ExecutionPriorityHint_t priority)

Sets a preference for execution priority.

This allows the caller to give coarse hint to SNPE runtime about the priority of the network. SNPE runtime is free to use this information to co-ordinate between different workloads that may or may not extend beyond SNPE.

Parameters
  • snpeHandle[in] Handle to access the SNPE object

  • priority[in] The target performance profile

Returns

true on successfully applied