V1.7.0及以上版本
针对Atlas 200/300/500 推理产品、Atlas 200/500 A2推理产品,在V1.6.0基础上,新增了如下接口。
各版本对AscendCL接口的支持情况如下所示,各标识的含义如下:
- √:支持。
- x:不支持。
- 废弃:后续版本待废弃,具体废弃接口说明请参见废弃接口/返回码列表。
一级节点 |
二级节点 |
三级节点 |
Atlas 200/500 A2推理产品 |
---|---|---|---|
算子加载与执行 |
aclopStartDumpArgs |
x |
|
aclopStopDumpArgs |
x |
||
同步等待 |
aclrtSubscribeHostFunc |
x |
|
aclrtProcessHostFunc |
x |
||
aclrtUnSubscribeHostFunc |
x |
||
单算子API执行 |
DVPP类算子接口 |
acldvppNormalize |
x |
acldvppDecodeJpeg |
x |
||
acldvppResize |
x |
||
acldvppImgToTensor |
x |
||
acldvppAdjustBrightness |
x |
||
acldvppAdjustHue |
x |
||
acldvppAdjustSaturation |
x |
||
acldvppAdjustContrast |
x |
||
融合类算子接口 |
aclnnPromptFlashAttention |
x |
|
aclnnIncreFlashAttention |
x |
||
aclnnFlashAttentionScore |
x |
||
aclnnFlashAttentionScoreGrad |
x |
||
aclnnMoeFFN |
x |
||
媒体数据处理V2 |
VPC图像处理功能 |
hi_mpi_vpc_set_chn_opt_attr |
x |
Stream管理 |
aclrtStreamQuery |
√ |
|
内存管理 |
aclrtReserveMemAddress |
√ |
|
aclrtReleaseMemAddress |
√ |
||
aclrtMallocPhysical |
√ |
||
aclrtFreePhysical |
√ |
||
aclrtMapMem |
√ |
||
aclrtUnmapMem |
√ |
||
Device管理 |
aclrtQueryDeviceStatus |
√ |
父主题: 接口列表