API List ( & Atlas training products & Atlas inference products & Atlas 200I/500 A2 inference products & Atlas A2 training products/Atlas A2 inference products)

APIs are added for the following products based on V1.12.0:
  • Atlas training products
  • Atlas inference products
  • Atlas 200I/500 A2 inference products
  • Atlas A2 training products/Atlas A2 inference products
The following table lists the acl APIs supported by different versions.
  • √: supported

Directory

API

Atlas training products

Atlas inference products

Atlas 200I/500 A2 inference products

Atlas A2 training products/Atlas A2 inference products

Runtime Management > Event Management

aclrtEventGetTimestamp

√

√

√

√

Runtime Management > Execution Control

aclrtSetOpExecuteTimeOutWithMs

☓

☓

☓

x

Model Inference > Model Execution

aclmdlBeginCapture

☓

☓

☓

√

aclmdlGetCaptureInfo

☓

☓

☓

√

aclmdlThreadExchangeCaptureMode

☓

☓

☓

√

aclmdlEndCapture

☓

☓

☓

√

aclmdlDebugPrint

☓

☓

☓

√

aclmdlRIExecuteAsync

☓

☓

☓

√

aclmdlRIDestroy

☓

☓

☓

√

aclmdlRICaptureTaskGrpBegin

☓

☓

☓

√

aclmdlRICaptureTaskGrpEnd

☓

☓

☓

√

aclmdlRICaptureTaskUpdateBegin

☓

☓

☓

√

aclmdlRICaptureTaskUpdateEnd

☓

☓

☓

√

System Configuration

aclsysGetCANNVersion

√

√

√

√

Runtime Management > Stream Management

aclrtStreamGetId

√

√

√

√

Runtime Management > Execution Control

aclrtGetThreadLastTaskId

√

√

√

√

Runtime Management > Memory Management

aclrtMallocWithCfg

√

√

√

√

aclrtMallocForTaskScheduler

√

√

√

√

aclrtMallocHostWithCfg

√

√

√

√

aclrtMemcpyAsyncWithDesc

☓

☓

√

√

aclrtGetMemcpyDescSize

☓

☓

√

√

aclrtSetMemcpyDesc

☓

☓

√

√

aclrtPointerGetAttributes

√

√

√

√

aclrtHostRegister

√

☓

☓

√

aclrtHostUnregister

√

☓

☓

√

Media Data Processing V1 > Memory Allocation and Deallocation

acldvppMallocWithCfg

√

√

√

√

Runtime Management > Kernel Loading and Execution

aclrtBinaryLoadFromFile

√

√

√

√

aclrtBinaryGetFunctionByEntry

√

√

√

√

aclrtGetFunctionAddr

√

√

√

√

aclrtKernelArgsInit

√

√

√

√

aclrtKernelArgsInitByUserMem

√

√

√

√

aclrtKernelArgsGetMemSize

√

√

√

√

aclrtKernelArgsGetHandleMemSize

√

√

√

√

aclrtKernelArgsAppend

√

√

√

√

aclrtKernelArgsAppendPlaceHolder

√

√

√

√

aclrtKernelArgsGetPlaceHolderBuffer

√

√

√

√

aclrtKernelArgsParaUpdate

√

√

√

√

aclrtKernelArgsFinalize

√

√

√

√

aclrtLaunchKernelWithConfig

√

√

√

√