CANN PTO手动资源绑定操作
2026/5/9 16:55:49 网站建设 项目流程

手动/资源绑定

【免费下载链接】pto-isaParallel Tile Operation (PTO) is a virtual instruction set architecture designed by Ascend CANN, focusing on tile-level operations. This repository offers high-performance, cross-platform tile operations across Ascend platforms.项目地址: https://gitcode.com/cann/pto-isa

本文档描述手动资源绑定和配置操作。

操作总数:4


操作

TASSIGN

该指令的详细介绍请见isa/TASSIGN

AS Level 1 (SSA):

pto.tassign %tile, %addr : !pto.tile<...>, dtype

AS Level 2 (DPS):

pto.tassign ins(%tile, %addr : !pto.tile_buf<...>, dtype)

SETFMATRIX

该指令的详细介绍请见isa/SETFMATRIX

AS Level 1 (SSA):

pto.SETFMATRIX %cfg : !pto.fmatrix_config -> ()

AS Level 2 (DPS):

pto.SETFMATRIX ins(%cfg : !pto.fmatrix_config) outs()

SET_IMG2COL_RPT

该指令的详细介绍请见isa/SET_IMG2COL_RPT

AS Level 1 (SSA):

pto.SET_IMG2COL_RPT %cfg : !pto.fmatrix_config -> ()

AS Level 2 (DPS):

pto.SET_IMG2COL_RPT ins(%cfg : !pto.fmatrix_config) outs()

SET_IMG2COL_PADDING

该指令的详细介绍请见isa/SET_IMG2COL_PADDING

AS Level 1 (SSA):

pto.SET_IMG2COL_PADDING %cfg : !pto.fmatrix_config -> ()

AS Level 2 (DPS):

pto.SET_IMG2COL_PADDING ins(%cfg : !pto.fmatrix_config) outs()

【免费下载链接】pto-isaParallel Tile Operation (PTO) is a virtual instruction set architecture designed by Ascend CANN, focusing on tile-level operations. This repository offers high-performance, cross-platform tile operations across Ascend platforms.项目地址: https://gitcode.com/cann/pto-isa

创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询