aclError

typedef int aclError;

The rules for defining return codes are as follows:

  • Rule 1: Abnormal development environment or incorrect code logic that can be optimized is defined as 1XXXXX.
  • Rule 2: Resource (stream, memory, or others) insufficiency and APIs or arguments mismatch with the hardware, which can be resolved by the proper use of resources during programming, are defined as 2XXXXX.
  • Rule 3: Abnormal services (full or empty queue, or others) are defined as 3XXXXX.
  • Rule 4: Abnormal internal hardware and software errors (internal software errors, device execution failure, or others) that cannot be resolved by the user and need to be reported to technical support are defined as 5XXXXX. After obtaining the logs, click here to contact technical support.
  • Rule 5: Unrecognized errors are currently mapped to 500000. After obtaining the logs, click here to contact technical support.
Table 1 acl return codes

Return Code

Description

Possible Cause and Solution

static const int ACL_SUCCESS = 0;

Execution succeeded.

-

static const int ACL_ERROR_NONE = 0;

Note: This return code will be deprecated in future releases. Use ACL_SUCCESS instead.

Execution succeeded.

-

static const int ACL_ERROR_INVALID_PARAM = 100000;

Parameter verification failed.

Check the passed arguments.

static const int ACL_ERROR_UNINITIALIZE = 100001;

Not initialized.

  • Check that has been called for initialization before any other acl call.
  • Check that the initialization API of the corresponding function is called, for example, acl for initializing the API of dump and for initializing profiling.

static const int ACL_ERROR_REPEAT_INITIALIZE = 100002;

Repeated initialization or loading.

Check that the API is repeatedly called for initialization or model loading.

static const int ACL_ERROR_INVALID_FILE = 100003;

Invalid file.

Check that the file exists and is accessible.

static const int ACL_ERROR_WRITE_FILE = 100004;

Failed to write the file.

Check that the file path exists and the file is writeable.

static const int ACL_ERROR_INVALID_FILE_SIZE = 100005;

Invalid file size.

Check that the file size meets the API requirements.

static const int ACL_ERROR_PARSE_FILE = 100006;

Failed to parse the file.

Check that the file content is valid.

static const int ACL_ERROR_FILE_MISSING_ATTR = 100007;

Missing file parameters.

Check that the file content is complete.

static const int ACL_ERROR_FILE_ATTR_INVALID = 100008;

Invalid file parameters.

Check that the parameters in the file are correct.

static const int ACL_ERROR_INVALID_DUMP_CONFIG = 100009;

Invalid dump configuration.

Check the dump configuration. For details, see Accuracy Debugging Tool Guide.

static const int ACL_ERROR_INVALID_PROFILING_CONFIG = 100010;

Invalid profiling configuration.

Check that the profiling configuration is correct.

static const int ACL_ERROR_INVALID_MODEL_ID = 100011;

Invalid model ID.

Check that the model ID is correct and the model is correctly loaded.

static const int ACL_ERROR_DESERIALIZE_MODEL = 100012;

Model deserialization failed.

The model may not be compatible with the current version. Build the model again.

static const int ACL_ERROR_PARSE_MODEL = 100013;

Model parsing failed.

The model may not be compatible with the current version. Build the model again.

static const int ACL_ERROR_READ_MODEL_FAILURE = 100014;

Model reading failed.

Check that the model file exists and is accessible.

static const int ACL_ERROR_MODEL_SIZE_INVALID = 100015;

Invalid model size.

The model file is invalid. Build the model again.

static const int ACL_ERROR_MODEL_MISSING_ATTR = 100016;

Missing model parameter.

The model may not be compatible with the current version. Build the model again.

static const int ACL_ERROR_MODEL_INPUT_NOT_MATCH = 100017;

Model input mismatch.

Check that the model input is correct.

static const int ACL_ERROR_MODEL_OUTPUT_NOT_MATCH = 100018;

Model output mismatch.

Check that the model output is correct.

static const int ACL_ERROR_MODEL_NOT_DYNAMIC = 100019;

Dynamic feature not supported.

Check whether the current model supports dynamic scenarios. If not, build the model again.

static const int ACL_ERROR_OP_TYPE_NOT_MATCH = 100020;

Single-operator type mismatch.

Check whether the operator type is correct.

static const int ACL_ERROR_OP_INPUT_NOT_MATCH = 100021;

Single-operator input mismatch.

Check that the operator input is correct.

static const int ACL_ERROR_OP_OUTPUT_NOT_MATCH = 100022;

Single-operator output mismatch.

Check that the operator output is correct.

static const int ACL_ERROR_OP_ATTR_NOT_MATCH = 100023;

Single-operator attribute mismatch.

Check that the operator attribute is correct.

static const int ACL_ERROR_OP_NOT_FOUND = 100024;

Single-operator not found.

Check that the operator type is supported.

static const int ACL_ERROR_OP_LOAD_FAILED = 100025;

Single-operator loading failed.

The model may not be compatible with the current version. Build a single-operator model again.

static const int ACL_ERROR_UNSUPPORTED_DATA_TYPE = 100026;

Data type not supported.

Check that the data type exists or is supported.

static const int ACL_ERROR_FORMAT_NOT_MATCH = 100027;

Format mismatch.

Check that the format is correct.

static const int ACL_ERROR_BIN_SELECTOR_NOT_REGISTERED = 100028;

Operator selector unregistered for operator compilation in binary mode.

Check that has been called to register an operator selector.

static const int ACL_ERROR_KERNEL_NOT_FOUND = 100029;

Operator kernel unregistered for operator compilation.

Check that has been called to register an operator kernel.

static const int ACL_ERROR_BIN_SELECTOR_ALREADY_REGISTERED = 100030;

Operator repeatedly registered for operator compilation in binary mode.

Check whether is repeatedly called to register an operator selector.

static const int ACL_ERROR_KERNEL_ALREADY_REGISTERED = 100031;

Operator kernel repeatedly registered for operator compilation.

Check whether is repeatedly called to register an operator kernel.

static const int ACL_ERROR_INVALID_QUEUE_ID = 100032;

Invalid queue ID.

Check that the queue ID is correct.

static const int ACL_ERROR_REPEAT_SUBSCRIBE = 100033;

Repeated subscription.

Check whether is repeatedly called in the same stream.

static const int ACL_ERROR_STREAM_NOT_SUBSCRIBE = 100034;

Note: This return code will be deprecated in future releases. Use ACL_ERROR_RT_STREAM_NO_CB_REG instead.

Stream unsubscribed.

Check whether has been called.

static const int ACL_ERROR_THREAD_NOT_SUBSCRIBE = 100035;

Note: This return code will be deprecated in future releases. Use ACL_ERROR_RT_THREAD_SUBSCRIBE instead.

Thread unsubscribed.

Check whether has been called.

static const int ACL_ERROR_WAIT_CALLBACK_TIMEOUT = 100036;

Note: This return code will be deprecated in future releases. Use ACL_ERROR_RT_REPORT_TIMEOUT instead.

Callback timeout.

Check whether has been called to deliver a callback task.

Check whether the timeout interval set by the call is proper.

Check whether the callback task has been processed. If yes, but is still called, the code logic needs to be optimized.

static const int ACL_ERROR_REPEAT_FINALIZE = 100037;

Repeated deinitialization.

Check whether or is called repeatedly for deinitialization.

static const int ACL_ERROR_NOT_STATIC_AIPP = 100038;

Note: This return code will be deprecated in future releases. Use ACL_ERROR_GE_AIPP_NOT_EXIST instead.

Static AIPP configuration not found.

Pass the correct index to the call.

static const int ACL_ERROR_COMPILING_STUB_MODE = 100039;

Incorrect dynamic library path configured before app execution.

Check the configuration of the dynamic library path and ensure that the runtime dynamic library is used.

static const int ACL_ERROR_GROUP_NOT_SET = 100040;

Note: This return code will be deprecated in future releases. Use ACL_ERROR_RT_GROUP_NOT_SET instead.

Group not set.

Check whether has been called.

static const int ACL_ERROR_GROUP_NOT_CREATE = 100041;

Note: This return code will be deprecated in future releases. Use ACL_ERROR_RT_GROUP_NOT_CREATE instead.

Group not created.

Check whether the specified group ID is within the valid range [0, Group count – 1]. The group count is obtained by the call.

static const int ACL_ERROR_PROF_ALREADY_RUN = 100042;

Duplicate profile data collection task.

  • Check the code logic. The AscendCL API Profiling configuration method is exclusive with the other Profiling configuration methods. For details, see Profiling Instructions.
  • Check whether the Profiling configuration is repeatedly delivered to the same device. Adjust the code logic based on the API calling requirements and sequence in Profiling Data Collection APIs.

static const int ACL_ERROR_PROF_NOT_RUN = 100043;

Profiling not initialized by the call.

Check the API call sequence. For details, see Profiling Data Collection APIs.

static const int ACL_ERROR_DUMP_ALREADY_RUN = 100044;

Duplicate dump task.

Check whether has been called to configure the dump information before , , and are called to configure the dump information. If yes, adjust the code logic and retain one method to configure the dump information.

static const int ACL_ERROR_DUMP_NOT_RUN = 100045;

Dump not initialized by the call.

Check the API call sequence for obtaining dump data. For details, see .

static const int ACL_ERROR_PROF_REPEAT_SUBSCRIBE = 148046;

Repeated model subscription.

Check the API call sequence. For details, see Profiling Data Collection APIs.

static const int ACL_ERROR_PROF_API_CONFLICT = 148047;

Profiling API call conflict.

Do not mix the two sets of Profiling APIs. Between the and calls, calls to , aclprofGet*, or are not allowed. Between the and calls, calls to , , , or are not allowed.

static const int ACL_ERROR_INVALID_MAX_OPQUEUE_NUM_CONFIG = 148048;

Invalid operator cache aging configuration.

Check the operator cache aging configuration. For details, see .

static const int ACL_ERROR_INVALID_OPP_PATH = 148049;

Empty or incorrect ASCEND_OPP_PATH environment variable.

Check whether the ASCEND_OPP_PATH environment variable is set and whether the OPP installation path is included.

static const int ACL_ERROR_OP_UNSUPPORTED_DYNAMIC = 148050;

Dynamic shape unsupported.

  • Check whether the shape of the operator in the single-operator model file is set to dynamic. If yes, change it to a static shape.
  • Check whether the shape in aclTensorDesc is set to dynamic for operator compilation. If yes, re-create an aclTensorDesc based on a static shape.

static const int ACL_ERROR_RELATIVE_RESOURCE_NOT_CLEARED = 148051;

Related resources not released.

This error code is returned if the channel is not destroyed but the channel description has not been destroyed. Check whether the channel associated with the channel description has been destroyed.

static const int ACL_ERROR_UNSUPPORTED_JPEG = 148052;

The input image format is not supported by JPEGD (such as arithmetic encoding or progressive encoding).

JPEGD supports only Huffman coding and does not support arithmetic encoding, progressive JPEG format, or JPEG 2000 format. The color space of the input image must be YUV with YUV components in the ratio of 4:4:4, 4:2:2, 4:2:0, 4:0:0, or 4:4:0.

static const int ACL_ERROR_INVALID_BUNDLE_MODEL_ID = 148053;

Invalid model ID.

Check that the model ID is correct and the model is correctly loaded.

static const int ACL_ERROR_BAD_ALLOC = 200000;

Memory allocation failed.

Check the available memory in the hardware environment.

static const int ACL_ERROR_API_NOT_SUPPORT = 200001;

API not supported.

Check that the called API is supported.

static const int ACL_ERROR_INVALID_DEVICE = 200002;

Note: This return code will be deprecated in future releases. Use ACL_ERROR_RT_INVALID_DEVICEID instead.

Invalid device.

Check that the device exists.

static const int ACL_ERROR_MEMORY_ADDRESS_UNALIGNED = 200003;

Memory address misaligned.

Check that the memory address meets the API requirements.

static const int ACL_ERROR_RESOURCE_NOT_MATCH = 200004;

Resource mismatch.

Check that resources such as the streams and contexts are correctly passed to the API call.

static const int ACL_ERROR_INVALID_RESOURCE_HANDLE = 200005;

Invalid resource handle.

Check that the passed resources such as streams and contexts are destroyed or occupied.

static const int ACL_ERROR_FEATURE_UNSUPPORTED = 200006;

Feature not supported.

After obtaining the logs, click here to contact technical support.

static ACL_ERROR_PROF_MODULES_UNSUPPORTED = 200007;

Unsupported Profiling configuration.

Check that the Profiling configuration is correct (see for details).

static const int ACL_ERROR_STORAGE_OVER_LIMIT = 300000;

Storage capacity reached.

Check the available memory in the hardware environment.

static const int ACL_ERROR_INTERNAL_ERROR = 500000;

Unknown internal error.

After obtaining the logs, click here to contact technical support.

static const int ACL_ERROR_FAILURE = 500001;

Internal error.

After obtaining the logs, click here to contact technical support.

static const int ACL_ERROR_GE_FAILURE = 500002;

Graph Engine (GE) error.

After obtaining the logs, click here to contact technical support.

static const int ACL_ERROR_RT_FAILURE = 500003;

RUNTIME error.

After obtaining the logs, click here to contact technical support.

static const int ACL_ERROR_DRV_FAILURE = 500004;

Driver error.

After obtaining the logs, click here to contact technical support.

static const int ACL_ERROR_PROFILING_FAILURE = 500005;

Profiling error.

After obtaining the logs, click here to contact technical support.

Table 2 Transparent transmission RUNTIME return codes

Return Code

Description

Possible Cause and Solution

#define ACL_RT_SUCCESS 0

Execution succeeded.

-

#define ACL_ERROR_RT_PARAM_INVALID 107000

Parameter verification failed.

Check the passed arguments.

#define ACL_ERROR_RT_INVALID_DEVICEID 107001

Invalid device ID.

Check whether the device ID is valid.

#define ACL_ERROR_RT_CONTEXT_NULL 107002

Empty context.

Check whether or is called.

#define ACL_ERROR_RT_STREAM_CONTEXT 107003

Stream and context mismatch. The stream is not in the current context.

Check whether the context of the stream is consistent with the current context.

#define ACL_ERROR_RT_MODEL_CONTEXT 107004

Model and context mismatch. The model is not in the current context.

Check whether the loaded model is consistent with the current context.

#define ACL_ERROR_RT_STREAM_MODEL 107005

Stream and model mismatch. The stream is not bound to the current model.

Check whether the stream has been bound to the model.

#define ACL_ERROR_RT_EVENT_TIMESTAMP_INVALID 107006

Invalid event timestamp.

Check whether the event is created.

#define ACL_ERROR_RT_EVENT_TIMESTAMP_REVERSAL 107007

Event timestamp reverted.

Check whether the event is created.

#define ACL_ERROR_RT_ADDR_UNALIGNED 107008

Memory address misaligned.

Check that the allocated memory address is aligned. For details about API restrictions on memory allocation, see Memory Management.

#define ACL_ERROR_RT_FILE_OPEN 107009

Failed to open the file.

Check whether the file exists.

#define ACL_ERROR_RT_FILE_WRITE 107010

Failed to write the file.

Check whether the file exists and whether you have the write permission on the file.

#define ACL_ERROR_RT_STREAM_SUBSCRIBE 107011

Stream unsubscribed or subscribed repeatedly.

Check whether the current stream is subscribed or subscribed repeatedly.

#define ACL_ERROR_RT_THREAD_SUBSCRIBE 107012

Thread not subscribed or subscribed repeatedly.

Check whether the current thread is subscribed or subscribed repeatedly.

#define ACL_ERROR_RT_GROUP_NOT_SET 107013

Group not set.

Check whether has been called.

#define ACL_ERROR_RT_GROUP_NOT_CREATE 107014

Group not created.

Check whether the specified group ID is within the valid range [0, Group count – 1]. The group count is obtained by the call.

#define ACL_ERROR_RT_STREAM_NO_CB_REG 107015

Stream of the callback not registered with the thread

Check whether the stream has been registered with the thread and whether is called.

#define ACL_ERROR_RT_INVALID_MEMORY_TYPE 107016

Invalid memory type.

Check whether the memory type is valid.

#define ACL_ERROR_RT_INVALID_HANDLE 107017

Invalid resource handle.

Check the arguments.

#define ACL_ERROR_RT_INVALID_MALLOC_TYPE 107018

Incorrect memory type.

Check the arguments and the corresponding memory type.

#define ACL_ERROR_RT_WAIT_TIMEOUT 107019

Waiting timeout.

Re-call the task API.

#define ACL_ERROR_RT_TASK_TIMEOUT 107020

Task timeout.

Check whether the service orchestration is proper or whether the timeout interval is set properly.

#define ACL_ERROR_RT_SYSPARAMOPT_NOT_SET 107021

Failed to obtain the system parameter values in the current context.

The system parameter values in the current context are not set. For details, see .

#define ACL_ERROR_RT_DEVICE_TASK_ABORT 107022

The task discarding operation on the device conflicts with other operations.

This error code is returned because the operation of stopping tasks on the device by calling conflicts with other API operations. Check the code logic and perform other operations only after aclrtDeviceTaskAbort is executed.

#define ACL_ERROR_RT_STREAM_ABORT 107023

Tasks in a stream are being cleared.

Tasks in the specified stream are being cleared. The system does not wait for the tasks in the stream to be executed.

#define ACL_ERROR_RT_CAPTURE_DEPENDENCY 107024

When a model running instance is built based on the capture mode, the event wait task does not have the corresponding event record task.

Call to add an event record task.

#define ACL_ERROR_RT_STREAM_UNJOINED 107025

In the cross-stream dependency scenario, the capture model contains a stream that is not merged into the original stream. As a result, the unmerged stream reports an error.

  • The last task in the stream that reports the error is not an event record task. Insert an event record task that can be merged into the original stream at the end of the stream that reports the error (by calling ).
  • The last event record task does not have a corresponding event wait task. Insert an event wait task into the stream that does not report an error (by calling ) to ensure that the event wait task can merge other streams into the original stream.

#define ACL_ERROR_RT_MODEL_CAPTURED 107026

The model is in the capture state.

Call to stop the capture, and then perform the corresponding operation.

#define ACL_ERROR_RT_STREAM_CAPTURED 107027

The stream is in the capture state.

Call to stop the capture, and then perform the corresponding operation.

#define ACL_ERROR_RT_EVENT_CAPTURED 107028

The event is in the capture state.

Call to stop the capture, and then perform the corresponding operation.

#define ACL_ERROR_RT_STREAM_NOT_CAPTURED 107029

The stream is not in the capture state.

Check whether has been called to start capturing tasks delivered to the stream.

#define ACL_ERROR_RT_CAPTURE_MODE_NOT_SUPPORT 107030

The current capture mode does not support this operation.

Different capture modes support different operation ranges. For details, see . Switch to the correct capture mode.

#define ACL_ERROR_RT_STREAM_CAPTURE_IMPLICIT 107031

The default stream cannot be used in the capture scenario.

Replace the default stream with another stream.

#define ACL_ERROR_STREAM_CAPTURE_CONFLICT 107032

The event and stream are not from the same model running instance.

Check whether the streams that are calling at the same time are associated through events.

#define ACL_ERROR_STREAM_TASK_GROUP_STATUS 107033

The task group status is abnormal.

The possible causes are as follows:

  • is called to repeatedly enable the task group recording for the same stream.
  • is called to update all tasks in the same task group at the same time.
  • is not used with .
  • is not used with .
  • A task group is recorded and updated in the same stream at the same time.

#define ACL_ERROR_STREAM_TASK_GROUP_INTR 107034

The task group recording is interrupted.

This error occurs because when a task group is being recorded, the tasks are submitted to a capture stream that does not have task group recording enabled.

You are advised to submit the tasks after task group recording is enabled by the call.

#define ACL_ERROR_RT_STREAM_CAPTURE_UNMATCHED 107036

An unmatched operation is found during the capture. is not invoked to start capturing tasks on the stream.

Check the code logic. Call to start capturing tasks on the stream, and then call to stop capturing tasks.

#define ACL_ERROR_RT_MODEL_RUNNING 107037

The model is being executed and cannot be destroyed.

Check the code logic. Destroy the model after the model execution is complete.

#define ACL_ERROR_RT_STREAM_CAPTURE_WRONG_THREAD 107038

and are not in the same thread.

In the API, if mode is set to a value other than ACL_MODEL_RI_CAPTURE_MODE_RELAXED, and must be in the same thread.

#define ACL_ERROR_RT_FEATURE_NOT_SUPPORT 207000

Feature not supported.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_MEMORY_ALLOCATION 207001

Memory allocation failed.

Check the available memory in the hardware environment.

#define ACL_ERROR_RT_MEMORY_FREE 207002

Memory deallocation failed.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_AICORE_OVER_FLOW 207003

AI Core operator overflow.

Check whether overflow occurs in the corresponding AI Core operator. You can find the overflow operator based on the dump data and then locate the specific operator.

#define ACL_ERROR_RT_NO_DEVICE 207004

Unavailable device.

Check that the device is running properly.

#define ACL_ERROR_RT_RESOURCE_ALLOC_FAIL 207005

Failed to allocate resources.

Check the usage of resources such as streams and release unused resources in a timely manner.

#define ACL_ERROR_RT_NO_PERMISSION 207006

Operation denied.

Check the user permission.

#define ACL_ERROR_RT_NO_EVENT_RESOURCE 207007

Insufficient event resources.

Check the event count (see for details).

#define ACL_ERROR_RT_NO_STREAM_RESOURCE 207008

Insufficient stream resources.

Check the stream count (see for details).

#define ACL_ERROR_RT_NO_NOTIFY_RESOURCE 207009

Insufficient Notify resources.

Reduce the number of concurrent tasks or unload some of the models.

#define ACL_ERROR_RT_NO_MODEL_RESOURCE 207010

Insufficient model resources.

You are advised to uninstall some models.

#define ACL_ERROR_RT_NO_CDQ_RESOURCE 207011

Insufficient Runtime resources.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_OVER_LIMIT 207012

Number of queues exceeding the upper limit.

Destroy unnecessary queues before creating a queue.

#define ACL_ERROR_RT_QUEUE_EMPTY 207013

Empty queue.

It is not allowed to obtain data from an empty queue. Feed data to the queue first.

#define ACL_ERROR_RT_QUEUE_FULL 207014

Full queue.

It is not allowed to feed data to a full queue. Obtain data from the queue first.

#define ACL_ERROR_RT_REPEATED_INIT 207015

Repeated queue initialization.

Initialize the queue only once.

#define ACL_ERROR_RT_DEVIDE_OOM 207018

Memory on the device is used up.

Check the memory usage on the device and properly plan the memory usage based on the memory specifications on the device.

#define ACL_ERROR_RT_FEATURE_NOT_SUPPORT_UPDATE_OP 207019

The current driver version does not support updating this operator.

Query the driver version.

You can click here to download the driver installation package of Ascend HDK 25.0.RC1 or later on the Firmware and Drivers page and install or upgrade the driver by referring to the document of the corresponding version.

#define ACL_ERROR_RT_INTERNAL_ERROR 507000

Internal Runtime error.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_TS_ERROR 507001

Task Scheduler error on the device (internal error).

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_STREAM_TASK_FULL 507002

Full stream tasks.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_STREAM_TASK_EMPTY 507003

Empty stream task.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_STREAM_NOT_COMPLETE 507004

Stream tasks not completed.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_END_OF_SEQUENCE 507005

AI CPU task completed.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_EVENT_NOT_COMPLETE 507006

Event not completed.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_CONTEXT_RELEASE_ERROR 507007

Failure to destroy the context.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_SOC_VERSION 507008

Failure to obtain SoC version.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_TASK_TYPE_NOT_SUPPORT 507009

Task type not supported.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_LOST_HEARTBEAT 507010

Task Scheduler heartbeat lost.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_MODEL_EXECUTE 507011

Model execution error.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_REPORT_TIMEOUT 507012

Failure to obtain message from Task Scheduler.

Check whether the timeout interval of the API is too short. If yes, increase the timeout interval. If there is still a timeout error after increasing the timeout interval, then check the logs.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_SYS_DMA 507013

System Direct Memory Access (DMA) hardware execution error.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_AICORE_TIMEOUT 507014

AI Core execution timeout.

After obtaining the logs, click here to contact technical support.

For details about logs, see Log Reference.

#define ACL_ERROR_RT_AICORE_EXCEPTION 507015

AI Core execution error.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_AICORE_TRAP_EXCEPTION 507016

AI Core trap execution error.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_AICPU_TIMEOUT 507017

AI CPU execution timeout.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_AICPU_EXCEPTION 507018

AI CPU execution error.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_AICPU_DATADUMP_RSP_ERR 507019

No dumping response from AI CPU to Task Scheduler.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_AICPU_MODEL_RSP_ERR 507020

No model execution response from AI CPU to Task Scheduler.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_PROFILING_ERROR 507021

Profiling error.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_IPC_ERROR 507022

Inter-process communication error.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_MODEL_ABORT_NORMAL 507023

Model exited.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_KERNEL_UNREGISTERING 507024

Operator unregistering.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_RINGBUFFER_NOT_INIT 507025

Ring buffer not initialized.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_RINGBUFFER_NO_DATA 507026

No data in the ring buffer.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_KERNEL_LOOKUP 507027

Runtime kernel unregistered.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_KERNEL_DUPLICATE 507028

Runtime kernel repeatedly registered.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_DEBUG_REGISTER_FAIL 507029

Failure to register debug.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_DEBUG_UNREGISTER_FAIL 507030

Failure to unregister debug.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_LABEL_CONTEXT 507031

Label and context mismatch.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_PROGRAM_USE_OUT 507032

Registered program number limit reached.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_DEV_SETUP_ERROR 507033

Failure to start the device.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_VECTOR_CORE_TIMEOUT 507034

Vector Core timeout.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_VECTOR_CORE_EXCEPTION 507035

Vector Core execution error.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_VECTOR_CORE_TRAP_EXCEPTION 507036

Vector Core trap execution error.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_CDQ_BATCH_ABNORMAL 507037

Failure to allocate Runtime resources.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_DIE_MODE_CHANGE_ERROR 507038

Failure to change the die mode.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_DIE_SET_ERROR 507039

Failure to specify the die in single-die mode.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_INVALID_DIEID 507040

Failure to specify the die ID.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_DIE_MODE_NOT_SET 507041

Die mode not set.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_AICORE_TRAP_READ_OVERFLOW 507042

AI Core trap read overflow.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_AICORE_TRAP_WRITE_OVERFLOW 507043

AI Core trap write overflow.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_VECTOR_CORE_TRAP_READ_OVERFLOW 507044

Vector Core trap read overflow.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_VECTOR_CORE_TRAP_WRITE_OVERFLOW 507045

Vector Core trap write overflow.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_STREAM_SYNC_TIMEOUT 507046

In the specified timeout wait event, all tasks in the specified stream are not completed.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_EVENT_SYNC_TIMEOUT 507047

During the specified event synchronization, the execution of the event is not completed within the specified time.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_FFTS_PLUS_TIMEOUT 507048

Internal task execution timed out.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_FFTS_PLUS_EXCEPTION 507049

An exception in internal task execution occurs.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_FFTS_PLUS_TRAP_EXCEPTION 507050

The trap of an internal task is abnormal.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_SEND_MSG 507051

Messages fail to be sent during data enqueuing.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_COPY_DATA 507052

Failed to copy the memory during data enqueuing.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_DEVICE_MEM_ERROR 507053

Virtual addresses where UCE (error that cannot be directly handled by the system hardware) occurs.

Obtain and correct the virtual addresses where memory UCE occurs by referring to .

#define ACL_ERROR_RT_HBM_MULTI_BIT_ECC_ERROR 507054

HBM Bit ECC fault.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_SUSPECT_DEVICE_MEM_ERROR 507055

In the multi-process and multi-device scenario, a memory UCE may occur.

The peer device memory accessed by the current device is faulty. Check the error information of the peer device process.

#define ACL_ERROR_RT_LINK_ERROR 507056

In the multi-device scenario, the communication link between two devices is disconnected.

You are advised to try again. If the error persists, check the communication link between the two devices.

#define ACL_ERROR_RT_SUSPECT_REMOTE_ERROR 507057

In the multi-process and multi-device scenario, the peer device memory may be faulty, or out-of-bounds memory access occurs in the current device.

Check the error information of the peer device process or the memory access of the current device.

#define ACL_ERROR_RT_DRV_INTERNAL_ERROR 507899

Internal Driver error.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_AICPU_INTERNAL_ERROR 507900

Internal error with AI CPU.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_SOCKET_CLOSE 507901

Disconnection of the internal host device communication (HDC) session.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_AICPU_INFO_LOAD_RSP_ERR 507902

Fail to schedule the AI CPU.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_STREAM_CAPTURE_INVALIDATED 507903

The model capture is abnormal.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_RT_COMM_OP_RETRY_FAIL 507904

Failed to re-execute the communication operator.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_SNAPSHOT_LOCK_TIMEOUT 507905

Calling aclrtSnapShotProcessLock times out.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_SNAPSHOT_LOCK_FAILED 507906

Failed to lock the current process.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_SNAPSHOT_UNLOCK_FAILED 507907

Failed to unlock the current process.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_SNAPSHOT_BACKUP_FAILED 507908

Failed to back up the snapshot process.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_SNAPSHOT_RESTORE_FAILED 507909

Failed to restore the snapshot process.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_HOST_MEMORY_ALREADY_REGISTERED 507910

The host memory has been registered.

After obtaining the logs, click here to contact technical support.

#define ACL_ERROR_HOST_MEMORY_NOT_REGISTERED 507911

The host memory to be deregistered has not been registered.

After obtaining the logs, click here to contact technical support.

Table 3 Transparent transmission GE return codes

Return Code

Description

Possible Cause and Solution

uint32_t ACL_ERROR_GE_PARAM_INVALID = 145000;

Parameter verification failed.

Check the passed arguments.

uint32_t ACL_ERROR_GE_EXEC_NOT_INIT = 145001;

Not initialized.

  • Check that has been called for initialization before any other acl call.
  • Check that the initialization API of the corresponding function is called, for example, for initializing the dump and for initializing profiling.

uint32_t ACL_ERROR_GE_EXEC_MODEL_PATH_INVALID = 145002;

Invalid model path.

Check that the model path is correct.

uint32_t ACL_ERROR_GE_EXEC_MODEL_ID_INVALID = 145003;

Invalid model ID.

Check that the model ID is correct and the model is correctly loaded.

uint32_t ACL_ERROR_GE_EXEC_MODEL_DATA_SIZE_INVALID = 145006;

Invalid model size.

The model file is invalid. Build the model again.

uint32_t ACL_ERROR_GE_EXEC_MODEL_ADDR_INVALID = 145007;

Invalid model memory address.

Check whether the model address is valid.

uint32_t ACL_ERROR_GE_EXEC_MODEL_QUEUE_ID_INVALID = 145008;

Invalid queue ID.

Check that the queue ID is correct.

uint32_t ACL_ERROR_GE_EXEC_LOAD_MODEL_REPEATED = 145009;

Repeated initialization or loading.

Check that the API is repeatedly called for initialization or model loading.

uint32_t ACL_ERROR_GE_DYNAMIC_INPUT_ADDR_INVALID = 145011;

Invalid address of the dynamic-shape input.

Check the address of the dynamic-shape input.

uint32_t ACL_ERROR_GE_DYNAMIC_INPUT_LENGTH_INVALID = 145012;

Invalid length of the dynamic-shape input.

Check the length of the dynamic-shape input.

uint32_t ACL_ERROR_GE_DYNAMIC_BATCH_SIZE_INVALID = 145013;

Invalid dynamic batch size profiles.

Check the dynamic batch size profiles.

uint32_t ACL_ERROR_GE_AIPP_BATCH_EMPTY = 145014;

Invalid AIPP batch size.

Check that the AIPP batch size is correct.

uint32_t ACL_ERROR_GE_AIPP_NOT_EXIST = 145015;

AIPP configuration not found.

Check whether the AIPP is configured.

uint32_t ACL_ERROR_GE_AIPP_MODE_INVALID = 145016;

Invalid AIPP mode.

Check whether the AIPP mode configured during model conversion is correct.

uint32_t ACL_ERROR_GE_OP_TASK_TYPE_INVALID = 145017;

Invalid task type.

Check whether the operator type is correct.

uint32_t ACL_ERROR_GE_OP_KERNEL_TYPE_INVALID = 145018;

Invalid operator type.

Check whether the operator type is correct.

uint32_t ACL_ERROR_GE_PLGMGR_PATH_INVALID = 145019;

Invalid .so file. For example, the directory level of the .so file is too deep, or the .so file is not found.

Check the LD_LIBRARY_PATH environment variable configuration. For details, see the instructions for app build and run.

uint32_t ACL_ERROR_GE_FORMAT_INVALID = 145020;

Invalid format.

Check the tensor format.

uint32_t ACL_ERROR_GE_SHAPE_INVALID = 145021;

Invalid shape.

Check the tensor shape.

uint32_t ACL_ERROR_GE_DATATYPE_INVALID = 145022;

Invalid data type.

Check the tensor data type.

uint32_t ACL_ERROR_GE_MEMORY_ALLOCATION = 245000;

Memory allocation failed.

Check the available memory in the hardware environment.

uint32_t ACL_ERROR_GE_MEMORY_OPERATE_FAILED = 245001;

Memory initialization or memory copy failure.

Check the memory address and whether the hardware memory is sufficient.

uint32_t ACL_ERROR_GE_DEVICE_MEMORY_ALLOCATION_FAILED = 245002;

Device memory allocation failed.

The device memory has been used up. Free some device memory and try again.

uint32_t ACL_ERROR_GE_SUBHEALTHY = 345102;

Subhealth state.

The state after the redeployment action triggered by abnormal devices or processes is completed is the subhealth state, in which relevant APIs can be called normally.

static const uint32_t ACL_ERROR_GE_USER_RAISE_EXCEPTION = 345103;

The user-defined function throws an exception.

You can identify the input data that fails to be executed based on UserData set in DataFlowInfo and rectify the fault based on the error information.

static const uint32_t ACL_ERROR_GE_DATA_NOT_ALIGNED = 345104;

Data is not aligned.

If a user-defined function has multiple outputs, check whether any output is missing in your code. If an output is missing, data alignment may be abnormal.

uint32_t ACL_ERROR_GE_INTERNAL_ERROR = 545000;

Unknown internal error.

After obtaining the logs, click here to contact technical support.

uint32_t ACL_ERROR_GE_LOAD_MODEL = 545001;

Failure to load the model.

After obtaining the logs, click here to contact technical support.

uint32_t ACL_ERROR_GE_EXEC_LOAD_MODEL_PARTITION_FAILED = 545002;

Failure to load the model.

After obtaining the logs, click here to contact technical support.

uint32_t ACL_ERROR_GE_EXEC_LOAD_WEIGHT_PARTITION_FAILED = 545003;

Failure to load the model weight.

After obtaining the logs, click here to contact technical support.

uint32_t ACL_ERROR_GE_EXEC_LOAD_TASK_PARTITION_FAILED = 545004;

Failure to load the model tasks.

After obtaining the logs, click here to contact technical support.

uint32_t ACL_ERROR_GE_EXEC_LOAD_KERNEL_PARTITION_FAILED = 545005;

Failure to load the model operators.

After obtaining the logs, click here to contact technical support.

uint32_t ACL_ERROR_GE_EXEC_RELEASE_MODEL_DATA = 545006;

Failure to free the model space.

After obtaining the logs, click here to contact technical support.

uint32_t ACL_ERROR_GE_COMMAND_HANDLE = 545007;

Failure to execute the command.

After obtaining the logs, click here to contact technical support.

uint32_t ACL_ERROR_GE_GET_TENSOR_INFO = 545008;

Failure to obtain tensor data.

After obtaining the logs, click here to contact technical support.

uint32_t ACL_ERROR_GE_UNLOAD_MODEL = 545009;

Failure to unload the model.

After obtaining the logs, click here to contact technical support.

uint32_t ACL_ERROR_GE_MODEL_EXECUTE_TIMEOUT = 545601;

Model execution timeout.

After obtaining the logs, click here to contact technical support.

uint32_t ACL_ERROR_GE_REDEPLOYING = 545602;

Redeployment in progress.

Call relevant APIs again after the redeployment is complete.