Synopsis
int dpuSetTaskPriority
(
DPUTask *task,
uint8_t priority
);
Arguments
- task
- The pointer to DPU Task.
- priority
- The priority to be specified for the DPU task. It ranges from 0 (the highest priority) to 15 (the lowest priority).
Description
Dynamically set a DPU task's priority to a specified value at run-time. Priorities range from 0 (the highest priority) to 15 (the lowest priority). If not specified, the priority of a DPU Task is 15 by default.
Returns
0 on success, or negative value in case of any failure.
See Also
Include File
n2cube.h
Availability
Vitis AI v1.0