接口列表(Atlas 200/300/500 推理产品&Atlas 训练系列产品&Atlas 推理系列产品&Atlas 200I/500 A2推理产品)
- Atlas 200/300/500 推理产品
- Atlas 训练系列产品
- Atlas 推理系列产品
- Atlas 200I/500 A2推理产品
- √:支持。
- x:不支持。
- 废弃:后续版本待废弃,具体废弃接口说明请参见废弃接口/返回码列表。
目录 |
接口 |
Atlas 200/300/500 推理产品 |
Atlas 训练系列产品 |
Atlas 推理系列产品 |
Atlas 200I/500 A2推理产品 |
---|---|---|---|---|---|
媒体数据处理V2>VDEC视频解码功能/JPEGD图片解码功能 |
hi_mpi_vdec_set_display_mode |
x |
x |
x |
√ |
hi_mpi_vdec_get_display_mode |
x |
x |
x |
√ |
|
媒体数据处理V2>AI音频输入/AO音频输出 |
hi_mpi_ai_set_pub_attr |
x |
x |
x |
√ |
hi_mpi_ai_enable |
x |
x |
x |
√ |
|
hi_mpi_ai_disable |
x |
x |
x |
√ |
|
hi_mpi_ai_set_chn_attr |
x |
x |
x |
√ |
|
hi_mpi_ai_enable_chn |
x |
x |
x |
√ |
|
hi_mpi_ai_disable_chn |
x |
x |
x |
√ |
|
hi_mpi_ai_get_frame |
x |
x |
x |
√ |
|
hi_mpi_ai_release_frame |
x |
x |
x |
√ |
|
hi_mpi_ai_enable_resample |
x |
x |
x |
√ |
|
hi_mpi_ai_disable_resample |
x |
x |
x |
√ |
|
hi_mpi_ao_set_pub_attr |
x |
x |
x |
√ |
|
hi_mpi_ao_enable |
x |
x |
x |
√ |
|
hi_mpi_ao_disable |
x |
x |
x |
√ |
|
hi_mpi_ao_enable_chn |
x |
x |
x |
√ |
|
hi_mpi_ao_disable_chn |
x |
x |
x |
√ |
|
hi_mpi_ao_send_frame |
x |
x |
x |
√ |
|
hi_mpi_ao_get_chn_delay |
x |
x |
x |
√ |
|
hi_mpi_ao_enable_resample |
x |
x |
x |
√ |
|
hi_mpi_ao_disable_resample |
x |
x |
x |
√ |
|
媒体数据处理V2>音量调节 |
HI_ACODEC_SET_DACL_VOLUME |
x |
x |
x |
√ |
HI_ACODEC_SET_DACR_VOLUME |
x |
x |
x |
√ |
|
HI_ACODEC_GET_DACL_VOLUME |
x |
x |
x |
√ |
|
HI_ACODEC_GET_DACR_VOLUME |
x |
x |
x |
√ |
|
HI_ACODEC_SET_ADCL_VOLUME |
x |
x |
x |
√ |
|
HI_ACODEC_SET_ADCR_VOLUME |
x |
x |
x |
√ |
|
HI_ACODEC_GET_ADCL |
x |
x |
x |
√ |
|
HI_ACODEC_GET_ADCR |
x |
x |
x |
√ |
|
媒体数据处理V2>AENC音频编码/ADEC音频解码 |
hi_mpi_aenc_create_chn |
x |
x |
x |
√ |
hi_mpi_aenc_destroy_chn |
x |
x |
x |
√ |
|
hi_mpi_aenc_get_stream |
x |
x |
x |
√ |
|
hi_mpi_aenc_release_stream |
x |
x |
x |
√ |
|
hi_mpi_adec_create_chn |
x |
x |
x |
√ |
|
hi_mpi_adec_destroy_chn |
x |
x |
x |
√ |
|
hi_mpi_adec_send_stream |
x |
x |
x |
√ |
|
媒体数据处理V2>Region区域管理 |
hi_mpi_rgn_create |
x |
x |
x |
√ |
hi_mpi_rgn_destroy |
x |
x |
x |
√ |
|
hi_mpi_rgn_attach_to_chn |
x |
x |
x |
√ |
|
hi_mpi_rgn_detach_from_chn |
x |
x |
x |
√ |
|
hi_mpi_rgn_set_display_attr |
x |
x |
x |
√ |
|
hi_mpi_rgn_get_display_attr |
x |
x |
x |
√ |
|
hi_mpi_rgn_get_canvas_info |
x |
x |
x |
√ |
|
hi_mpi_rgn_update_canvas |
x |
x |
x |
√ |
|
媒体数据处理V2>VO视频输出功能 |
hi_mpi_vo_set_pub_attr |
x |
x |
x |
√ |
hi_mpi_vo_enable |
x |
x |
x |
√ |
|
hi_mpi_vo_disable |
x |
x |
x |
√ |
|
hi_mpi_vo_set_video_layer_attr |
x |
x |
x |
√ |
|
hi_mpi_vo_get_video_layer_attr |
x |
x |
x |
√ |
|
hi_mpi_vo_enable_video_layer |
x |
x |
x |
√ |
|
hi_mpi_vo_disable_video_layer |
x |
x |
x |
√ |
|
hi_mpi_vo_set_chn_attr |
x |
x |
x |
√ |
|
hi_mpi_vo_enable_chn |
x |
x |
x |
√ |
|
hi_mpi_vo_disable_chn |
x |
x |
x |
√ |
|
hi_mpi_vo_set_chn_param |
x |
x |
x |
√ |
|
hi_mpi_vo_set_chn_frame_rate |
x |
x |
x |
√ |
|
hi_mpi_vo_pause_chn |
x |
x |
x |
√ |
|
hi_mpi_vo_resume_chn |
x |
x |
x |
√ |
|
hi_mpi_vo_hide_chn |
x |
x |
x |
√ |
|
hi_mpi_vo_show_chn |
x |
x |
x |
√ |
|
hi_mpi_vo_send_frame |
x |
x |
x |
√ |
|
hi_mpi_vo_create_pool |
x |
x |
x |
√ |
|
hi_mpi_vo_handle_to_phys_addr |
x |
x |
x |
√ |
|
hi_mpi_vo_destroy_pool |
x |
x |
x |
√ |
|
hi_mpi_vo_bind_layer |
x |
x |
x |
√ |
|
hi_mpi_vo_unbind_layer |
x |
x |
x |
√ |
|
媒体数据处理V2>TDE图形绘制功能 |
hi_tde_open |
x |
x |
x |
√ |
hi_tde_close |
x |
x |
x |
√ |
|
hi_tde_begin_job |
x |
x |
x |
√ |
|
hi_tde_end_job |
x |
x |
x |
√ |
|
hi_tde_cancel_job |
x |
x |
x |
√ |
|
hi_tde_wait_for_done |
x |
x |
x |
√ |
|
hi_tde_wait_all_done |
x |
x |
x |
√ |
|
hi_tde_quick_copy |
x |
x |
x |
√ |
|
hi_tde_quick_fill |
x |
x |
x |
√ |
|
hi_tde_pattern_fill |
x |
x |
x |
√ |
|
媒体数据处理V2>HIFB叠加图形层管理功能 |
FBIOGET_VSCREENINFO |
x |
x |
x |
√ |
FBIOPUT_VSCREENINFO |
x |
x |
x |
√ |
|
FBIOGET_FSCREENINFO |
x |
x |
x |
√ |
|
FBIOPAN_DISPLAY |
x |
x |
x |
√ |
|
FBIOGET_CMAP |
x |
x |
x |
√ |
|
FBIOPUT_CMAP |
x |
x |
x |
√ |
|
FBIOGET_SCREEN_ORIGIN_HIFB |
x |
x |
x |
√ |
|
FBIOPUT_SCREEN_ORIGIN_HIFB |
x |
x |
x |
√ |
|
FBIOGET_SHOW_HIFB |
x |
x |
x |
√ |
|
FBIOPUT_SHOW_HIFB |
x |
x |
x |
√ |
|
FBIOGET_ALPHA_HIFB |
x |
x |
x |
√ |
|
FBIOPUT_ALPHA_HIFB |
x |
x |
x |
√ |
|
媒体数据处理V2>HDMI外设 |
hi_mpi_hdmi_init |
x |
x |
x |
√ |
hi_mpi_hdmi_deinit |
x |
x |
x |
√ |
|
hi_mpi_hdmi_open |
x |
x |
x |
√ |
|
hi_mpi_hdmi_close |
x |
x |
x |
√ |
|
hi_mpi_hdmi_set_attr |
x |
x |
x |
√ |
|
hi_mpi_hdmi_get_attr |
x |
x |
x |
√ |
|
hi_mpi_hdmi_start |
x |
x |
x |
√ |
|
hi_mpi_hdmi_stop |
x |
x |
x |
√ |
|
hi_mpi_hdmi_set_infoframe |
x |
x |
x |
√ |
|
媒体数据处理V2>VENC视频编码功能/JPEGE图片编码功能 |
hi_mpi_venc_set_chn_attr |
x |
x |
√ |
√ |
hi_mpi_venc_get_chn_attr |
x |
x |
√ |
√ |
|
媒体数据处理V2>VI视频输入功能 |
hi_mpi_vi_set_pipe_attr |
x |
x |
x |
√ |
hi_mpi_vi_get_pipe_attr |
x |
x |
x |
√ |
|
hi_mpi_vi_set_pipe_vc_number |
x |
x |
x |
√ |
|
hi_mpi_vi_get_pipe_vc_number |
x |
x |
x |
√ |
|
hi_mpi_vi_set_chn_low_delay_attr |
x |
x |
x |
√ |
|
hi_mpi_vi_get_chn_low_delay_attr |
x |
x |
x |
√ |
|
hi_mpi_vi_set_vi_vpss_mode |
x |
x |
x |
√ |
|
hi_mpi_vi_get_vi_vpss_mode |
x |
x |
x |
√ |
|
hi_mpi_vi_set_pipe_pre_be_crop |
x |
x |
x |
√ |
|
hi_mpi_vi_set_pipe_bind_strobe |
x |
x |
x |
√ |
|
单算子执行>单算子模型执行 |
aclrtSetOpExecuteTimeOut |
x |
√ |
√ |
√ |
系统配置 |
aclGetCompileopt |
√ |
√ |
√ |
√ |
aclGetCompileoptSize |
√ |
√ |
√ |
√ |
|
运行时管理>Stream管理 |
aclrtSetStreamFailureMode |
x |
√ |
√ |
√ |
aclrtSetStreamConfigOpt |
x |
x |
x |
x |
|
aclrtCreateStreamV2 |
x |
x |
x |
x |
|
运行时管理>Event管理 |
aclrtSynchronizeEventWithTimeout |
√ |
√ |
√ |
√ |
模型推理>模型执行 |
aclmdlSetExecConfigOpt |
√ |
√ |
√ |
√ |
aclmdlExecuteV2 |
√ |
√ |
√ |
√ |
|
aclmdlExecuteAsyncV2 |
x |
x |
x |
x |
|
运行时管理>内存管理 |
aclrtAllocatorRegister |
x |
√ |
√ |
x |
aclrtAllocatorUnregister |
x |
√ |
√ |
x |
|
aclrtMallocAlign32 |
√ |
√ |
√ |
√ |
|
运行时管理>Context管理 |
aclrtCtxSetSysParamOpt |
√ |
√ |
√ |
√ |
aclrtCtxGetSysParamOpt |
√ |
√ |
√ |
√ |
|
aclrtGetOverflowStatus |
√ |
√ |
√ |
√ |
|
aclrtResetOverflowStatus |
√ |
√ |
√ |
√ |
|
运行时管理>Device管理 |
aclrtGetDeviceUtilizationRate |
√ |
√ |
√ |
√ |
单算子执行>单算子API执行 |
公共接口(AscendCL meta) 说明:
定义算子时依赖的一些AscendCL元接口,通过这些元接口可以构建所需的数据结构,如aclTensor、aclScalar、aclIntArray等。 |
√ |
√ |
√ |
√ |
NN类算子接口(aclnn) 说明:
aclnn提供的核心功能接口,包括张量基础计算(加/减/乘/除等)以及NN相关的如卷积、池化、激活函数等操作。 |
x |
√ |
x |
x |