acldvpp Return Codes

Table 1 describes the common return codes when DVPP operator APIs are called.

Table 1 Returned status codes

Status Code

Value

Description

ACLDVPP_SUCCESS

0

Success.

ACLDVPP_ERR_PARAM_NULLPTR

106001

Parameter verification error. Parameters contain null pointers which are invalid.

ACLDVPP_ERR_PARAM_INVALID

106002

Parameter verification error. For example, the two input data types do not meet the data type deduction requirements.

The detailed error message can be obtained through the aclGetRecentErrMsg API (in the acl.h file).

ACLDVPP_ERR_UNINITIALIZE

106101

The aclDvppInit API is not called for initialization before an aclDvpp operator API is executed.

Ensure that the aclDvppInit API is called before each aclDvpp operator API is executed.

ACLDVPP_ERR_REPEAT_INITIALIZE

106102

The initialization is repeated.

ACLDVPP_ERR_API_NOT_SUPPORT

206001

The API is not supported. Check whether the CANN version matches the driver package version.

ACLDVPP_ERR_RUNTIME_ERROR

306001

An error occurs when the API memory calls the NPU Runtime API.

ACLDVPP_ERR_INNER_XXX

506xxx

An internal error occurs in the API. The detailed error message can be obtained through the aclGetRecentErrMsg API.

Rectify the fault based on the error information or contact technical support. (After obtaining the logs, click here to contact technical support.)

ACLDVPP_ERR_INNER

506000

ACLNN_ERR_INNER_CREATE_EXECUTOR

561101

ACLNN_ERR_INNER_NOT_TRANS_EXECUTOR

561102

ACLNN_ERR_INNER_NULLPTR

561103

Return codes starting with ACL_ERROR_RT

-

For details about the return codes, see Table 2.