V1.14.0及以上版本
Atlas 200/300/500 推理产品 Atlas 训练系列产品 Atlas 推理系列产品
Atlas 200I/500 A2 推理产品 Atlas A2 训练系列产品 /Atlas 800I A2 推理产品 /A200I A2 Box 异构组件Atlas A3 训练系列产品 /Atlas A3 推理系列产品
- √:支持。
- x:不支持。
- 废弃:后续版本待废弃,具体废弃接口说明请参见废弃接口/返回码列表。
目录 |
接口 |
||||||
---|---|---|---|---|---|---|---|
运行时管理>内存管理 |
aclrtValueWrite |
x |
x |
x |
x |
√ |
√ |
aclrtValueWait |
x |
x |
x |
x |
√ |
√ |
|
aclrtCmoAsyncWithBarrier |
x |
x |
x |
√ |
x |
x |
|
aclrtCmoWaitBarrier |
x |
x |
x |
√ |
x |
x |
|
aclrtMemcpyBatch |
x |
x |
x |
x |
√ |
√ |
|
aclrtIpcMemGetExportKey |
x |
√ |
√ |
x |
√ |
√ |
|
aclrtIpcMemSetImportPid |
x |
√ |
√ |
x |
√ |
√ |
|
aclrtIpcMemImportByKey |
x |
√ |
√ |
x |
√ |
√ |
|
aclrtIpcMemClose |
x |
√ |
√ |
x |
√ |
√ |
|
运行时管理>Stream管理 |
aclrtGetStreamAvailableNum |
√ |
√ |
√ |
√ |
√ |
√ |
aclrtSetStreamAttribute |
√ |
√ |
√ |
√ |
√ |
√ |
|
aclrtGetStreamAttribute |
√ |
√ |
√ |
√ |
√ |
√ |
|
aclrtActiveStream |
x |
√ |
√ |
√ |
√ |
x |
|
aclrtSwitchStream |
x |
√ |
√ |
√ |
√ |
x |
|
运行时管理>模型运行实例管理 |
aclmdlRIExecute |
√ |
√ |
√ |
√ |
√ |
√ |
aclmdlRIBuildBegin |
√ |
√ |
√ |
√ |
√ |
√ |
|
aclmdlRIBindStream |
√ |
√ |
√ |
√ |
√ |
√ |
|
aclmdlRIEndTask |
√ |
√ |
√ |
√ |
√ |
√ |
|
aclmdlRIBuildEnd |
√ |
√ |
√ |
√ |
√ |
√ |
|
aclmdlRIUnbindStream |
√ |
√ |
√ |
√ |
√ |
√ |
|
aclmdlRISetName |
√ |
√ |
√ |
√ |
√ |
√ |
|
aclmdlRIGetName |
√ |
√ |
√ |
√ |
√ |
√ |
|
运行时管理>Notify管理 |
aclrtCreateNotify |
√ |
√ |
√ |
√ |
√ |
√ |
aclrtDestroyNotify |
√ |
√ |
√ |
√ |
√ |
√ |
|
aclrtRecordNotify |
√ |
√ |
√ |
√ |
√ |
√ |
|
aclrtWaitAndResetNotify |
√ |
√ |
√ |
√ |
√ |
√ |
|
aclrtGetNotifyId |
√ |
√ |
√ |
√ |
√ |
√ |
|
aclrtNotifyBatchReset |
x |
x |
x |
x |
√ |
√ |
|
aclrtNotifyGetExportKey |
x |
x |
√ |
x |
√ |
√ |
|
aclrtNotifySetImportPid |
x |
x |
√ |
x |
√ |
√ |
|
aclrtNotifyImportByKey |
x |
x |
√ |
x |
√ |
√ |
|
运行时管理>Event管理 |
aclrtGetEventId |
√ |
√ |
√ |
√ |
√ |
√ |
aclrtGetEventAvailNum |
√ |
√ |
√ |
√ |
√ |
√ |
|
运行时管理>Context管理 |
aclrtCtxGetCurrentDefaultStream |
√ |
√ |
√ |
√ |
√ |
√ |
运行时管理>Device管理 |
aclrtGetDeviceInfo |
√ |
√ |
√ |
√ |
√ |
√ |
aclrtDeviceGetStreamPriorityRange |
√ |
√ |
√ |
√ |
√ |
√ |
|
aclrtGetDeviceCapability |
√ |
√ |
√ |
√ |
√ |
√ |
|
aclrtGetDeviceResLimit |
√ |
√ |
√ |
√ |
√ |
√ |
|
aclrtSetDeviceResLimit |
√ |
√ |
√ |
√ |
√ |
√ |
|
aclrtResetDeviceResLimit |
√ |
√ |
√ |
√ |
√ |
√ |
|
aclrtGetDevicesTopo |
√ |
√ |
√ |
√ |
√ |
√ |
|
运行时管理>执行控制 |
aclrtReduceAsync |
x |
√ |
√ |
x |
√ |
√ |
运行时管理>异常处理 |
aclRecoverAllHcclTasks |
x |
x |
x |
x |
x |
x |
运行时管理>Label管理 |
aclrtCreateLabel |
x |
√ |
√ |
√ |
√ |
√ |
aclrtSetLabel |
x |
√ |
√ |
√ |
√ |
√ |
|
aclrtDestroyLabel |
x |
√ |
√ |
√ |
√ |
√ |
|
aclrtCreateLabelList |
x |
√ |
√ |
√ |
√ |
√ |
|
aclrtDestroyLabelList |
x |
√ |
√ |
√ |
√ |
√ |
|
aclrtSwitchLabelByIndex |
x |
√ |
√ |
√ |
√ |
√ |
|
运行时管理>Kernel加载与执行 |
aclrtGetFunctionName |
√ |
√ |
√ |
√ |
√ |
√ |
aclrtBinaryLoadFromData |
√ |
√ |
√ |
√ |
√ |
√ |
|
aclrtRegisterCpuFunc |
√ |
√ |
√ |
√ |
√ |
√ |
|
运行时管理>共享Buffer管理 |
aclrtAllocBuf |
√ |
x |
√ |
√ |
x |
x |
aclrtFreeBuf |
√ |
x |
√ |
√ |
x |
x |
|
aclrtGetBufData |
√ |
x |
√ |
√ |
x |
x |
|
aclrtSetBufUserData |
√ |
x |
√ |
√ |
x |
x |
|
aclrtGetBufUserData |
√ |
x |
√ |
√ |
x |
x |
|
aclrtGetBufDataLen |
√ |
x |
√ |
√ |
x |
x |
|
aclrtSetBufDataLen |
√ |
x |
√ |
√ |
x |
x |
|
aclrtCopyBufRef |
√ |
x |
√ |
√ |
x |
x |
|
aclrtAppendBufChain |
√ |
x |
√ |
√ |
x |
x |
|
aclrtGetBufFromChain |
√ |
x |
√ |
√ |
x |
x |
|
aclrtGetBufChainNum |
√ |
x |
√ |
√ |
x |
x |