int dpuSetTaskPriority ( DPUTask *task, uint8_t priority );
- The pointer to DPU Task.
- The priority to be specified for the DPU task. It ranges from 0 (the highest priority) to 15 (the lowest priority).
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.
0 on success, or negative value in case of any failure.
Vitis AI v1.0