Rate This Document
Findability
Accuracy
Completeness
Readability

kuaf_ctx_process_sync

Function Usage

Acts as a unified interface of the execution module. It distributes execution code downwards and calls the hardware or software computing interfaces of the algorithm based on information in the ctx structure.

Function Syntax

int kuaf_ctx_process_sync(scheduler_ctx *sc_ctx)

Parameters

Parameter

Description

Value Range

Input/Output

sc_ctx

Pointer to the scheduling structure.

The structure is created by the kuaf_ctx_scheduler_create function.

Input

Return Value

  • Success: value returned by the hardware or software computing algorithm.
  • Failure:
    • KUAF_NULL_PTR_ERROR: The input sc_ctx is null.
    • KUAF_ALG_NOT_SUPPORT: The input algorithm type is not supported.