V1.16.0及以上版本
Atlas 训练系列产品 Atlas 推理系列产品
Atlas 200I/500 A2 推理产品 Atlas A2 训练系列产品 /Atlas A2 推理系列产品 Atlas A3 训练系列产品 /Atlas A3 推理系列产品
- √:支持。
- x:不支持。
- 废弃:后续版本待废弃,具体废弃接口说明请参见废弃接口/返回码列表。
目录 |
接口 |
|||||
|---|---|---|---|---|---|---|
运行时管理>Kernel加载与执行 |
aclrtLaunchKernelV2 |
√ |
√ |
√ |
√ |
√ |
aclrtLaunchKernelWithHostArgs |
√ |
√ |
√ |
√ |
√ |
|
aclrtGetHardwareSyncAddr |
☓ |
☓ |
☓ |
√ |
√ |
|
aclrtBinaryGetDevAddress |
√ |
√ |
√ |
√ |
√ |
|
aclrtGetFunctionAttribute |
√ |
√ |
√ |
√ |
√ |
|
运行时管理>异常处理 |
aclrtGetErrorVerbose |
☓ |
☓ |
☓ |
☓ |
☓ |
aclrtRepairError |
☓ |
☓ |
☓ |
☓ |
☓ |
|
aclrtSetDeviceTaskAbortCallback |
√ |
√ |
√ |
√ |
√ |
|
运行时管理>内存管理 |
aclrtAllocatorGetByStream |
√ |
√ |
☓ |
√ |
√ |
aclrtMemExportToShareableHandleV2 |
√ |
√ |
√ |
√ |
√ |
|
aclrtMemSetPidToShareableHandleV2 |
√ |
√ |
√ |
√ |
√ |
|
aclrtMemImportFromShareableHandleV2 |
√ |
√ |
√ |
√ |
√ |
|
aclrtMemcpyAsyncWithOffset |
☓ |
☓ |
☓ |
√ |
√ |
|
aclrtIpcMemSetAttr |
☓ |
☓ |
☓ |
☓ |
√ |
|
aclrtIpcMemImportPidInterServer |
☓ |
☓ |
☓ |
☓ |
√ |
|
aclrtCmoGetDescSize |
☓ |
☓ |
☓ |
√ |
√ |
|
aclrtCmoSetDesc |
☓ |
☓ |
☓ |
√ |
√ |
|
aclrtCmoAsyncWithDesc |
☓ |
☓ |
☓ |
√ |
√ |
|
aclrtMemSetAccess |
√ |
√ |
√ |
√ |
√ |
|
aclrtMemGetAccess |
√ |
√ |
√ |
√ |
√ |
|
aclrtCheckMemType |
√ |
√ |
√ |
√ |
√ |
|
aclrtFreeWithDevSync |
√ |
√ |
√ |
√ |
√ |
|
aclrtFreeHostWithDevSync |
√ |
√ |
√ |
√ |
√ |
|
aclrtGetMemUsageInfo |
√ |
√ |
√ |
√ |
√ |
|
aclrtHostRegisterV2 |
√ |
☓ |
☓ |
√ |
√ |
|
aclrtHostGetDevicePointer |
√ |
☓ |
☓ |
√ |
√ |
|
初始化和去初始化 |
aclInitCallbackRegister |
√ |
√ |
√ |
√ |
√ |
aclInitCallbackUnRegister |
√ |
√ |
√ |
√ |
√ |
|
aclFinalizeCallbackRegister |
√ |
√ |
√ |
√ |
√ |
|
aclFinalizeCallbackUnRegister |
√ |
√ |
√ |
√ |
√ |
|
运行时管理>Device管理 |
aclrtRegDeviceStateCallback |
√ |
√ |
√ |
√ |
√ |
aclrtDevicePeerAccessStatus |
√ |
√ |
√ |
√ |
√ |
|
aclrtGetLogicDevIdByUserDevId |
√ |
√ |
√ |
√ |
√ |
|
aclrtGetUserDevIdByLogicDevId |
√ |
√ |
√ |
√ |
√ |
|
aclrtGetLogicDevIdByPhyDevId |
√ |
√ |
√ |
√ |
√ |
|
aclrtGetPhyDevIdByLogicDevId |
√ |
√ |
√ |
√ |
√ |
|
aclrtDeviceGetUuid |
☓ |
☓ |
☓ |
√ |
√ |
|
运行时管理>Stream管理 |
aclrtRegStreamStateCallback |
√ |
√ |
√ |
√ |
√ |
acIrtStreamStop |
☓ |
☓ |
√ |
√ |
√ |
|
aclrtPersistentTaskClean |
☓ |
☓ |
☓ |
☓ |
☓ |
|
aclrtCreateStreamWithConfig |
√ |
√ |
√ |
√ |
√ |
|
运行时管理>执行控制 |
aclrtGetOpExecuteTimeOut |
√ |
√ |
√ |
√ |
√ |
aclrtRandomNumAsync |
☓ |
☓ |
☓ |
√ |
√ |
|
aclrtUpdateTaskAsync |
☓ |
√ |
☓ |
√ |
√ |
|
aclrtGetOpTimeoutInterval |
√ |
√ |
√ |
√ |
√ |
|
aclrtSetOpExecuteTimeOutV2 |
√ |
√ |
√ |
√ |
√ |
|
运行时管理>Notify管理 |
aclrtNotifySetImportPidInterServer |
☓ |
☓ |
☓ |
☓ |
√ |
运行时管理>CntNotify管理 |
aclrtCntNotifyCreate |
☓ |
☓ |
☓ |
☓ |
☓ |
aclrtCntNotifyDestroy |
☓ |
☓ |
☓ |
☓ |
☓ |
|
aclrtCntNotifyRecord |
☓ |
☓ |
☓ |
☓ |
☓ |
|
aclrtCntNotifyWaitWithTimeout |
☓ |
☓ |
☓ |
☓ |
☓ |
|
aclrtCntNotifyReset |
☓ |
☓ |
☓ |
☓ |
☓ |
|
aclrtCntNotifyGetId |
☓ |
☓ |
☓ |
☓ |
☓ |
|
运行时管理>模型运行实例管理 |
aclrtCheckArchCompatibility |
√ |
√ |
√ |
√ |
√ |
aclmdlRIAbort |
√ |
√ |
√ |
√ |
√ |
|
aclmdlRIDebugJsonPrint |
☓ |
☓ |
☓ |
√ |
√ |
|
运行时管理>Event管理 |
aclrtStreamWaitEventWithTimeout |
√ |
√ |
√ |
√ |
√ |
aclrtIpcGetEventHandle |
☓ |
☓ |
☓ |
√ |
√ |
|
aclrtIpcOpenEventHandle |
☓ |
☓ |
☓ |
√ |
√ |
|
运行时管理>Context管理 |
aclrtCtxGetFloatOverflowAddr |
√ |
√ |
√ |
√ |
√ |
运行时管理>其他接口 |
aclrtCacheLastTaskOpInfo |
☓ |
☓ |
☓ |
√ |
√ |
aclsysGetVersionStr |
√ |
√ |
√ |
√ |
√ |
|
aclsysGetVersionNum |
√ |
√ |
√ |
√ |
√ |
|
aclrtProfTrace |
√ |
√ |
√ |
√ |
√ |
|
模型管理>模型加载和卸载 |
aclmdlSetExternalWeightAddress |
√ |
√ |
√ |
√ |
√ |