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

APIs for the Atlas 200I/500 A2 inference products are released in V1.5.0 for the first time.

The following table lists the acl APIs supported by the Atlas 200I/500 A2 inference products.
  • √: supported

Directory

API

Atlas 200I/500 A2 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

aclrtSetDeviceSatMode

aclrtGetDeviceSatMode

Runtime Management > Context Management

aclrtCreateContext

aclrtDestroyContext

aclrtSetCurrentContext

aclrtGetCurrentContext

Runtime Management > Stream Management

aclrtCreateStream

aclrtCreateStreamWithConfig

aclrtDestroyStream

aclrtDestroyStreamForce

aclrtSetStreamOverflowSwitch

aclrtGetStreamOverflowSwitch

aclrtSetStreamFailureMode

aclrtSynchronizeStream

Runtime Management > Event Management

aclrtCreateEvent

aclrtCreateEventWithFlag

aclrtDestroyEvent

aclrtRecordEvent

aclrtResetEvent

aclrtQueryEvent

Deprecated

aclrtQueryEventStatus

aclrtQueryEventWaitStatus

aclrtSynchronizeEvent

aclrtSynchronizeEventWithTimeout

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 does not support the RC mode.

aclrtMemcpy2dAsync

This API does not support the RC mode.

Runtime Management > Execution Control

aclrtSubscribeReport

aclrtLaunchCallback

aclrtProcessReport

aclrtUnSubscribeReport

Runtime Management > Exception Handling

aclrtSetExceptionInfoCallback

aclrtGetTaskIdFromExceptionInfo

aclrtGetStreamIdFromExceptionInfo

aclrtGetThreadIdFromExceptionInfo

aclrtGetDeviceIdFromExceptionInfo

aclrtGetErrorCodeFromExceptionInfo

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

Deprecated

aclopCompile

aclopExecute

Deprecated

aclopExecuteV2

aclopCompileAndExecute

aclopCompileAndExecuteV2

aclopExecWithHandle

aclopInferShape

aclrtSetOpExecuteTimeOut

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

hi_mpi_sys_get_image_align_info

hi_mpi_sys_bind

hi_mpi_sys_unbind

Media Data Processing V2 > ISP System Control and 3A Algorithm Registration

hi_mpi_isp_sensor_reg_callback

hi_mpi_isp_sensor_unreg_callback

hi_mpi_isp_mem_init

hi_mpi_isp_set_pub_attr

hi_mpi_isp_get_pub_attr

hi_mpi_isp_init

hi_mpi_isp_run

hi_mpi_isp_exit

hi_mpi_isp_set_sns_slave_attr

hi_mpi_isp_get_sns_slave_attr

hi_mpi_ae_register

hi_mpi_ae_unregister

hi_mpi_ae_sensor_reg_callback

hi_mpi_ae_sensor_unreg_callback

hi_mpi_awb_register

hi_mpi_awb_unregister

hi_mpi_awb_sensor_reg_callback

hi_mpi_awb_sensor_unreg_callback

Media Data Processing V2 > MIPI RX ioctl Command Words

HI_MIPI_SET_DEV_ATTR

HI_MIPI_SET_HS_MODE

HI_MIPI_ENABLE_MIPI_CLOCK

HI_MIPI_DISABLE_MIPI_CLOCK

HI_MIPI_RESET_MIPI

HI_MIPI_UNRESET_MIPI

HI_MIPI_ENABLE_SLVS_CLOCK

HI_MIPI_DISABLE_SLVS_CLOCK

HI_MIPI_RESET_SLVS

HI_MIPI_UNRESET_SLVS

HI_MIPI_CONFIG_SENSOR_CLOCK

HI_MIPI_ENABLE_SENSOR_CLOCK

HI_MIPI_DISABLE_SENSOR_CLOCK

HI_MIPI_RESET_SENSOR

HI_MIPI_UNRESET_SENSOR

Media Data Processing V2 > VI

hi_mpi_vi_set_dev_bind_pipe

hi_mpi_vi_get_dev_bind_pipe

hi_mpi_vi_set_dev_attr

hi_mpi_vi_get_dev_attr

hi_mpi_vi_enable_dev

hi_mpi_vi_disable_dev

hi_mpi_vi_create_pipe

hi_mpi_vi_destroy_pipe

hi_mpi_vi_start_pipe

hi_mpi_vi_stop_pipe

hi_mpi_vi_set_pipe_pre_crop

hi_mpi_vi_get_pipe_pre_crop

hi_mpi_vi_set_pipe_frame_dump_attr

hi_mpi_vi_get_pipe_frame_dump_attr

hi_mpi_vi_get_pipe_frame

hi_mpi_vi_release_pipe_frame

hi_mpi_vi_set_pipe_frame_source

hi_mpi_vi_get_pipe_frame_source

hi_mpi_vi_send_pipe_yuv

hi_mpi_vi_send_pipe_raw

hi_mpi_vi_pipe_get_buffer

hi_mpi_vi_pipe_release_buffer

hi_mpi_vi_get_pipe_fd

hi_mpi_vi_set_chn_attr

hi_mpi_vi_get_chn_attr

hi_mpi_vi_enable_chn

hi_mpi_vi_disable_chn

hi_mpi_vi_set_chn_dis_config

hi_mpi_vi_get_chn_dis_config

hi_mpi_vi_set_chn_dis_attr

hi_mpi_vi_get_chn_dis_attr

hi_mpi_vi_set_chn_dis_param

hi_mpi_vi_get_chn_dis_param

hi_mpi_vi_set_chn_ldc_attr

hi_mpi_vi_get_chn_ldc_attr

hi_mpi_vi_get_chn_frame

hi_mpi_vi_release_chn_frame

hi_mpi_vi_get_chn_fd

Media Data Processing V2 > VPSS

hi_mpi_vpss_create_grp

hi_mpi_vpss_destroy_grp

hi_mpi_vpss_start_grp

hi_mpi_vpss_stop_grp

hi_mpi_vpss_set_grp_crop

hi_mpi_vpss_get_grp_crop

hi_mpi_vpss_set_grp_param

hi_mpi_vpss_get_grp_param

hi_mpi_vpss_set_grp_fisheye_cfg

hi_mpi_vpss_get_grp_fisheye_cfg

hi_mpi_vpss_set_chn_attr

hi_mpi_vpss_get_chn_attr

hi_mpi_vpss_enable_chn

hi_mpi_vpss_disable_chn

hi_mpi_vpss_get_chn_frame

hi_mpi_vpss_release_chn_frame

hi_mpi_vpss_set_chn_fisheye

hi_mpi_vpss_get_chn_fisheye

hi_mpi_vpss_get_chn_fd

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

hi_mpi_vpc_set_roundview_stitching_param

hi_mpi_vpc_get_roundview_stitching_param

hi_mpi_vpc_roundview_stitching

hi_vpc_crop_resize_resize_paste

hi_mpi_vpc_set_chn_workspace

hi_mpi_vpc_get_lut_mem_size

hi_mpi_vpc_get_affine_lut

hi_mpi_vpc_get_perspective_lut

hi_mpi_vpc_get_remap_lut

hi_mpi_vpc_lut_remap

hi_mpi_vpc_median_blur

hi_mpi_vpc_erode

hi_mpi_vpc_dilate

hi_mpi_vpc_blur

hi_mpi_vpc_gaussian_blur

hi_mpi_vpc_filter2d

hi_mpi_vpc_rotate

hi_mpi_vpc_draw_mosaic

hi_mpi_vpc_draw_cover

hi_mpi_vpc_draw_line

hi_mpi_vpc_draw_osd

hi_mpi_vpc_get_affine_transform

hi_mpi_vpc_get_rotation_matrix

hi_mpi_vpc_warp_affine

hi_mpi_vpc_flip

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

x

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

hi_mpi_vdec_set_jpegd_precision_mode

hi_mpi_vdec_get_jpegd_output_info

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_get_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

hi_mpi_venc_send_jpege_frame

hi_mpi_venc_get_jpege_predicted_size

hi_mpi_venc_set_roi_attr

hi_mpi_venc_get_roi_attr

hi_mpi_venc_set_ref_param

hi_mpi_venc_get_ref_param

hi_mpi_venc_set_h264_vui

hi_mpi_venc_get_h264_vui

hi_mpi_venc_set_h265_vui

hi_mpi_venc_get_h265_vui

hi_mpi_venc_set_cu_pred

hi_mpi_venc_get_cu_pred

hi_mpi_venc_set_intra_refresh

hi_mpi_venc_get_intra_refresh

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

Profiling AscendCL API for Extension (Extension APIs)

aclprofInit

aclprofSetConfig

aclprofStart

aclprofStop

aclprofFinalize

Profiling AscendCL API for Extension (Extension APIs)

aclprofCreateStamp

aclprofSetStampTraceMessage

aclprofMark

aclprofPush

aclprofPop

aclprofRangeStart

aclprofRangeStop

aclprofDestroyStamp

Profiling AscendCL APIs for Subscription (Subscribing 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

acltdtSetBufUserData

acltdtGetBufUserData

acltdtSetBufDataLen

acltdtGetBufDataLen

acltdtCopyBufRef

acltdtAppendBufChain

acltdtGetBufChainNum

acltdtGetBufFromChain