Table 1 describes the common return codes when a public API is called.
Table 1 Returned status codes
Status Code
Value
Description
ACLNN_SUCCESS
0
Success.
ACLNN_ERR_PARAM_NULLPTR
161001
Parameter verification error. Parameters contain null pointers which are invalid.
ACLNN_ERR_PARAM_INVALID
161002
Parameter verification error. For example, the two input data types do not meet the data type deduction requirements.
To obtain the detailed error messages, call "aclGetRecentErrMsg".
ACLNN_ERR_RUNTIME_ERROR
361001
An error occurs when the API memory calls the NPU Runtime API.
ACLNN_ERR_INNER_XXX
561xxx
An internal error occurs in the API. To obtain the detailed error messages, call "aclGetRecentErrMsg".
NOTE:
The common internal errors are as follows. For other errors, troubleshoot them based on the error information or contact technical support. (You can obtain logs and then click Link to contact technical support.)
561101 (ACLNN_ERR_INNER_CREATE_EXECUTOR): The API fails to create aclOpExecutor. (Possible cause: OS exception).
561102 (ACLNN_ERR_INNER_NOT_TRANS_EXECUTOR): The API does not call uniqueExecutor ReleaseTo.
561103 (ACLNN_ERR_INNER_NULLPTR): In the aclnn API, the null pointer error occurs.