昇腾社区首页
中文
注册

接口列表(Atlas A3 训练系列产品/Atlas A3 推理系列产品

针对Atlas A3 训练系列产品/Atlas A3 推理系列产品,在V1.13.0版本第一次发布。

Atlas A3 训练系列产品/Atlas A3 推理系列产品对acl接口的支持情况如下所示,各标识的含义如下:
  • √:支持。

目录

接口

Atlas A3 训练系列产品/Atlas A3 推理系列产品

系统配置

aclInit

aclFinalize

aclrtGetVersion

aclSetCompileopt

aclGetCompileopt

aclGetCompileoptSize

aclGetRecentErrMsg

aclAppLog

aclDataTypeSize

aclFloat16ToFloat

aclFloatToFloat16

aclGenGraphAndDumpForOp

aclGetCannAttributeList

aclGetCannAttribute

aclGetDeviceCapability

aclsysGetCANNVersion

运行时管理>运行时配置

aclrtSetSysParamOpt

aclrtGetSysParamOpt

运行时管理>Device管理

aclrtSetDevice

aclrtResetDevice

aclrtResetDeviceForce

aclrtGetDevice

aclrtGetRunMode

aclrtSetTsDevice

aclrtGetDeviceCount

aclrtGetDeviceUtilizationRate

aclrtQueryDeviceStatus

aclrtGetSocName

aclrtSetDeviceSatMode

aclrtGetDeviceSatMode

aclrtDeviceCanAccessPeer

aclrtDeviceEnablePeerAccess

aclrtDeviceDisablePeerAccess

aclrtGetOverflowStatus

aclrtResetOverflowStatus

aclrtSynchronizeDevice

aclrtSynchronizeDeviceWithTimeout

运行时管理>Context管理

aclrtCreateContext

aclrtDestroyContext

aclrtSetCurrentContext

aclrtGetCurrentContext

aclrtCtxSetSysParamOpt

aclrtCtxGetSysParamOpt

运行时管理>Stream管理

aclrtCreateStream

aclrtCreateStreamV2

x

aclrtSetStreamConfigOpt

x

aclrtCreateStreamWithConfig

aclrtDestroyStream

aclrtDestroyStreamForce

aclrtSetStreamOverflowSwitch

aclrtGetStreamOverflowSwitch

aclrtSetStreamFailureMode

aclrtStreamQuery

aclrtSynchronizeStream

aclrtSynchronizeStreamWithTimeout

aclrtSynchronizeDevice

运行时管理>Event管理

aclrtCreateEvent

aclrtCreateEventWithFlag

aclrtCreateEventExWithFlag

aclrtDestroyEvent

aclrtRecordEvent

aclrtResetEvent

aclrtQueryEvent

废弃

aclrtQueryEventStatus

aclrtQueryEventWaitStatus

aclrtSynchronizeEvent

aclrtSynchronizeEventWithTimeout

aclrtEventElapsedTime

aclrtStreamWaitEvent

aclrtSetOpWaitTimeout

aclrtEventGetTimestamp

运行时管理>内存管理

aclrtMalloc

aclrtMallocAlign32

aclrtMallocCached

aclrtMemFlush

aclrtMemInvalidate

aclrtFree

aclrtMallocHost

aclrtFreeHost

aclrtMemset

aclrtMemsetAsync

aclrtMemcpy

aclrtMemcpyAsync

aclrtGetMemInfo

aclrtMemcpy2d

aclrtMemcpy2dAsync

aclrtAllocatorRegister

aclrtAllocatorUnregister

aclrtMallocPhysical

aclrtFreePhysical

aclrtReserveMemAddress

aclrtReleaseMemAddress

aclrtMapMem

aclrtUnmapMem

aclrtMemExportToShareableHandle

aclrtDeviceGetBareTgid

aclrtMemSetPidToShareableHandle

aclrtMemImportFromShareableHandle

aclrtMemGetAllocationGranularity

aclrtCmoAsync

aclrtMallocWithCfg

aclrtMallocForTaskScheduler

aclrtMallocHostWithCfg

aclrtMemcpyAsyncWithDesc

aclrtGetMemcpyDescSize

aclrtSetMemcpyDesc

aclrtPointerGetAttributes

aclrtHostRegister

aclrtHostUnregister

运行时管理>执行控制

aclrtSubscribeReport

aclrtLaunchCallback

aclrtProcessReport

aclrtUnSubscribeReport

aclrtSubscribeHostFunc

x

aclrtProcessHostFunc

x

aclrtUnSubscribeHostFunc

x

aclrtSetOpExecuteTimeOut

aclrtSetOpExecuteTimeOutWithMs

x

aclrtGetThreadLastTaskId

运行时管理>异常处理

aclrtSetExceptionInfoCallback

aclrtGetTaskIdFromExceptionInfo

aclrtGetStreamIdFromExceptionInfo

aclrtGetThreadIdFromExceptionInfo

aclrtGetDeviceIdFromExceptionInfo

aclrtGetErrorCodeFromExceptionInfo

aclrtGetMemUceInfo

x

aclrtDeviceTaskAbort

x

aclrtMemUceRepair

x

aclrtPeekAtLastError

aclrtGetLastError

运行时管理>Kernel加载与执行

aclrtBinaryLoadFromFile

aclrtBinaryGetFunction

aclrtBinaryGetFunctionByEntry

aclrtGetFunctionAddr

aclrtKernelArgsInit

aclrtKernelArgsInitByUserMem

aclrtKernelArgsGetMemSize

aclrtKernelArgsGetHandleMemSize

aclrtKernelArgsAppend

aclrtKernelArgsAppendPlaceHolder

aclrtKernelArgsGetPlaceHolderBuffer

aclrtKernelArgsParaUpdate

aclrtKernelArgsFinalize

aclrtLaunchKernelWithConfig

aclrtBinaryUnLoad

aclrtCreateBinary

aclrtDestroyBinary

aclrtBinaryLoad

aclrtLaunchKernel

运行时管理>算力Group查询与设置

aclrtSetGroup

x

aclrtGetGroupCount

x

aclrtGetAllGroupInfo

x

aclrtGetGroupInfoDetail

x

aclrtCreateGroupInfo

x

aclrtDestroyGroupInfo

x

单算子执行>单算子API执行

参见《AOL算子加速库接口参考》

参见《AOL算子加速库接口参考》

单算子执行>单算子模型执行

aclopSetModelDir

aclopLoad

aclopSetCompileFlag

废弃

aclopCompile

aclopExecute

废弃

aclopExecuteV2

aclopCompileAndExecute

aclopCompileAndExecuteV2

aclopExecWithHandle

aclopInferShape

aclopStartDumpArgs

aclopStopDumpArgs

aclopRegisterCompileFunc

aclopUnregisterCompileFunc

aclopCreateKernel

aclopSetKernelArgs

aclopSetKernelWorkspaceSizes

aclopUpdateParams

aclopSetMaxOpQueueNum

单算子执行>CBLAS接口

aclblasGemvEx

aclblasCreateHandleForGemvEx

aclblasHgemv

aclblasCreateHandleForHgemv

aclblasS8gemv

aclblasCreateHandleForS8gemv

aclblasGemmEx

aclblasCreateHandleForGemmEx

aclblasHgemm

aclblasCreateHandleForHgemm

aclblasS8gemm

aclblasCreateHandleForS8gemm

aclopCast

aclopCreateHandleForCast

模型推理>模型加载

aclmdlLoadFromFile

aclmdlLoadFromMem

aclmdlLoadFromFileWithMem

aclmdlLoadFromMemWithMem

aclmdlLoadFromFileWithQ

aclmdlLoadFromMemWithQ

aclmdlSetConfigOpt

aclmdlLoadWithConfig

aclmdlUnload

aclmdlBundleLoadFromFile

aclmdlBundleLoadFromMem

aclmdlBundleGetModelId

aclmdlBundleGetModelNum

aclmdlBundleUnload

模型推理>模型执行

aclmdlExecute

aclmdlExecuteAsync

aclmdlSetExecConfigOpt

aclmdlExecuteV2

aclmdlExecuteAsyncV2

x

aclmdlQuerySize

aclmdlQuerySizeFromMem

aclmdlSetDynamicBatchSize

aclmdlSetDynamicHWSize

aclmdlSetInputAIPP

x

aclmdlGetFirstAippInfo

x

aclmdlGetAippType

x

aclmdlSetAIPPByInputIndex

x

aclmdlSetInputDynamicDims

aclmdlCreateAndGetOpDesc

aclmdlInitDump

aclmdlSetDump

acldumpRegCallback

acldumpUnregCallback

aclmdlFinalizeDump

aclmdlBeginCapture

aclmdlGetCaptureInfo

aclmdlThreadExchangeCaptureMode

aclmdlEndCapture

aclmdlDebugPrint

aclmdlRIExecuteAsync

aclmdlRIDestroy

aclmdlRICaptureTaskGrpBegin

aclmdlRICaptureTaskGrpEnd

aclmdlRICaptureTaskUpdateBegin

aclmdlRICaptureTaskUpdateEnd

媒体数据处理V1>内存申请与释放

acldvppMalloc

acldvppMallocWithCfg

acldvppFree

媒体数据处理V1>通道创建与释放

acldvppCreateChannel

acldvppDestroyChannel

aclvdecCreateChannel

aclvdecDestroyChannel

aclvencCreateChannel

x

aclvencDestroyChannel

x

媒体数据处理V1>VPC功能

acldvppVpcResizeAsync

acldvppVpcCropAsync

acldvppVpcCropResizeAsync

acldvppVpcBatchCropAsync

acldvppVpcBatchCropResizeAsync

acldvppVpcCropAndPasteAsync

acldvppVpcCropResizePasteAsync

acldvppVpcBatchCropAndPasteAsync

acldvppVpcBatchCropResizePasteAsync

acldvppVpcBatchCropResizeMakeBorderAsync

acldvppVpcConvertColorAsync

acldvppVpcPyrDownAsync

x

acldvppVpcEqualizeHistAsync

acldvppVpcMakeBorderAsync

acldvppVpcCalcHistAsync

媒体数据处理V1>JPEGD功能

acldvppJpegDecodeAsync

acldvppJpegGetImageInfo

acldvppJpegGetImageInfoV2

acldvppJpegPredictDecSize

媒体数据处理V1>JPEGE功能

acldvppJpegEncodeAsync

acldvppJpegPredictEncSize

媒体数据处理V1>PNGD功能

acldvppPngDecodeAsync

acldvppPngGetImageInfo

acldvppPngPredictDecSize

媒体数据处理V1>VDEC功能

aclvdecSendFrame

aclvdecSendSkippedFrame

aclvdecCallback

媒体数据处理V1>VENC功能

aclvencSendFrame

x

aclvencCallback

x

媒体数据处理V2>公共接口

hi_mpi_sys_init

hi_mpi_sys_full_init

x

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

x

hi_mpi_sys_unbind

x

hi_mpi_vb_create_pool

x

hi_mpi_vb_destroy_pool

x

hi_mpi_vb_get_block

x

hi_mpi_vb_release_block

x

hi_mpi_vb_handle_to_addr

x

hi_mpi_vb_block_copyref

x

媒体数据处理V2>AI音频输入/AO音频输出

该章节下的所有接口

x

媒体数据处理V2>AENC音频编码/ADEC音频解码

该章节下的所有接口

x

媒体数据处理V2>音量调节

该章节下的命令字

x

媒体数据处理V2>ISP系统控制及3A算法注册

该章节下的所有接口

x

媒体数据处理V2>MIPI Rx ioctl命令字

该章节下的命令字

x

媒体数据处理V2>VI视频输入功能

该章节下的所有接口

x

媒体数据处理V2>Region区域管理

该章节下的所有接口

x

媒体数据处理V2>VPSS视频处理功能

该章节下的所有接口

x

媒体数据处理V2>VO视频输出功能

该章节下的所有接口

x

媒体数据处理V2>TDE图形绘制功能

该章节下的所有接口

x

媒体数据处理V2>HIFB叠加图形层管理功能

该章节下的所有接口

x

媒体数据处理V2>HDMI外设

该章节下的所有接口

x

媒体数据处理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

x

hi_mpi_vpc_get_roundview_stitching_param

x

hi_mpi_vpc_roundview_stitching

x

hi_vpc_crop_resize_resize_paste

x

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

hi_mpi_vpc_set_chn_opt_attr

x

媒体数据处理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

x

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

hi_mpi_vdec_set_display_mode

hi_mpi_vdec_get_display_mode

媒体数据处理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

x

hi_mpi_venc_set_jpeg_param

hi_mpi_venc_get_jpeg_param

hi_mpi_venc_set_chn_param

hi_mpi_venc_set_scene_mode

x

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

x

hi_mpi_venc_get_roi_attr

x

hi_mpi_venc_set_ref_param

x

hi_mpi_venc_get_ref_param

x

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

x

hi_mpi_venc_get_cu_pred

x

hi_mpi_venc_set_intra_refresh

x

hi_mpi_venc_get_intra_refresh

x

hi_mpi_venc_set_chn_attr

x

hi_mpi_venc_get_chn_attr

x

hi_mpi_venc_set_slice_split

x

hi_mpi_venc_get_slice_split

x

hi_mpi_venc_send_frame_ex

x

hi_mpi_venc_get_qpmap_stride

x

hi_mpi_venc_get_qpmap_size

x

hi_mpi_venc_set_streamcopy_param

x

hi_mpi_venc_get_streamcopy_param

x

媒体数据处理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(Profiling AscendCL API扩展接口)

aclprofInit

aclprofSetConfig

aclprofStart

aclprofStop

aclprofFinalize

Profiling AscendCL API for Extension(Profiling AscendCL API扩展接口)

aclprofCreateStamp

aclprofSetStampTraceMessage

aclprofMark

aclprofMarkEx

aclprofPush

aclprofPop

aclprofRangeStart

aclprofRangeStop

aclprofDestroyStamp

Profiling AscendCL API for Subscription(订阅算子信息的Profiling AscendCL API)

aclprofModelSubscribe

aclprofModelUnSubscribe

aclprofGetOpDescSize

aclprofGetOpNum

aclprofGetOpTypeLen

aclprofGetOpType

aclprofGetOpNameLen

aclprofGetOpName

aclprofGetOpStart

aclprofGetOpEnd

aclprofGetOpDuration

aclprofGetModelId

Profiling AscendCL API(PyTorch场景标记迭代时间)

aclprofGetStepTimestamp

数据传输>Tensor数据传输

acltdtCreateChannel

x

acltdtCreateChannelWithCapacity

acltdtSendTensor

acltdtReceiveTensor

acltdtStopChannel

acltdtDestroyChannel

acltdtQueryChannelSize

acltdtGetSliceInfoFromItem

acltdtCleanChannel

数据传输>共享队列管理

acltdtCreateQueue

acltdtDestroyQueue

acltdtEnqueueData

acltdtDequeueData

acltdtEnqueue

x

acltdtDequeue

x

acltdtBindQueueRoutes

acltdtUnbindQueueRoutes

acltdtQueryQueueRoutes

acltdtGrantQueue

x

acltdtAttachQueue

x

数据传输>共享Buffer管理

acltdtAllocBuf

acltdtFreeBuf

acltdtGetBufData

acltdtSetBufUserData

x

acltdtGetBufUserData

x

acltdtSetBufDataLen

x

acltdtGetBufDataLen

x

acltdtCopyBufRef

x

acltdtAppendBufChain

x

acltdtGetBufChainNum

x

acltdtGetBufFromChain

x

特征向量检索

该章节下的所有接口

x