aclnn Return Codes
Table 1 describes the common return codes when the APIs are called.
For more information about ACLNN_ERR_INNER_XXX status codes, see Table 2.
|
Status Code |
Value |
Description |
|---|---|---|
|
ACLNN_ERR_INNER |
561000 |
Inner error: An inner error occurs in the API. |
|
ACLNN_ERR_INNER_INFERSHAPE_ERROR |
561001 |
Inner error: An error occurs when the API infers the output shape. |
|
ACLNN_ERR_INNER_TILING_ERROR |
561002 |
Inner error: An error occurs when the API performs tiling on the NPU kernel. |
|
ACLNN_ERR_INNER_FIND_KERNEL_ERROR |
561003 |
Inner error: An error occurs when the API searches for the NPU kernel. (Possible cause: The operator binary package is not installed.) |
|
ACLNN_ERR_INNER_CREATE_EXECUTOR |
561101 |
Inner error: The API fails to create aclOpExecutor. (Possible cause: OS exception) |
|
ACLNN_ERR_INNER_NOT_TRANS_EXECUTOR |
561102 |
Inner error: The API does not call uniqueExecutor ReleaseTo. |
|
ACLNN_ERR_INNER_NULLPTR |
561103 |
Inner error: In the aclnn API, the null pointer error occurs. |
|
ACLNN_ERR_INNER_WRONG_ATTR_INFO_SIZE |
561104 |
Inner error: In the aclnn API, the number of operator attributes is wrong. |
|
ACLNN_ERR_INNER_KEY_CONFILICT |
561105 |
Inner error: In the aclnn API, the hash keys matching the operator kernel conflict. |
|
ACLNN_ERR_INNER_INVALID_IMPL_MODE |
561106 |
Inner error: In the aclnn API, the implementation mode parameter of the operator is invalid. |
|
ACLNN_ERR_INNER_OPP_PATH_NOT_FOUND |
561107 |
Inner error: In the aclnn API, the environment variable ASCEND_OPP_PATH to be configured is not detected. |
|
ACLNN_ERR_INNER_LOAD_JSON_FAILED |
561108 |
Inner error: In the aclnn API, the operator information file (.json) in the kernel library fails to be loaded. |
|
ACLNN_ERR_INNER_JSON_VALUE_NOT_FOUND |
561109 |
Inner error: In the aclnn API, a field in the operator information file (.json) in the kernel library fails to be loaded. |
|
ACLNN_ERR_INNER_JSON_FORMAT_INVALID |
561110 |
Inner error: In the aclnn API, the format of the operator information file (.json) in the kernel library is invalid. |
|
ACLNN_ERR_INNER_JSON_DTYPE_INVALID |
561111 |
Inner error: In the aclnn API, the dtype value in the operator information file (.json) in the kernel library is invalid. |
|
ACLNN_ERR_INNER_OPP_KERNEL_PKG_NOT_FOUND |
561112 |
Inner error: In the aclnn API, the binary kernel library of the operator is not loaded. |
|
ACLNN_ERR_INNER_OP_FILE_INVALID |
561113 |
Inner error: In the aclnn API, an error occurs when a field in the operator file (.json) is loaded. |
|
ACLNN_ERR_INNER_ATTR_NUM_OUT_OF_BOUND |
561114 |
Inner error: In the aclnn API, the number of operator attributes is greater than that specified in the operator information file (.json). |
|
ACLNN_ERR_INNER_ATTR_LEN_NOT_ENOUGH |
561115 |
Inner error: In the aclnn API, the number of operator attributes is less than that specified in the operator information file (.json). |
|
ACLNN_ERR_INNER_INPUT_NUM_IN_JSON_TOO_LARGE |
561116 |
Inner error: In the aclnn API, the number of input operators exceeds the upper limit 32. |
|
ACLNN_ERR_INNER_INPUT_JSON_IS_NULL |
561117 |
Inner error: In the aclnn API, the operator information in the JSON file is missing. |
|
ACLNN_ERR_INNER_STATIC_WORKSPACE_INVALID |
561118 |
Inner error: In the aclnn API, an error occurs when the workspace information in the static binary .json file is parsed. |
|
ACLNN_ERR_INNER_STATIC_BLOCK_DIM_INVALID |
561119 |
Inner error: In the aclnn API, an error occurs when the number of used cores in the static binary .json file is parsed. |