wait - wait - 2.0 English - UG1414

Vitis AI User Guide (UG1414)

Document ID
UG1414
Release Date
2022-01-20
Version
2.0 English

Waits for the end of DPU processing. This is a block function.

Prototype

int wait(int jobid, int timeout)

Parameters

The following table lists the wait function arguments.

Table 1. wait Arguments
Type Name Description
int jobid job id, neg for any id, others for specific job id
int timeout timeout, neg for block for ever, 0 for non-block, pos for block with a limitation(ms).

Returns

Status 0 for exit successfully, others for customized warnings or errors.