Expand description
ACL 运行时错误码常量。 ACL 运行时错误码常量。
对应头文件 include/acl/error_codes/rt_error_codes.h(CANN 8.5.0)。
数值按头文件抄录,全部带出处注释;本机 SDK 路径:/usr/local/Ascend/cann-8.5.0。
码段语义(供 cann 层错误分类):
107xxx参数/句柄/上下文类(Invalid)207xxx资源/内存类(含 OOM:207001/207002/207018)507xxx驱动/执行类(Internal/异常/超时)
Constants§
- ACL_
ERROR_ RT_ ADDR_ UNALIGNED - memory address unaligned
- ACL_
ERROR_ RT_ AICORE_ EXCEPTION - aicore exception
- ACL_
ERROR_ RT_ AICORE_ OVER_ FLOW - aicore over flow
- ACL_
ERROR_ RT_ AICORE_ TIMEOUT - aicore timeout
- ACL_
ERROR_ RT_ AICORE_ TRAP_ EXCEPTION - aicore trap exception
- ACL_
ERROR_ RT_ AICORE_ TRAP_ READ_ OVERFLOW - aic trap read overflow
- ACL_
ERROR_ RT_ AICORE_ TRAP_ WRITE_ OVERFLOW - aic trap write overflow
- ACL_
ERROR_ RT_ AICPU_ DATADUMP_ RSP_ ERR - aicpu datadump response error
- ACL_
ERROR_ RT_ AICPU_ EXCEPTION - aicpu exception
- ACL_
ERROR_ RT_ AICPU_ INFO_ LOAD_ RSP_ ERR - aicpu info load response error
- ACL_
ERROR_ RT_ AICPU_ INTERNAL_ ERROR - aicpu internal error
- ACL_
ERROR_ RT_ AICPU_ MODEL_ RSP_ ERR - aicpu model operate response error
- ACL_
ERROR_ RT_ AICPU_ TIMEOUT - aicpu timeout
- ACL_
ERROR_ RT_ AIVEC_ OVER_ FLOW - aivec over flow
- ACL_
ERROR_ RT_ CAPTURE_ DEPENDENCY - capture dependency failure
- ACL_
ERROR_ RT_ CAPTURE_ MODE_ NOT_ SUPPORT - stream is captured, not support current oper
- ACL_
ERROR_ RT_ CDQ_ BATCH_ ABNORMAL - cdq alloc batch abnormal
- ACL_
ERROR_ RT_ COMM_ OP_ RETRY_ FAIL - hccl operation retry failed
- ACL_
ERROR_ RT_ CONTEXT_ NULL - current context null
- ACL_
ERROR_ RT_ CONTEXT_ RELEASE_ ERROR - context release error
- ACL_
ERROR_ RT_ COPY_ DATA - copy data fail
- ACL_
ERROR_ RT_ DEBUG_ REGISTER_ FAIL - debug register failed
- ACL_
ERROR_ RT_ DEBUG_ UNREGISTER_ FAIL - debug unregister failed
- ACL_
ERROR_ RT_ DEVICE_ MEM_ ERROR - device MEM ERROR
- ACL_
ERROR_ RT_ DEVICE_ OOM - device oom
- ACL_
ERROR_ RT_ DEVICE_ TASK_ ABORT - device task aborting
- ACL_
ERROR_ RT_ DEV_ SETUP_ ERROR - device setup error
- ACL_
ERROR_ RT_ DIE_ MODE_ CHANGE_ ERROR - can not change die mode
- ACL_
ERROR_ RT_ DIE_ MODE_ NOT_ SET - die mode not set
- ACL_
ERROR_ RT_ DIE_ SET_ ERROR - single die mode can not set die
- ACL_
ERROR_ RT_ DRV_ INTERNAL_ ERROR - drv internal error
- ACL_
ERROR_ RT_ END_ OF_ SEQUENCE - end of sequence
- ACL_
ERROR_ RT_ EVENT_ CAPTURED - event is captured
- ACL_
ERROR_ RT_ EVENT_ NOT_ COMPLETE - event not complete
- ACL_
ERROR_ RT_ EVENT_ SYNC_ TIMEOUT - event sync time out
- ACL_
ERROR_ RT_ EVENT_ TIMESTAMP_ INVALID - event timestamp invalid
- ACL_
ERROR_ RT_ EVENT_ TIMESTAMP_ REVERSAL - event timestamp reversal
- ACL_
ERROR_ RT_ FEATURE_ NOT_ SUPPORT - feature not support
- ACL_
ERROR_ RT_ FEATURE_ NOT_ SUPPORT_ UPDATE_ OP - not support to update this op
- ACL_
ERROR_ RT_ FFTS_ PLUS_ EXCEPTION - ffts+ exception
- ACL_
ERROR_ RT_ FFTS_ PLUS_ TIMEOUT - ffts+ timeout
- ACL_
ERROR_ RT_ FFTS_ PLUS_ TRAP_ EXCEPTION - ffts+ trap exception
- ACL_
ERROR_ RT_ FILE_ OPEN - open file failed
- ACL_
ERROR_ RT_ FILE_ WRITE - write file failed
- ACL_
ERROR_ RT_ GROUP_ NOT_ CREATE - group not create
- ACL_
ERROR_ RT_ GROUP_ NOT_ SET - group not set
- ACL_
ERROR_ RT_ HBM_ MULTI_ BIT_ ECC_ ERROR - hbm Multi-bit ECC error
- ACL_
ERROR_ RT_ INTERNAL_ ERROR - runtime internal error
- ACL_
ERROR_ RT_ INVALID_ DEVICEID - invalid device id
- ACL_
ERROR_ RT_ INVALID_ DIEID - invalid die id
- ACL_
ERROR_ RT_ INVALID_ HANDLE - invalid handle
- ACL_
ERROR_ RT_ INVALID_ MALLOC_ TYPE - invalid malloc type
- ACL_
ERROR_ RT_ INVALID_ MEMORY_ TYPE - invalid memory type
- ACL_
ERROR_ RT_ IPC_ ERROR - ipc error
- ACL_
ERROR_ RT_ KERNEL_ DUPLICATE - kernel register duplicate
- ACL_
ERROR_ RT_ KERNEL_ LOOKUP - kernel lookup error
- ACL_
ERROR_ RT_ KERNEL_ UNREGISTERING - kernel unregistering
- ACL_
ERROR_ RT_ LABEL_ CONTEXT - label not in current context
- ACL_
ERROR_ RT_ LINK_ ERROR - link ERROR
- ACL_
ERROR_ RT_ LOST_ HEARTBEAT - ts lost heartbeat
- ACL_
ERROR_ RT_ MEMORY_ ALLOCATION - memory allocation error, only used by out of memory
- ACL_
ERROR_ RT_ MEMORY_ FREE - memory free error
- ACL_
ERROR_ RT_ MODEL_ ABORT_ NORMAL - model abort normal
- ACL_
ERROR_ RT_ MODEL_ CAPTURED - model is captured
- ACL_
ERROR_ RT_ MODEL_ CONTEXT - model not in current context
- ACL_
ERROR_ RT_ MODEL_ EXECUTE - model execute failed
- ACL_
ERROR_ RT_ MODEL_ RUNNING - the model is still running
- ACL_
ERROR_ RT_ NO_ CDQ_ RESOURCE - no cdq resource
- ACL_
ERROR_ RT_ NO_ DEVICE - no device
- ACL_
ERROR_ RT_ NO_ EVENT_ RESOURCE - no event resource
- ACL_
ERROR_ RT_ NO_ MODEL_ RESOURCE - no model resource
- ACL_
ERROR_ RT_ NO_ NOTIFY_ RESOURCE - no notify resource
- ACL_
ERROR_ RT_ NO_ PERMISSION - no permission
- ACL_
ERROR_ RT_ NO_ STREAM_ RESOURCE - no stream resource
- ACL_
ERROR_ RT_ OVER_ FLOW - common over flow
- ACL_
ERROR_ RT_ OVER_ LIMIT - over limit
- ACL_
ERROR_ RT_ PARAM_ INVALID - param invalid
- ACL_
ERROR_ RT_ PROFILING_ ERROR - profiling error
- ACL_
ERROR_ RT_ PROGRAM_ USE_ OUT - program register num use out
- ACL_
ERROR_ RT_ QUEUE_ EMPTY - queue is empty
- ACL_
ERROR_ RT_ QUEUE_ FULL - queue is full
- ACL_
ERROR_ RT_ REPEATED_ INIT - repeated init
- ACL_
ERROR_ RT_ REPORT_ TIMEOUT - report timeout
- ACL_
ERROR_ RT_ RESOURCE_ ALLOC_ FAIL - resource alloc fail
- ACL_
ERROR_ RT_ RINGBUFFER_ NOT_ INIT - ringbuffer not init
- ACL_
ERROR_ RT_ RINGBUFFER_ NO_ DATA - ringbuffer no data
- ACL_
ERROR_ RT_ SEND_ MSG - hdc send msg fail
- ACL_
ERROR_ RT_ SOCKET_ CLOSE - hdc disconnect
- ACL_
ERROR_ RT_ SOC_ VERSION - soc version error
- ACL_
ERROR_ RT_ STREAM_ ABORT - stream aborting
- ACL_
ERROR_ RT_ STREAM_ CAPTURED - stream is captured
- ACL_
ERROR_ RT_ STREAM_ CAPTURE_ IMPLICIT - a disallowed implicit dependency from defalut stream
- ACL_
ERROR_ RT_ STREAM_ CAPTURE_ INVALIDATED - capture status is invalidated
- ACL_
ERROR_ RT_ STREAM_ CAPTURE_ UNMATCHED - the capture was not initiated in this stream
- ACL_
ERROR_ RT_ STREAM_ CAPTURE_ WRONG_ THREAD - the thread of end capture and begin capture is not same
- ACL_
ERROR_ RT_ STREAM_ CONTEXT - stream not in current context
- ACL_
ERROR_ RT_ STREAM_ MODEL - stream not in model
- ACL_
ERROR_ RT_ STREAM_ NOT_ CAPTURED - stream is not in capture status
- ACL_
ERROR_ RT_ STREAM_ NOT_ COMPLETE - stream not complete
- ACL_
ERROR_ RT_ STREAM_ NO_ CB_ REG - callback not register to stream
- ACL_
ERROR_ RT_ STREAM_ SUBSCRIBE - error subscribe stream
- ACL_
ERROR_ RT_ STREAM_ SYNC_ TIMEOUT - stream sync time out
- ACL_
ERROR_ RT_ STREAM_ TASK_ EMPTY - task empty in stream
- ACL_
ERROR_ RT_ STREAM_ TASK_ FULL - task full in stream
- ACL_
ERROR_ RT_ STREAM_ UNJOINED - invalid capture model
- ACL_
ERROR_ RT_ SUSPECT_ DEVICE_ MEM_ ERROR - suspect device MEM ERROR
- ACL_
ERROR_ RT_ SUSPECT_ REMOTE_ ERROR - suspect remote ERROR
- ACL_
ERROR_ RT_ SYSPARAMOPT_ NOT_ SET - not set sysparamopt
- ACL_
ERROR_ RT_ SYS_ DMA - sys dma error
- ACL_
ERROR_ RT_ TASK_ ABORT_ STOP - device task aborting stop before post process
- ACL_
ERROR_ RT_ TASK_ TIMEOUT - task timeout
- ACL_
ERROR_ RT_ TASK_ TYPE_ NOT_ SUPPORT - task type not support
- ACL_
ERROR_ RT_ THREAD_ SUBSCRIBE - error subscribe thread
- ACL_
ERROR_ RT_ TS_ ERROR - ts internel error
- ACL_
ERROR_ RT_ VECTOR_ CORE_ EXCEPTION - vector core exception
- ACL_
ERROR_ RT_ VECTOR_ CORE_ TIMEOUT - vector core timeout
- ACL_
ERROR_ RT_ VECTOR_ CORE_ TRAP_ EXCEPTION - vector core trap exception
- ACL_
ERROR_ RT_ VECTOR_ CORE_ TRAP_ READ_ OVERFLOW - aiv trap read overflow
- ACL_
ERROR_ RT_ VECTOR_ CORE_ TRAP_ WRITE_ OVERFLOW - aiv trap write overflow
- ACL_
ERROR_ RT_ WAIT_ TIMEOUT - wait timeout