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

APIs are added for the following products based on V1.5.0:
  • Atlas training products
  • Atlas inference products
  • Atlas 200I/500 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

Media Data Processing V2 > VDEC/JPEGD

hi_mpi_vdec_set_display_mode

☓

☓

√

hi_mpi_vdec_get_display_mode

☓

☓

√

Media Data Processing V2 > AI/AO

hi_mpi_ai_set_pub_attr

☓

☓

√

hi_mpi_ai_enable

☓

☓

√

hi_mpi_ai_disable

☓

☓

√

hi_mpi_ai_set_chn_attr

☓

☓

√

hi_mpi_ai_enable_chn

☓

☓

√

hi_mpi_ai_disable_chn

☓

☓

√

hi_mpi_ai_get_frame

☓

☓

√

hi_mpi_ai_release_frame

☓

☓

√

hi_mpi_ai_enable_resample

☓

☓

√

hi_mpi_ai_disable_resample

☓

☓

√

hi_mpi_ao_set_pub_attr

☓

☓

√

hi_mpi_ao_enable

☓

☓

√

hi_mpi_ao_disable

☓

☓

√

hi_mpi_ao_enable_chn

☓

☓

√

hi_mpi_ao_disable_chn

☓

☓

√

hi_mpi_ao_send_frame

☓

☓

√

hi_mpi_ao_get_chn_delay

☓

☓

√

hi_mpi_ao_enable_resample

☓

☓

√

hi_mpi_ao_disable_resample

☓

☓

√

Media Data Processing V2 > Volume Adjustment

HI_ACODEC_SET_DACL_VOLUME

☓

☓

√

HI_ACODEC_SET_DACR_VOLUME

☓

☓

√

HI_ACODEC_GET_DACL_VOLUME

☓

☓

√

HI_ACODEC_GET_DACR_VOLUME

☓

☓

√

HI_ACODEC_SET_ADCL_VOLUME

☓

☓

√

HI_ACODEC_SET_ADCR_VOLUME

☓

☓

√

HI_ACODEC_GET_ADCL

☓

☓

√

HI_ACODEC_GET_ADCR

☓

☓

√

Media Data Processing V2 > AENC/ADEC

hi_mpi_aenc_create_chn

☓

☓

√

hi_mpi_aenc_destroy_chn

☓

☓

√

hi_mpi_aenc_get_stream

☓

☓

√

hi_mpi_aenc_release_stream

☓

☓

√

hi_mpi_adec_create_chn

☓

☓

√

hi_mpi_adec_destroy_chn

☓

☓

√

hi_mpi_adec_send_stream

☓

☓

√

Media Data Processing V2 > Region Management

hi_mpi_rgn_create

☓

☓

√

hi_mpi_rgn_destroy

☓

☓

√

hi_mpi_rgn_attach_to_chn

☓

☓

√

hi_mpi_rgn_detach_from_chn

☓

☓

√

hi_mpi_rgn_set_display_attr

☓

☓

√

hi_mpi_rgn_get_display_attr

☓

☓

√

hi_mpi_rgn_get_canvas_info

☓

☓

√

hi_mpi_rgn_update_canvas

☓

☓

√

Media Data Processing V2 > VO

hi_mpi_vo_set_pub_attr

☓

☓

√

hi_mpi_vo_enable

☓

☓

√

hi_mpi_vo_disable

☓

☓

√

hi_mpi_vo_set_video_layer_attr

☓

☓

√

hi_mpi_vo_get_video_layer_attr

☓

☓

√

hi_mpi_vo_enable_video_layer

☓

☓

√

hi_mpi_vo_disable_video_layer

☓

☓

√

hi_mpi_vo_set_chn_attr

☓

☓

√

hi_mpi_vo_enable_chn

☓

☓

√

hi_mpi_vo_disable_chn

☓

☓

√

hi_mpi_vo_set_chn_param

☓

☓

√

hi_mpi_vo_set_chn_frame_rate

☓

☓

√

hi_mpi_vo_pause_chn

☓

☓

√

hi_mpi_vo_resume_chn

☓

☓

√

hi_mpi_vo_hide_chn

☓

☓

√

hi_mpi_vo_show_chn

☓

☓

√

hi_mpi_vo_send_frame

☓

☓

√

hi_mpi_vo_create_pool

☓

☓

√

hi_mpi_vo_handle_to_phys_addr

☓

☓

√

hi_mpi_vo_destroy_pool

☓

☓

√

hi_mpi_vo_bind_layer

☓

☓

√

hi_mpi_vo_unbind_layer

☓

☓

√

Media Data Processing V2 > TDE Graphics Drawing

hi_tde_open

☓

☓

√

hi_tde_close

☓

☓

√

hi_tde_begin_job

☓

☓

√

hi_tde_end_job

☓

☓

√

hi_tde_cancel_job

☓

☓

√

hi_tde_wait_for_done

☓

☓

√

hi_tde_wait_all_done

☓

☓

√

hi_tde_quick_copy

☓

☓

√

hi_tde_quick_fill

☓

☓

√

hi_tde_pattern_fill

☓

☓

√

Media Data Processing V2 > HiFB for Managing Overlaid Graphics Layers

FBIOGET_VSCREENINFO

☓

☓

√

FBIOPUT_VSCREENINFO

☓

☓

√

FBIOGET_FSCREENINFO

☓

☓

√

FBIOPAN_DISPLAY

☓

☓

√

FBIOGET_CMAP

☓

☓

√

FBIOPUT_CMAP

☓

☓

√

FBIOGET_SCREEN_ORIGIN_HIFB

☓

☓

√

FBIOPUT_SCREEN_ORIGIN_HIFB

☓

☓

√

FBIOGET_SHOW_HIFB

☓

☓

√

FBIOPUT_SHOW_HIFB

☓

☓

√

FBIOGET_ALPHA_HIFB

☓

☓

√

FBIOPUT_ALPHA_HIFB

☓

☓

√

Media Data Processing V2 > HDMI Peripherals

hi_mpi_hdmi_init

☓

☓

√

hi_mpi_hdmi_deinit

☓

☓

√

hi_mpi_hdmi_open

☓

☓

√

hi_mpi_hdmi_close

☓

☓

√

hi_mpi_hdmi_set_attr

☓

☓

√

hi_mpi_hdmi_get_attr

☓

☓

√

hi_mpi_hdmi_start

☓

☓

√

hi_mpi_hdmi_stop

☓

☓

√

hi_mpi_hdmi_set_infoframe

☓

☓

√

Media Data Processing V2 > VENC/JPEGE

hi_mpi_venc_set_chn_attr

☓

☓

√

hi_mpi_venc_get_chn_attr

☓

☓

√

Media Data Processing V2 > VI

hi_mpi_vi_set_pipe_attr

☓

☓

√

hi_mpi_vi_get_pipe_attr

☓

☓

√

hi_mpi_vi_set_pipe_vc_number

☓

☓

√

hi_mpi_vi_get_pipe_vc_number

☓

☓

√

hi_mpi_vi_set_chn_low_delay_attr

☓

☓

√

hi_mpi_vi_get_chn_low_delay_attr

☓

☓

√

hi_mpi_vi_set_vi_vpss_mode

☓

☓

√

hi_mpi_vi_get_vi_vpss_mode

☓

☓

√

hi_mpi_vi_set_pipe_pre_be_crop

☓

☓

√

hi_mpi_vi_set_pipe_bind_strobe

☓

☓

√

Single-Operator Execution > Single-Operator Model Execution

aclrtSetOpExecuteTimeOut

√

√

√

System configuration

aclGetCompileopt

√

√

√

aclGetCompileoptSize

√

√

√

Runtime Management > Stream Management

aclrtSetStreamFailureMode

√

√

√

aclrtSetStreamConfigOpt

☓

☓

☓

aclrtCreateStreamV2

☓

☓

☓

Runtime Management > Event Management

aclrtSynchronizeEventWithTimeout

√

√

√

Model Inference > Model Execution

aclmdlSetExecConfigOpt

√

√

√

aclmdlExecuteV2

√

√

√

aclmdlExecuteAsyncV2

☓

☓

☓

Runtime Management > Memory Management

aclrtAllocatorRegister

√

√

☓

aclrtAllocatorUnregister

√

√

☓

aclrtMallocAlign32

√

√

√

Runtime Management > Context Management

aclrtCtxSetSysParamOpt

√

√

√

aclrtCtxGetSysParamOpt

√

√

√

aclrtGetOverflowStatus

√

√

√

aclrtResetOverflowStatus

√

√

√

Runtime Management > Device Management

aclrtGetDeviceUtilizationRate

√

√

√

Single-Operator Execution > Single-Operator API Execution

Common APIs (AscendCL meta)

NOTE:

These are dependent AscendCL meta APIs for defining operators. These APIs can be used to build the required data structures, such as aclTensor, aclScalar, and aclIntArray.

√

√

√

NN operator APIs (aclnn)

NOTE:

These are core functional APIs provided by aclnn. They can implement basic tensor computing (such as addition, subtraction, multiplication, and division) and NN-related operations (such as convolution, pooling, and activation functions).

√

☓

☓