aclError
Return Code |
Description |
Possible Causes and Solutions |
---|---|---|
ACL_ERROR_NONE = 0 |
Execution success |
- |
ACL_ERROR_INVALID_PARAM = 100000 |
Argument verification failure |
Check the passed arguments. |
ACL_ERROR_UNINITIALIZE = 100001 |
The ACL is not initialized. |
Ensure that aclInit has been called for initialization before any other API call. |
ACL_ERROR_REPEAT_INITIALIZE = 100002 |
The ACL has been initialized repeatedly or a model has been loaded repeatedly. |
Check whether the interface is repeatedly called for initialization or model loading. |
ACL_ERROR_INVALID_FILE = 100003 |
The file is invalid. |
Check whether the file exists and is accessible. |
ACL_ERROR_WRITE_FILE = 100004 |
File writing failed. |
Check whether the file path exists and whether you have the write permission on the file. |
ACL_ERROR_INVALID_FILE_SIZE = 100005 |
The file size is invalid. |
Check whether the file size meets the interface requirements. |
ACL_ERROR_PARSE_FILE = 100006 |
File parsing failed. |
Check whether the file content is valid. |
ACL_ERROR_FILE_MISSING_ATTR = 100007 |
File parameter is missing. |
Check whether the file content is complete. |
ACL_ERROR_FILE_ATTR_INVALID = 100008 |
File parameter is invalid. |
Check whether the parameters in the file are correct. |
ACL_ERROR_INVALID_DUMP_CONFIG = 100009 |
Dump configuration is invalid. |
Check the dump configuration in the aclInit interface configuration file. For details, see Model Accuracy Analyzer Instructions. |
ACL_ERROR_INVALID_PROFILING_CONFIG = 100010 |
The profiling configuration is invalid. |
Check the Profiling configuration. |
ACL_ERROR_INVALID_MODEL_ID = 100011 |
The model ID is invalid. |
Check whether the model ID is correct and whether the model is correctly loaded. |
ACL_ERROR_DESERIALIZE_MODEL = 100012 |
Model deserialization failed. |
The model may not match the current version. Convert the model again by referring to ATC Tool Instructions. |
ACL_ERROR_PARSE_MODEL = 100013 |
Model parsing failed. |
The model may not match the current version. Convert the model again by referring to ATC Tool Instructions. |
ACL_ERROR_READ_MODEL_FAILURE = 100014 |
Model reading failed. |
Check whether the model file exists and is accessible. |
ACL_ERROR_MODEL_SIZE_INVALID = 100015 |
The model size is invalid. |
The model file is invalid. Convert the model again by referring to ATC Tool Instructions. |
ACL_ERROR_MODEL_MISSING_ATTR = 100016 |
Model parameter is missing. |
The model may not match the current version. Convert the model again by referring to ATC Tool Instructions. |
ACL_ERROR_MODEL_INPUT_NOT_MATCH = 100017 |
Model input does not match. |
Check whether the model input is correct. |
ACL_ERROR_MODEL_OUTPUT_NOT_MATCH = 100018 |
Model output does not match. |
Check whether the model output is correct. |
ACL_ERROR_MODEL_NOT_DYNAMIC = 100019 |
The model is non-dynamic. |
Check that the current model supports dynamic scenarios. If not, convert the model again by referring to ATC Tool Instructions. |
ACL_ERROR_OP_TYPE_NOT_MATCH = 100020 |
Single operator type does not match. |
Check whether the operator type is correct. |
ACL_ERROR_OP_INPUT_NOT_MATCH = 100021 |
Single operator input does not match. |
Check whether the operator input is correct. |
ACL_ERROR_OP_OUTPUT_NOT_MATCH = 100022 |
Single operator output does not match. |
Check whether the operator output is correct. |
ACL_ERROR_OP_ATTR_NOT_MATCH = 100023 |
Single operator attribute does not match. |
Check whether the operator attribute is correct. |
ACL_ERROR_OP_NOT_FOUND = 100024 |
The single operator is not found. |
Check whether the operator type is supported. |
ACL_ERROR_OP_LOAD_FAILED = 100025 |
Single operator loading failed. |
The model may not match the current version. Convert the model again by referring to ATC Tool Instructions. |
ACL_ERROR_UNSUPPORTED_DATA_TYPE = 100026 |
The data type is not supported. |
Check whether the data type exists or is supported. |
ACL_ERROR_FORMAT_NOT_MATCH = 100027 |
The format does not match. |
Check whether the format is correct. |
ACL_ERROR_BIN_SELECTOR_NOT_REGISTERED = 100028 |
The operator selector is not registered when operator is built in binary mode. |
Check whether aclopRegisterSelectKernelFunc is called to register an operator selector. |
ACL_ERROR_KERNEL_NOT_FOUND = 100029 |
The operator kernel is not registered during operator building. |
Check whether aclopCreateKernel is called to register an operator kernel. |
ACL_ERROR_BIN_SELECTOR_ALREADY_REGISTERED = 100030 |
The operator is repeatedly registered when the operator interface is built in binary mode. |
Check whether aclopRegisterSelectKernelFunc is repeatedly called to register an operator selector. |
ACL_ERROR_KERNEL_ALREADY_REGISTERED = 100031 |
The operator kernel is repeatedly registered during operator building. |
Check whether aclopCreateKernel is repeatedly called to register an operator kernel. |
ACL_ERROR_INVALID_QUEUE_ID = 100032 |
The queue ID is invalid. |
Check whether the queue ID is correct. |
ACL_ERROR_REPEAT_SUBSCRIBE = 100033 |
The subscription is repeated. |
Check whether aclrtSubscribeReport is repeatedly called in the same stream. |
ACL_ERROR_STREAM_NOT_SUBSCRIBE = 100034 |
The stream is not subscribed. |
Check whether aclrtSubscribeReport has been called. |
ACL_ERROR_THREAD_NOT_SUBSCRIBE = 100035 |
The thread is not subscribed. |
Check whether aclrtSubscribeReport has been called. |
ACL_ERROR_WAIT_CALLBACK_TIMEOUT = 100036 |
The waiting for callback times out. |
Check whether aclrtLaunchCallback has been called to deliver callback task. Check whether the timeout period in aclrtProcessReport is proper. Check whether the callback task has been processed. If yes, but aclrtProcessReport is still called, the code logic needs to be optimized. |
ACL_ERROR_REPEAT_FINALIZE = 100037 |
Deinitialization is repeated. |
Check whether aclFinalize is repeatedly called for deinitialization. |
ACL_ERROR_NOT_STATIC_AIPP = 100038 |
AIPP configuration is not found. |
Pass the correct index to the aclmdlGetFirstAippInfo call. |
ACL_ERROR_COMPILING_STUB_MODE = 100039 |
The dynamic library path configured before application running is the path of the compilation stub, not the correct dynamic library path. |
Check the configuration of the dynamic library path and ensure that the dynamic library in running mode is used. |
ACL_ERROR_GROUP_NOT_SET = 100040 |
No group is set. |
Check whether the aclrtSetGroup has been called. |
ACL_ERROR_GROUP_NOT_CREATE = 100041 |
The related group is not created. |
Check whether the value of Group ID set during interface calling is within the supported range. The value range of Group ID is [0, (Number of groups – 1)]. You can call the aclrtGetGroupCount interface to obtain the number of groups. |
ACL_ERROR_BAD_ALLOC = 200000 |
Memory allocation failed. |
Check the available memory in the hardware environment. |
ACL_ERROR_API_NOT_SUPPORT = 200001 |
The interface is not supported. |
Check whether the called interface is supported. |
ACL_ERROR_INVALID_DEVICE = 200002 |
The device is invalid. |
Check whether the device exists. |
ACL_ERROR_MEMORY_ADDRESS_UNALIGNED = 200003 |
The memory address is not aligned. |
Check whether the memory address meets the interface requirements. |
ACL_ERROR_RESOURCE_NOT_MATCH = 200004 |
The resources do not match. |
Check whether the input resources such as streams and contexts are correctly input when the interface is called. |
ACL_ERROR_INVALID_RESOURCE_HANDLE = 200005 |
The resource handle is invalid. |
Check whether the input resources such as streams and contexts have been destroyed or occupied when the interface is called. |
ACL_ERROR_FEATURE_UNSUPPORTED = 200006 |
The feature is not supported. |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see the Log Reference. |
ACL_ERROR_STORAGE_OVER_LIMIT = 300000 |
The storage exceeds the upper limit. |
Check the available disk space in the hardware environment. |
ACL_ERROR_INTERNAL_ERROR = 500000 |
Unknown internal error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see the Log Reference. |
ACL_ERROR_FAILURE = 500001 |
Internal ACL error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see the Log Reference. |
ACL_ERROR_GE_FAILURE = 500002 |
Internal GE error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see the Log Reference. |
ACL_ERROR_RT_FAILURE = 500003 |
Internal Runtime error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see the Log Reference. |
ACL_ERROR_DRV_FAILURE = 500004 |
Internal Driver error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see the Log Reference. |
ACL_ERROR_PROFILING_FAILURE = 500005 |
Profiling related error |
Rectify the fault based on the error logs, or contact Huawei technical support. For details about logs, see the Log Reference. |