V1.1.0 or Later

The following table lists the acl APIs supported by different versions.
  • √: supported

Directory

API

Atlas training products

Atlas inference products

System configuration

aclInit

aclFinalize

aclrtGetVersion

aclSetCompileopt

aclGetRecentErrMsg

aclAppLog

aclDataTypeSize

aclFloat16ToFloat

aclFloatToFloat16

aclGenGraphAndDumpForOp

Runtime Management > Device Management

aclrtSetDevice

aclrtResetDevice

aclrtGetDevice

aclrtGetRunMode

aclrtSetTsDevice

aclrtGetDeviceCount

aclrtSynchronizeDevice

aclrtGetSocName

Runtime Management > Context Management

aclrtCreateContext

aclrtDestroyContext

aclrtSetCurrentContext

aclrtGetCurrentContext

Runtime Management > Stream Management

aclrtCreateStream

aclrtDestroyStream

aclrtSynchronizeStream

Runtime Management > Event Management

aclrtCreateEvent

aclrtCreateEventWithFlag

aclrtDestroyEvent

aclrtRecordEvent

aclrtResetEvent

aclrtQueryEvent

Deprecated

Deprecated

aclrtQueryEventStatus

aclrtQueryEventWaitStatus

aclrtSynchronizeEvent

aclrtEventElapsedTime

aclrtStreamWaitEvent

aclrtSetOpWaitTimeout

Runtime Management > Memory Management

aclrtMalloc

aclrtMallocCached

aclrtMemFlush

aclrtMemInvalidate

aclrtFree

aclrtMallocHost

aclrtFreeHost

aclrtMemset

aclrtMemsetAsync

aclrtMemcpy

aclrtMemcpyAsync

aclrtGetMemInfo

aclrtDeviceCanAccessPeer

aclrtDeviceEnablePeerAccess

aclrtDeviceDisablePeerAccess

aclrtMemcpy2d

This API is only supported by the Atlas inference accelerator cards and is not supported by the Atlas inference accelerator modules.

aclrtMemcpy2dAsync

This API is only supported by the Atlas inference accelerator cards and is not supported by the Atlas inference accelerator modules.

Runtime Management > Execution Control

aclrtSubscribeReport

aclrtLaunchCallback

aclrtProcessReport

aclrtUnSubscribeReport

Runtime Management > Exception Handling

aclrtSetExceptionInfoCallback

aclrtGetTaskIdFromExceptionInfo

aclrtGetStreamIdFromExceptionInfo

aclrtGetThreadIdFromExceptionInfo

aclrtGetDeviceIdFromExceptionInfo

Runtime Management > Group Management

aclrtSetGroup

aclrtGetGroupCount

aclrtCreateGroupInfo

aclrtDestroyGroupInfo

aclrtGetAllGroupInfo

aclrtGetGroupInfoDetail

Model Inference > Model Loading

aclmdlLoadFromFile

aclmdlLoadFromMem

aclmdlLoadFromFileWithMem

aclmdlLoadFromMemWithMem

aclmdlLoadFromFileWithQ

aclmdlLoadFromMemWithQ

aclmdlSetConfigOpt

aclmdlLoadWithConfig

Model Inference > Model Execution

aclmdlExecute

aclmdlExecuteAsync

aclmdlUnload

aclmdlQuerySize

aclmdlQuerySizeFromMem

aclmdlSetDynamicBatchSize

aclmdlSetDynamicHWSize

aclmdlSetInputAIPP

aclmdlGetFirstAippInfo

aclmdlGetAippType

aclmdlSetAIPPByInputIndex

aclmdlSetInputDynamicDims

aclmdlCreateAndGetOpDesc

aclmdlInitDump

aclmdlSetDump

aclmdlFinalizeDump

Single-Operator Execution > Single-Operator Model Execution

aclopSetModelDir

aclopLoad

aclopSetCompileFlag

aclopCompile

aclopExecute

Deprecated

Deprecated

aclopExecuteV2

aclopCompileAndExecute

aclopExecWithHandle

aclopInferShape

aclopRegisterCompileFunc

aclopUnregisterCompileFunc

aclopCreateKernel

aclopSetKernelArgs

aclopSetKernelWorkspaceSizes

aclopUpdateParams

Single-Operator Execution > CBLAS

aclblasGemvEx

aclblasCreateHandleForGemvEx

aclblasHgemv

aclblasCreateHandleForHgemv

aclblasS8gemv

aclblasCreateHandleForS8gemv

aclblasGemmEx

aclblasCreateHandleForGemmEx

aclblasHgemm

aclblasCreateHandleForHgemm

aclblasS8gemm

aclblasCreateHandleForS8gemm

aclopCast

aclopCreateHandleForCast

Media Data Processing V1 > Memory Allocation and Deallocation

acldvppMalloc

acldvppFree

Media Data Processing V1 > Channel Creation and Destruction

acldvppCreateChannel

acldvppDestroyChannel

aclvdecCreateChannel

aclvdecDestroyChannel

aclvencCreateChannel

aclvencDestroyChannel

Media Data Processing V1 > VPC

acldvppVpcResizeAsync

acldvppVpcCropAsync

acldvppVpcCropResizeAsync

acldvppVpcBatchCropAsync

acldvppVpcBatchCropResizeAsync

acldvppVpcCropAndPasteAsync

acldvppVpcCropResizePasteAsync

acldvppVpcBatchCropAndPasteAsync

acldvppVpcBatchCropResizePasteAsync

acldvppVpcBatchCropResizeMakeBorderAsync

acldvppVpcConvertColorAsync

acldvppVpcPyrDownAsync

acldvppVpcEqualizeHistAsync

acldvppVpcMakeBorderAsync

acldvppVpcCalcHistAsync

Media Data Processing V1 > JPEGD

acldvppJpegDecodeAsync

acldvppJpegGetImageInfo

acldvppJpegGetImageInfoV2

acldvppJpegPredictDecSize

Media Data Processing V1 > JPEGE

acldvppJpegEncodeAsync

acldvppJpegPredictEncSize

Media Data Processing V1 > PNGD

acldvppPngDecodeAsync

acldvppPngGetImageInfo

acldvppPngPredictDecSize

Media Data Processing V1 > VDEC

aclvdecSendFrame

aclvdecSendSkippedFrame

aclvdecCallback

Media Data Processing V1 > VENC

aclvencSendFrame

aclvencCallback

Media Data Processing V2 > Common APIs

hi_mpi_sys_init

hi_mpi_sys_exit

hi_mpi_dvpp_malloc

hi_mpi_dvpp_free

hi_mpi_dvpp_get_image_info

hi_mpi_dvpp_get_version

hi_mpi_sys_create_epoll

hi_mpi_sys_ctl_epoll

hi_mpi_sys_wait_epoll

hi_mpi_sys_close_epoll

hi_mpi_sys_set_chn_csc_matrix

hi_mpi_sys_get_chn_csc_matrix

Media Data Processing V2 > VPC

hi_mpi_vpc_create_chn

hi_mpi_vpc_destroy_chn

hi_mpi_vpc_resize

hi_mpi_vpc_crop

hi_mpi_vpc_crop_resize

hi_mpi_vpc_crop_resize_paste

hi_mpi_vpc_convert_color

hi_mpi_vpc_convert_color_to_yuv420

hi_mpi_vpc_copy_make_border

hi_mpi_vpc_pyrdown

hi_mpi_vpc_calc_hist

hi_mpi_vpc_equalize_hist

hi_mpi_vpc_crop_resize_make_border

hi_mpi_vpc_batch_crop_resize_paste

hi_mpi_vpc_batch_crop_resize_make_border

hi_mpi_vpc_get_process_result

hi_mpi_vpc_sys_create_chn

Media Data Processing V2 > VDEC/JPEGD

hi_mpi_vdec_create_chn

hi_mpi_vdec_destroy_chn

hi_mpi_vdec_get_chn_attr

hi_mpi_vdec_set_chn_attr

hi_mpi_vdec_start_recv_stream

hi_mpi_vdec_stop_recv_stream

hi_mpi_vdec_query_status

hi_mpi_vdec_reset_chn

hi_mpi_vdec_set_chn_param

hi_mpi_vdec_get_chn_param

hi_mpi_vdec_set_protocol_param

hi_mpi_vdec_get_protocol_param

hi_mpi_vdec_send_stream

hi_mpi_vdec_get_frame

hi_mpi_vdec_release_frame

hi_mpi_vdec_get_fd

hi_mpi_vdec_close_fd

hi_vdec_get_pic_buf_size

hi_vdec_get_tmv_buf_size

Media Data Processing V2 > VENC/JPEGE

hi_mpi_venc_create_chn

hi_mpi_venc_destroy_chn

hi_mpi_venc_start_chn

hi_mpi_venc_stop_chn

hi_mpi_venc_query_status

hi_mpi_venc_get_stream

hi_mpi_venc_release_stream

hi_mpi_venc_send_frame

hi_mpi_venc_set_mod_param

hi_mpi_venc_get_mod_param

hi_mpi_venc_request_idr

hi_mpi_venc_get_fd

hi_mpi_venc_close_fd

hi_mpi_venc_set_jpeg_param

hi_mpi_venc_get_jpeg_param

hi_mpi_venc_set_chn_param

hi_mpi_venc_set_scene_mode

hi_mpi_venc_set_rc_param

hi_mpi_venc_get_rc_param

hi_mpi_venc_set_jpeg_huffman_param

hi_mpi_venc_get_jpeg_huffman_param

hi_mpi_venc_compact_jpeg_tables

Media Data Processing V2 > PNGD

hi_mpi_pngd_create_chn

hi_mpi_pngd_destroy_chn

hi_mpi_pngd_send_stream

hi_mpi_pngd_get_image_data

hi_mpi_png_get_image_info

Profile Data Collection > Profiling AscendCL APIs (Collecting and Flushing Profile Data)

aclprofInit

aclprofStart

aclprofStop

aclprofFinalize

Profiling AscendCL API for extension (extension APIs)

aclprofCreateStamp

aclprofSetStampTraceMessage

aclprofMark

aclprofPush

aclprofPop

aclprofRangeStart

aclprofRangeStop

aclprofDestroyStamp

Profiling AscendCL APIs for subscription (subscription to operator information)

aclprofModelSubscribe

aclprofModelUnSubscribe

aclprofGetOpDescSize

aclprofGetOpNum

aclprofGetOpTypeLen

aclprofGetOpType

aclprofGetOpNameLen

aclprofGetOpName

aclprofGetOpStart

aclprofGetOpEnd

aclprofGetOpDuration

aclprofGetModelId

Profiling AscendCL API (setting iteration time in pytorch scenario)

aclprOFGETSTEPTIMESTAMp

Data Transmission > Tensor Data Transmission

acltdtCreateChannel

acltdtSendTensor

acltdtReceiveTensor

acltdtStopChannel

acltdtDestroyChannel

acltdtCreateChannelWithCapacity

acltdtQueryChannelSize

Data Transmission > Shared Queue Management

acltdtCreateQueue

acltdtDestroyQueue

acltdtEnqueueData

acltdtDequeueData

acltdtEnqueue

acltdtDequeue

acltdtBindQueueRoutes

acltdtUnbindQueueRoutes

acltdtQueryQueueRoutes

acltdtGrantQueue

acltdtAttachQueue

Data Transmission > Shared Buffer Management

acltdtAllocBuf

acltdtFreeBuf

acltdtGetBufData

Feature vector search

aclfvInit

This API is only supported by the Atlas inference accelerator cards and is not supported by the Atlas inference accelerator modules.

aclfvRelease

This API is only supported by the Atlas inference accelerator cards and is not supported by the Atlas inference accelerator modules.

aclfvRepoAdd

This API is only supported by the Atlas inference accelerator cards and is not supported by the Atlas inference accelerator modules.

aclfvRepoDel

This API is only supported by the Atlas inference accelerator cards and is not supported by the Atlas inference accelerator modules.

aclfvDel

This API is only supported by the Atlas inference accelerator cards and is not supported by the Atlas inference accelerator modules.

aclfvModify

This API is only supported by the Atlas inference accelerator cards and is not supported by the Atlas inference accelerator modules.

aclfvSearch

This API is only supported by the Atlas inference accelerator cards and is not supported by the Atlas inference accelerator modules.